diff options
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r-- | lib/bundler/cli.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 18a478619b..8475b198fd 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -302,6 +302,7 @@ module Bundler desc "licenses", "Prints the license of all gems in the bundle" def licenses + auto_install Bundler.load.specs.sort_by { |s| s.license.to_s }.reverse.each do |s| gem_name = s.name license = s.license || s.licenses |