diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-06-07 14:16:42 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-18 19:14:15 +0900 |
commit | cceb77f57b17a25a16b26a406f5ea7a89f275949 (patch) | |
tree | ce1b9bbb78374f64ecd12f7767df6c4b181fec03 /spec/bundler/commands | |
parent | 6aafea2d99f61026e447fab74ef4b489a2d1aa6a (diff) | |
download | ruby-cceb77f57b17a25a16b26a406f5ea7a89f275949.tar.gz |
[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
Diffstat (limited to 'spec/bundler/commands')
-rw-r--r-- | spec/bundler/commands/exec_spec.rb | 2 |
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 |