1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Unalias install_gem

Since I plan to reuse it for something else.

https://github.com/bundler/bundler/commit/5379382198
This commit is contained in:
David Rodríguez 2019-08-15 17:03:26 +02:00 committed by Hiroshi SHIBATA
parent 6506993462
commit 20af44c277
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
2 changed files with 1 additions and 3 deletions

View file

@ -773,7 +773,7 @@ end
full_gem_name = gem_name + "-1.0"
ext_dir = File.join(tmp("extensions", full_gem_name))
install_gem full_gem_name
install_gems full_gem_name
install_gemfile <<-G
source "#{file_uri_for(gem_repo1)}"

View file

@ -322,8 +322,6 @@ module Spec
end
end
alias_method :install_gem, :install_gems
def with_gem_path_as(path)
backup = ENV.to_hash
ENV["GEM_HOME"] = path.to_s