diff options
Diffstat (limited to 'tool/runruby.rb')
-rwxr-xr-x | tool/runruby.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tool/runruby.rb b/tool/runruby.rb index d9fc1ac09d..4715ff4d5c 100755 --- a/tool/runruby.rb +++ b/tool/runruby.rb @@ -111,8 +111,7 @@ runner = nil unless File.exist?(runner) abs_ruby = runner || File.expand_path(ruby) env["RUBY"] = abs_ruby env["GEM_PATH"] = env["GEM_HOME"] = File.expand_path(".bundle", srcdir) -env["BUNDLE_RUBY"] = abs_ruby -env["BUNDLE_GEM"] = "#{abs_ruby} -rrubygems #{srcdir}/bin/gem --backtrace" +env["GEM_COMMAND"] = "#{abs_ruby} -rrubygems #{srcdir}/bin/gem --backtrace" env["PATH"] = [File.dirname(abs_ruby), abs_archdir, ENV["PATH"]].compact.join(File::PATH_SEPARATOR) if e = ENV["RUBYLIB"] |