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.
5379382198
This commit is contained in:
parent
6506993462
commit
20af44c277
2 changed files with 1 additions and 3 deletions
|
@ -773,7 +773,7 @@ end
|
||||||
full_gem_name = gem_name + "-1.0"
|
full_gem_name = gem_name + "-1.0"
|
||||||
ext_dir = File.join(tmp("extensions", full_gem_name))
|
ext_dir = File.join(tmp("extensions", full_gem_name))
|
||||||
|
|
||||||
install_gem full_gem_name
|
install_gems full_gem_name
|
||||||
|
|
||||||
install_gemfile <<-G
|
install_gemfile <<-G
|
||||||
source "#{file_uri_for(gem_repo1)}"
|
source "#{file_uri_for(gem_repo1)}"
|
||||||
|
|
|
@ -322,8 +322,6 @@ module Spec
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
alias_method :install_gem, :install_gems
|
|
||||||
|
|
||||||
def with_gem_path_as(path)
|
def with_gem_path_as(path)
|
||||||
backup = ENV.to_hash
|
backup = ENV.to_hash
|
||||||
ENV["GEM_HOME"] = path.to_s
|
ENV["GEM_HOME"] = path.to_s
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue