summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-02-02 09:08:42 -0800
committerCarl Lerche <carllerche@mac.com>2010-02-02 09:08:42 -0800
commit9542435cfcb7ea11c406594c16bfed677c89af62 (patch)
tree19ce9e76de743ef53ac01283b364308906e0b302
parent99b084979dda6f46901c35e21147a5d71c7e2b74 (diff)
downloadbundler-9542435cfcb7ea11c406594c16bfed677c89af62.tar.gz
Adding output for `bundle pack`
-rw-r--r--lib/bundler/environment.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/environment.rb b/lib/bundler/environment.rb
index fd05c63009..2f60604a30 100644
--- a/lib/bundler/environment.rb
+++ b/lib/bundler/environment.rb
@@ -64,10 +64,12 @@ module Bundler
pack_path = "#{root}/vendor/cache/"
FileUtils.mkdir_p(pack_path)
+ Bundler.ui.info "Copying .gem files into vendor/cache"
specs.each do |spec|
next if spec.source && !spec.source.is_a?(Source::Rubygems)
possibilities = Gem.path.map { |p| "#{p}/cache/#{spec.full_name}.gem" }
cached_path = possibilities.find { |p| File.exist? p }
+ Bundler.ui.info " * #{File.basename(cached_path)}"
FileUtils.cp(cached_path, pack_path)
end
end