* lib/rubygems/basic_specification.rb: Update to RubyGems master

9c718fe.  Removes code duplication.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2013-12-14 20:28:45 +00:00
parent eb54578a27
commit e6147745d5
2 changed files with 6 additions and 1 deletions

View file

@ -86,7 +86,7 @@ class Gem::BasicSpecification
def find_full_gem_path # :nodoc:
# TODO: also, shouldn't it default to full_name if it hasn't been written?
path = File.expand_path File.join(gems_dir, full_name)
path = gem_dir
path.untaint
path if File.directory? path
end