summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-07 14:16:42 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-18 19:14:15 +0900
commitcceb77f57b17a25a16b26a406f5ea7a89f275949 (patch)
treece1b9bbb78374f64ecd12f7767df6c4b181fec03 /spec
parent6aafea2d99f61026e447fab74ef4b489a2d1aa6a (diff)
[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
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/commands/exec_spec.rb2
1 files changed, 1 insertions, 1 deletions
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