From 20af44c27727333b4cd3eef9d5b18daaa0445f0e Mon Sep 17 00:00:00 2001 From: David Rodríguez Date: Thu, 15 Aug 2019 17:03:26 +0200 Subject: [bundler/bundler] Unalias `install_gem` Since I plan to reuse it for something else. https://github.com/bundler/bundler/commit/5379382198 --- spec/bundler/runtime/setup_spec.rb | 2 +- spec/bundler/support/helpers.rb | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'spec') 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 -- cgit v1.2.3