remove RUBYOPT from ENV #84

wants to merge 2 commits into


None yet
1 participant

hollow commented Sep 22, 2011

for details see this issue: carlhuda/bundler#478

hollow added some commits Sep 22, 2011

remove RUBYOPT from ENV
In case of delayed job workers being started with bundle exec the ENV is
polluted with RUBYOPT to automatically load the bundle in any subshell.

This breaks any call to ruby (even calls to `bundle install`) after
with_clean_env has setup the new BUNDLE_GEMFILE with exceptions like:

.../gems/bundler-1.0.17/lib/bundler/source.rb:565:in `rescue in load_spec_files':
git:// (at master) is not checked out.
Please run `bundle install` (Bundler::GitError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment