aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_installer.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-22 07:28:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-22 07:28:35 +0000
commit018e1e4f5ef9ce7242d971d42d923d8edb87225b (patch)
tree9050ba595a75200c60f9bd3fe6d2f6ff49bad79c /test/rubygems/test_gem_installer.rb
parent9e83ce20b1121068d9a708b41c623f4493c2eb53 (diff)
downloadruby-018e1e4f5ef9ce7242d971d42d923d8edb87225b.tar.gz
* lib/rubygems/installer.rb (Gem::Installer#initialize): fixed
typos. * test/rubygems/test_gem.rb (test_self_dir): removed false assertions. * test/rubygems/test_gem.rb (test_self_set_paths): checks if paths are included. * test/rubygems/test_gem_commands_install_command.rb (test_execute_remote): checks diagnostic message too. * test/rubygems/test_gem_installer.rb (load): uses Gem.ruby. * test/rubygems/gemutilities.rb (Gem.ruby): initializes from the environment variable to run without installation. * test/rubygems/gemutilities.rb (RubyGemTestCase#util_build_gem): creates cache directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_installer.rb')
-rw-r--r--test/rubygems/test_gem_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb
index 3df9dbc28c..0d677d6d71 100644
--- a/test/rubygems/test_gem_installer.rb
+++ b/test/rubygems/test_gem_installer.rb
@@ -508,7 +508,7 @@ load 'my_exec'
@installer.generate_bin
- default_shebang = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name'])
+ default_shebang = Gem.ruby
shebang_line = open("#{@gemhome}/bin/my_exec") { |f| f.readlines.first }
assert_match(/\A#!/, shebang_line)
assert_match(/#{default_shebang}/, shebang_line)