Skip to content

Commit 29f7d2f

Browse files
committed
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.
1 parent 59275e0 commit 29f7d2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def run_command(command, opts={})
2525
puts "-"*40
2626
begin
2727
Bundler.with_clean_env do
28+
ENV['NOEXEC'] = "0" # prevent rubygems-bundler from interfering
2829
sh command
2930
end
3031
rescue Exception => e

0 commit comments

Comments
 (0)