diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-28 09:21:42 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-28 09:21:42 +0000 |
| commit | 31b0154804d1900ace25bab61fafe9670f50a944 (patch) | |
| tree | 7bbc1ea979e2eaffbf1dba64cfd8ad3bc3ec788e /lib | |
| parent | 4c39c53e200a2d66fc0268333d4d2f1687b64618 (diff) | |
merges a part of r21736 from trunk into ruby_1_9_1.
* lib/rubygems/installer.rb (Gem::Installer#initialize): fixed
typos.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21824 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 |
