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:
parent
76b77d9275
commit
2d0d1c339a
Notes:
git
2021-08-31 19:07:12 +09:00
2 changed files with 2 additions and 2 deletions
|
@ -1122,7 +1122,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
|
|||
end
|
||||
rescue Bundler::BundlerError => e
|
||||
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 ""
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1975,7 +1975,7 @@ class TestGem < Gem::TestCase
|
|||
|
||||
expected = <<-EXPECTED
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue