Created
June 5, 2012 18:53
-
-
Save scottmuc/2876931 to your computer and use it in GitHub Desktop.
Why is -rbundle/setup here?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rakefile is: | |
task :test do | |
sh "env > test.env" | |
end | |
my local env doesn't have RUBYOPT set, but when I run `rake test` I see the following: | |
RUBYOPT=-I/Users/ThoughtWorks/.rvm/gems/ruby-1.9.2-p320@global/gems/bundler-1.1.4/lib -rbundler/setup | |
I don't want -rbundler/setup |
Awesome! That totally solved our issue. Our precommit Rakefile is full of 'sh "bundle exec ..."' and this behaviour was causing us issues. Good to know that this all makes sense now. Was really confused there for a bit :-). Thank you for your extremely quick response!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes it is, it is meant to automatically use
bundle exec
for you, in case you do not want it to load bundler just useNOEXEC=0