Skip to content

Instantly share code, notes, and snippets.

@mscottford
Last active December 12, 2015 01:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mscottford/4689165 to your computer and use it in GitHub Desktop.
Save mscottford/4689165 to your computer and use it in GitHub Desktop.
$ bundle -v
Bundler version 1.2.3
$ ls
Gemfile-special
$ cat Gemfile-special
source :rubygems
gem 'rake'
$ bundle install --gemfile=Gemfile-special --binstubs
Fetching gem metadata from http://rubygems.org/..
Using rake (10.0.3)
Using bundler (1.2.3)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
$ BUNDLE_GEMFILE=Gemfile-special bundle install --binstubs
Using rake (10.0.3)
ArgumentError: different prefix: "" and "/Users/mscottford/src/bundler/testcases/i1131/bin"
An error occurred while installing rake (10.0.3), and Bundler cannot continue.
Make sure that `gem install rake -v '10.0.3'` succeeds before bundling.
$ BUNDLE_GEMFILE=/Users/mscottford/src/bundler/testcases/i1131/Gemfile-special bundle install --binstubs
Using rake (10.0.3)
Using bundler (1.2.3)
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