Skip to content

Commit

Permalink
Prevent issues with the rubygems-bundler gem
Browse files Browse the repository at this point in the history
* If `rubygems-bundler` is installed, we couldn't run `thor version:use`
  because `rubygems-bundler` would basically attempt to run `bundle exec
  thor`, but bundler hadn't yet been bootstrapped.
  • Loading branch information
alindeman committed Oct 9, 2012
1 parent 59275e0 commit 29f7d2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def run_command(command, opts={})
puts "-"*40
begin
Bundler.with_clean_env do
ENV['NOEXEC'] = "0" # prevent rubygems-bundler from interfering
sh command
end
rescue Exception => e
Expand Down

0 comments on commit 29f7d2f

Please sign in to comment.