diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-12-15 13:28:50 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-12-17 16:35:20 +0900 |
commit | 8d29d1292b35ad524ce15f82177a2975da43432d (patch) | |
tree | 9fcdf543b087528b7a82ae1951beb86443382541 /spec/bundler/commands/exec_spec.rb | |
parent | 1537471871f9a06624689b55be222f0ea601d140 (diff) |
[rubygems/rubygems] Improve errors a bit more
https://github.com/rubygems/rubygems/commit/f481e8f41a
Diffstat (limited to 'spec/bundler/commands/exec_spec.rb')
-rw-r--r-- | spec/bundler/commands/exec_spec.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/spec/bundler/commands/exec_spec.rb b/spec/bundler/commands/exec_spec.rb index 83e8088349..f2b7863591 100644 --- a/spec/bundler/commands/exec_spec.rb +++ b/spec/bundler/commands/exec_spec.rb @@ -867,7 +867,10 @@ RSpec.describe "bundle exec" do let(:expected) { "" } let(:expected_err) { <<-EOS.strip } Could not find gem 'rack (= 2)' in locally installed gems. -The source contains the following gems matching 'rack': rack-0.9.1, rack-1.0.0 + +The source contains the following gems matching 'rack': + * rack-0.9.1 + * rack-1.0.0 Run `bundle install` to install missing gems. EOS @@ -894,7 +897,9 @@ Run `bundle install` to install missing gems. let(:expected) { "" } let(:expected_err) { <<-EOS.strip } Could not find gem 'rack (= 2)' in locally installed gems. -The source contains the following gems matching 'rack': rack-1.0.0 + +The source contains the following gems matching 'rack': + * rack-1.0.0 Run `bundle install` to install missing gems. EOS |