diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 13:17:54 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 13:17:54 +0000 |
commit | 31cc5b1505c38d3d5761f179e84f04a8966ccd3b (patch) | |
tree | 41e9343b106f383cb4340129fa14c208d3bd61d1 /tool | |
parent | 1493972e8234cd5d57881d2353d153aa7cd67e72 (diff) |
Rename spec/rspec to .bundle.
It used without rspec installation for test-* task.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/runruby.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/runruby.rb b/tool/runruby.rb index cdbc1c0765..d91f6e3bf8 100755 --- a/tool/runruby.rb +++ b/tool/runruby.rb @@ -78,7 +78,7 @@ runner = File.join(abs_archdir, "exe/ruby#{config['EXEEXT']}") 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("spec/rspec", srcdir) +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["PATH"] = [File.dirname(abs_ruby), abs_archdir, ENV["PATH"]].compact.join(File::PATH_SEPARATOR) |