Skip to content

Commit

Permalink
[rubygems/rubygems] Recommend bundle install rather than `gem insta…
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and hsbt committed Aug 31, 2021
1 parent 76b77d9 commit 2d0d1c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rubygems.rb
Expand Up @@ -1122,7 +1122,7 @@ def self.use_gemdeps(path = nil)
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
Expand Down
2 changes: 1 addition & 1 deletion test/rubygems/test_gem.rb
Expand Up @@ -1975,7 +1975,7 @@ def test_use_gemdeps_missing_gem

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

Expand Down

0 comments on commit 2d0d1c3

Please sign in to comment.