Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:8431402
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
Smits-MacBook-Pro:11 Who$ bash script
+ mkdir -p /tmp/repro-2122
+ cd /tmp/repro-2122
+ bundle gem json1
create json1/Gemfile
create json1/Rakefile
create json1/LICENSE.txt
create json1/README.md
create json1/.gitignore
create json1/json1.gemspec
create json1/lib/json1.rb
create json1/lib/json1/version.rb
Initializing git repo in /private/tmp/repro-2122/json1
+ cd json1
+ cat
+ gem build json1.gemspec
WARNING: licenses is empty, but is recommended. Use a license abbreviation from:
http://opensource.org/licenses/alphabetical
WARNING: no homepage specified
WARNING: open-ended dependency on json (>= 1.7.3) is not recommended
if json is semantically versioned, use:
add_runtime_dependency 'json', '~> 1.7', '>= 1.7.3'
WARNING: See http://guides.rubygems.org/specification-reference/ for help
Successfully built RubyGem
Name: json1
Version: 0.0.1
File: json1-0.0.1.gem
+ cd ..
+ bundle gem json2
create json2/Gemfile
create json2/Rakefile
create json2/LICENSE.txt
create json2/README.md
create json2/.gitignore
create json2/json2.gemspec
create json2/lib/json2.rb
create json2/lib/json2/version.rb
Initializing git repo in /private/tmp/repro-2122/json2
+ cd json2
+ cat
+ gem build json2.gemspec
WARNING: licenses is empty, but is recommended. Use a license abbreviation from:
http://opensource.org/licenses/alphabetical
WARNING: no homepage specified
WARNING: See http://guides.rubygems.org/specification-reference/ for help
Successfully built RubyGem
Name: json2
Version: 0.0.1
File: json2-0.0.1.gem
+ cd ..
+ mkdir test-project
+ cd test-project
+ gem unpack ../json1/json1-0.0.1.gem
Unpacked gem: '/private/tmp/repro-2122/test-project/json1-0.0.1'
+ gem unpack ../json2/json2-0.0.1.gem
Unpacked gem: '/private/tmp/repro-2122/test-project/json2-0.0.1'
+ cat
+ bundle install
The source :rubygems is deprecated because HTTP requests are insecure.
Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
Fetching gem metadata from http://rubygems.org/..
Resolving dependencies...
Installing json 1.7.4
Using json1 0.0.1 from source at json1-0.0.1/
Using json2 0.0.1 from source at json2-0.0.1/
Using bundler 1.6.0.pre.1
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.