diff options
author | Carl Lerche <carllerche@mac.com> | 2010-02-02 09:44:04 -0800 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-02-02 09:44:04 -0800 |
commit | 2ea98280db69d412fc8bd54931329a3b524aef92 (patch) | |
tree | ef9502ffb7b11667f518c10e7a581bf5d3bc30b2 /lib/bundler/installer.rb | |
parent | 9542435cfcb7ea11c406594c16bfed677c89af62 (diff) | |
download | bundler-2ea98280db69d412fc8bd54931329a3b524aef92.tar.gz |
Improve `bundle install` output
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r-- | lib/bundler/installer.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb index f9379e43..7be43faa 100644 --- a/lib/bundler/installer.rb +++ b/lib/bundler/installer.rb @@ -19,9 +19,12 @@ module Bundler return end - specs.each do |spec| - next unless spec.source.respond_to?(:install) - next if (spec.groups & options[:without]).any? + specs.sort_by { |s| s.name }.each do |spec| + Bundler.ui.info "* #{spec.name} (#{spec.version})" + if (spec.groups & options[:without]).any? + Bundler.ui.info " * Not in requested group... skipping." + next + end spec.source.install(spec) end |