mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rubygems: Update to RubyGems master 612f85a. Notable changes:
Fixed installation and activation of git: and path: gems via Gem.use_gemdeps Improved documentation coverage * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c107372597
commit
04817ae6d3
38 changed files with 587 additions and 88 deletions
|
@ -91,8 +91,8 @@ class Gem::Source::Git < Gem::Source
|
|||
success = system @git, 'reset', '--quiet', '--hard', @reference
|
||||
|
||||
success &&=
|
||||
system @git, 'submodule', 'update',
|
||||
'--quiet', '--init', '--recursive', out: IO::NULL if @need_submodules
|
||||
Gem::Util.silent_system @git, 'submodule', 'update',
|
||||
'--quiet', '--init', '--recursive' if @need_submodules
|
||||
|
||||
success
|
||||
end
|
||||
|
@ -161,7 +161,9 @@ class Gem::Source::Git < Gem::Source
|
|||
file = File.basename spec_file
|
||||
|
||||
Dir.chdir directory do
|
||||
Gem::Specification.load file
|
||||
spec = Gem::Specification.load file
|
||||
spec.full_gem_path = File.expand_path '.' if spec
|
||||
spec
|
||||
end
|
||||
end.compact
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue