mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[bundler/bundler] Remove more dead code
https://github.com/bundler/bundler/commit/17d4d0de8e
This commit is contained in:
parent
2e6509498c
commit
63d78afc2d
1 changed files with 1 additions and 5 deletions
|
@ -200,11 +200,7 @@ module Spec
|
|||
ENV["RUBYOPT"] = old
|
||||
end
|
||||
|
||||
def gem_command(command, args = "", options = {})
|
||||
if command == :exec
|
||||
args = args.gsub(/(?=")/, "\\")
|
||||
args = %("#{args}")
|
||||
end
|
||||
def gem_command(command, args = "")
|
||||
gem = ENV["BUNDLE_GEM"] || "#{Gem.ruby} -S gem --backtrace"
|
||||
sys_exec("#{gem} #{command} #{args}")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue