diff options
author | Jarl Friis <jarl@softace.dk> | 2013-01-29 12:57:24 +0100 |
---|---|---|
committer | Jarl Friis <jarl@softace.dk> | 2013-02-21 21:52:40 +0100 |
commit | 8cd155c797e4147bbec0cd061cfda54cd4fa17a7 (patch) | |
tree | 14f2684fe05238e8bc59778cc540931b21a926a7 /lib | |
parent | a603e54db44fb67da5c7ddc3d71a7b780325c2c0 (diff) | |
download | bundler-8cd155c797e4147bbec0cd061cfda54cd4fa17a7.tar.gz |
Added dots for activity
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/resolver.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/bundler/resolver.rb b/lib/bundler/resolver.rb index b305a3416c..cfafb170e8 100644 --- a/lib/bundler/resolver.rb +++ b/lib/bundler/resolver.rb @@ -134,6 +134,7 @@ module Bundler end def initialize(index, source_requirements, base) + @iteration_counter = 0 @errors = {} @stack = [] @base = base @@ -167,6 +168,11 @@ module Bundler # gem dependencies have been resolved. throw :success, successify(activated) if reqs.empty? + @iteration_counter += 1 + if((@iteration_counter % 10000) == 0) + Bundler.ui.info ".", false + end + debug { print "\e[2J\e[f" ; "==== Iterating ====\n\n" } # Sort dependencies so that the ones that are easiest to resolve are first. |