diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-15 17:03:26 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-17 17:08:50 +0900 |
commit | 20af44c27727333b4cd3eef9d5b18daaa0445f0e (patch) | |
tree | 04e8ba6f1ca830e74d8a553fe7846b39ff3365cf /spec | |
parent | 6506993462af4f6c4f7ee2e0d3bc27deee989069 (diff) | |
download | ruby-20af44c27727333b4cd3eef9d5b18daaa0445f0e.tar.gz |
[bundler/bundler] Unalias `install_gem`
Since I plan to reuse it for something else.
https://github.com/bundler/bundler/commit/5379382198
Diffstat (limited to 'spec')
-rw-r--r-- | spec/bundler/runtime/setup_spec.rb | 2 | ||||
-rw-r--r-- | spec/bundler/support/helpers.rb | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb index 46dda097ab..65cb006edd 100644 --- a/spec/bundler/runtime/setup_spec.rb +++ b/spec/bundler/runtime/setup_spec.rb @@ -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)}" diff --git a/spec/bundler/support/helpers.rb b/spec/bundler/support/helpers.rb index d5e2f43a9b..4a0a07244c 100644 --- a/spec/bundler/support/helpers.rb +++ b/spec/bundler/support/helpers.rb @@ -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 |