Permalink
Browse files

Prevent issues with the `rubygems-bundler` gem

* 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...
1 parent 59275e0 commit 29f7d2f8c03ef822462926005b58326e6a88f663 @alindeman alindeman committed Oct 9, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Rakefile
View
@@ -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

0 comments on commit 29f7d2f

Please sign in to comment.