aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/helper.rb')
-rw-r--r--test/rubygems/helper.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb
index 36175ff415..b4f39c1d79 100644
--- a/test/rubygems/helper.rb
+++ b/test/rubygems/helper.rb
@@ -334,7 +334,7 @@ class Gem::TestCase < Test::Unit::TestCase
ruby
end
- @git = ENV["GIT"] || "git#{RbConfig::CONFIG['EXEEXT']}"
+ @git = ENV["GIT"] || "git#{RbConfig::CONFIG["EXEEXT"]}"
Gem.ensure_gem_subdirectories @gemhome
Gem.ensure_default_gem_subdirectories @gemhome
@@ -1256,7 +1256,7 @@ Also, a list:
ruby = ENV["RUBY"]
return ruby if ruby
ruby = "ruby"
- rubyexe = "#{ruby}#{RbConfig::CONFIG['EXEEXT']}"
+ rubyexe = "#{ruby}#{RbConfig::CONFIG["EXEEXT"]}"
3.times do
if File.exist?(ruby) && File.executable?(ruby) && !File.directory?(ruby)
@@ -1331,8 +1331,8 @@ Also, a list:
end
end
- @@good_rake = "#{rubybin} #{escape_path(__dir__, 'good_rake.rb')}"
- @@bad_rake = "#{rubybin} #{escape_path(__dir__, 'bad_rake.rb')}"
+ @@good_rake = "#{rubybin} #{escape_path(__dir__, "good_rake.rb")}"
+ @@bad_rake = "#{rubybin} #{escape_path(__dir__, "bad_rake.rb")}"
##
# Construct a new Gem::Dependency.