From cceb77f57b17a25a16b26a406f5ea7a89f275949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Sun, 7 Jun 2020 14:16:42 +0200 Subject: [rubygems/rubygems] Fix unintended Gemfile installation This command is failing because of the same reason that the subsequent `bundle exec` is failing: the gemspec is invalid. The `bundle install` here deviates the `bundle exec` focus from the test and is unnecessary: all we need is a `Gemfile` that will trigger the `bundle exec`, so let's create and avoid the extra command. https://github.com/rubygems/rubygems/commit/eb83cf6cf1 --- spec/bundler/commands/exec_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/bundler/commands/exec_spec.rb b/spec/bundler/commands/exec_spec.rb index 301ef6131d..10eecf19a9 100644 --- a/spec/bundler/commands/exec_spec.rb +++ b/spec/bundler/commands/exec_spec.rb @@ -576,7 +576,7 @@ RSpec.describe "bundle exec" do G end - install_gemfile <<-G + gemfile <<-G gem "foo", :path => "#{lib_path("foo-1.0")}" G -- cgit v1.2.3