1
0
Fork 0
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:
David Rodríguez 2019-10-29 16:57:16 +01:00 committed by Hiroshi SHIBATA
parent 1663dd5f73
commit 553ee573d4
Notes: git 2021-08-31 19:07:14 +09:00

View file

@ -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