I'm installing a Ruby CI server which is pulling my Rails git repos from Github and installing the gems with Bundler. The CI server has a Gemfile of itself (as it's also a Rails application). So far so good.
Now, I first run a bundle install after a new git pull, this works fine:
bundle install --gemfile=[..]/build_13/Gemfile --deployment
Next I list the installed gems and run rake (to run the test suite):
bundle list
bundle exec rake
That's where it's going worng. These last 2 commands load the Gemfile of the CI server which is different from the one installed a few seconds ago. This Gemfile is in a parent directory of the one I want to run so I suppose it first finds the "parent" Gemfile and forgets to look for the correct one.
Any idea how I can tell bundler to use the correct gems?
./.bundle/config? - Andrew Marshall./.bundle/configfile, does this help? --- BUNDLE_FROZEN: "1" BUNDLE_DISABLE_SHARED_GEMS: "1" BUNDLE_PATH: [..]/bundle - Cimm