diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-22 07:28:35 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-22 07:28:35 +0000 |
| commit | 83f3018316aeb9a7e7664ff6968bb4d4d7e2f18b (patch) | |
| tree | 9050ba595a75200c60f9bd3fe6d2f6ff49bad79c /lib | |
| parent | 6e4d210f409f8922a1064998bb7e8e28c9b7607d (diff) | |
| download | ruby-83f3018316aeb9a7e7664ff6968bb4d4d7e2f18b.tar.gz ruby-83f3018316aeb9a7e7664ff6968bb4d4d7e2f18b.tar.xz ruby-83f3018316aeb9a7e7664ff6968bb4d4d7e2f18b.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@21736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/rubygems/installer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb index 259c3ed31..bb08549c2 100644 --- a/lib/rubygems/installer.rb +++ b/lib/rubygems/installer.rb @@ -118,8 +118,8 @@ class Gem::Installer begin FileUtils.mkdir_p @gem_home - rescue Errno::EACCESS, Errno::ENOTDIR - # We'll divert to ~/.gems below + rescue Errno::EACCES, Errno::ENOTDIR + # We'll divert to ~/.gem below end if not File.writable? @gem_home or |
