Last active
January 31, 2016 04:12
-
-
Save duckinator/664133265f1d6f1f6f17 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *.gem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source 'https://rubygems.org' | |
| # Specify your gem's dependencies in rubygems-issue-1451-testcase.gemspec | |
| gemspec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # coding: utf-8 | |
| Gem::Specification.new do |spec| | |
| spec.name = "rubygems-issue-1451-testcase" | |
| spec.version = '1.0' | |
| spec.authors = ["A Person"] | |
| spec.summary = 'A Summary' | |
| spec.add_development_dependency 'bundler', '~> 1.10' | |
| spec.add_development_dependency 'rake', '~> 10.0' | |
| spec.add_development_dependency 'rspec' | |
| spec.add_dependency 'activesupport' | |
| spec.add_dependency 'aws-sdk-v1' | |
| spec.bindir = '.' | |
| spec.executables = 'test_json' | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ruby --version && | |
| gem --version && | |
| gem install json -v 1.8.2 && | |
| gem build *.gemspec 2>/dev/null && | |
| gem install *.gem && | |
| test_json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'json' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment