summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-07-09 14:25:50 -0700
committerwycats <wycats@gmail.com>2010-07-09 14:25:50 -0700
commitdc211b38e7a87e1978a829bea1482ea5a66f4a2c (patch)
treee62f03fd844529f9c1df624d13cf10597bd6718e
parent5e6b09469afd16719cdc9a0856c6f0da0489f55f (diff)
downloadbundler-dc211b38e7a87e1978a829bea1482ea5a66f4a2c.tar.gz
Print a non-insanely-verbose output for Environments. This should resolve an issue where Bundler.setup used up insane amounts of RAM and never returned.
-rw-r--r--lib/bundler/environment.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bundler/environment.rb b/lib/bundler/environment.rb
index 72ed082f32..afd3333cab 100644
--- a/lib/bundler/environment.rb
+++ b/lib/bundler/environment.rb
@@ -7,6 +7,11 @@ module Bundler
@definition = definition
end
+ def inspect
+ puts
+ @definition.to_lock
+ end
+
# TODO: Remove this method. It's used in cli.rb still
def index
@definition.index