For issue #1643 I am running bundler from the root of my project. There are several subdirectories with their own Gemfiles. For each subdirectory, I run:
bundle install --gemfile=path/to/Gemfile --standalone
This installs the gems into path/to/vendor/bundle/ruby.
However the setup.rb file is created at vendor/bundle/bundler/setup.rb, in the project root. I would like this file to be located at path/to/vendor/bundle/bundler/setup.rb. This patch provides the desired behavior. Thanks!
For issue #1643 place the standalone setup.rb relative to the gems.
This pull request fails (merged 18097dc into 42d2c3e).
Hi TravisBot! Um?
So Bundler.settings[:path] is actually the install directory, and not the working directory. If you're not seeing that, please open a new issue with a repro case, and I'll see about getting it fixed. Thanks!