mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Don't use gemdeps on bundler binstub
https://github.com/rubygems/rubygems/commit/320fdc1513
This commit is contained in:
parent
1663dd5f73
commit
553ee573d4
Notes:
git
2021-08-31 19:07:14 +09:00
1 changed files with 10 additions and 3 deletions
|
@ -761,9 +761,7 @@ class Gem::Installer
|
|||
#
|
||||
|
||||
require 'rubygems'
|
||||
|
||||
Gem.use_gemdeps
|
||||
|
||||
#{gemdeps_load(spec.name)}
|
||||
version = "#{Gem::Requirement.default_prerelease}"
|
||||
|
||||
str = ARGV.first
|
||||
|
@ -784,6 +782,15 @@ end
|
|||
TEXT
|
||||
end
|
||||
|
||||
def gemdeps_load(name)
|
||||
return '' if name == "bundler"
|
||||
|
||||
<<-TEXT
|
||||
|
||||
Gem.use_gemdeps
|
||||
TEXT
|
||||
end
|
||||
|
||||
##
|
||||
# return the stub script text used to launch the true Ruby script
|
||||
|
||||
|
|
Loading…
Reference in a new issue