1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Recommend bundle install rather than gem install -g

https://github.com/rubygems/rubygems/commit/4028cbc408
This commit is contained in:
David Rodríguez 2021-04-13 13:03:59 +02:00 committed by Hiroshi SHIBATA
parent 76b77d9275
commit 2d0d1c339a
Notes: git 2021-08-31 19:07:12 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -1122,7 +1122,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
end end
rescue Bundler::BundlerError => e rescue Bundler::BundlerError => e
warn e.message warn e.message
warn "You may need to `gem install -g` to install missing gems" warn "You may need to `bundle install` to install missing gems"
warn "" warn ""
end end
end end

View file

@ -1975,7 +1975,7 @@ class TestGem < Gem::TestCase
expected = <<-EXPECTED expected = <<-EXPECTED
Could not find gem 'a' in locally installed gems. Could not find gem 'a' in locally installed gems.
You may need to `gem install -g` to install missing gems You may need to `bundle install` to install missing gems
EXPECTED EXPECTED