diff options
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 259c3ed31e..bb08549c21 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 |