diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-31 22:27:35 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-31 22:27:35 +0000 |
commit | af0221e728742adb34aa5e2abfcefa899ccd1867 (patch) | |
tree | f857a455a6627484a5e790eedee57cf8fcbdd22e /lib/rubygems.rb | |
parent | ff5a076e7e1dbe8f255cb23a03be006fded7d277 (diff) | |
download | ruby-af0221e728742adb34aa5e2abfcefa899ccd1867.tar.gz |
Don't require rubygems/defaults from gem_prelude.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems.rb')
-rw-r--r-- | lib/rubygems.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb index e85d97c003..9913b59ce1 100644 --- a/lib/rubygems.rb +++ b/lib/rubygems.rb @@ -718,6 +718,7 @@ module Gem @gem_path.uniq! @gem_path.each do |path| if 0 == File.expand_path(path).index(Gem.user_home) + next unless File.directory? Gem.user_home unless win_platform? then # only create by matching user next if Etc.getpwuid.uid != File::Stat.new(Gem.user_home).uid |