diff options
author | David RodrÃguez <[email protected]> | 2024-12-23 17:46:32 +0100 |
---|---|---|
committer | git <[email protected]> | 2024-12-26 18:09:15 +0000 |
commit | 11c9e4f1ceb90d73e1eac6acbf3434a6f7216044 () | |
tree | 8ab289f5e36b85ca89f9a2ed03b00aafe9e773c3 /lib/bundler/cli/outdated.rb | |
parent | d78ff6a767ca813ac5fa178dd7611f20a993c191 (diff) |
[rubygems/rubygems] Fix `bundle outdated <GEM>` failing if gems not installed
https://.com/rubygems/rubygems/commit/694d5f444e
-rw-r--r-- | lib/bundler/cli/outdated.rb | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -26,13 +26,15 @@ module Bundler def run check_for_deployment_mode! - gems.each do |gem_name| - Bundler::CLI::Common.select_spec(gem_name) - end - Bundler.definition.validate_runtime! current_specs = Bundler.ui.silence { Bundler.definition.resolve } current_dependencies = Bundler.ui.silence do Bundler.load.dependencies.map {|dep| [dep.name, dep] }.to_h end |