From 2561a1f546b304032b6d2702c59bdf5492990ba6 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Fri, 13 May 2011 00:57:16 +0200 Subject: say something when running bundle commands This is convenient because we buffer stdout. In particular bundle install takes a while and generation just hangs there with no indication of what's going on otherwise. --- railties/lib/rails/generators/app_base.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'railties/lib/rails/generators') diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 5d4afc8102..3b0791a453 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -185,6 +185,8 @@ module Rails end def bundle_command(command) + say_status :run, "bundle #{command}" + # We use backticks and #print here instead of vanilla #system because it # is easier to silence stdout in the existing test suite this way. The # end-user gets the bundler commands called anyway. -- cgit v1.2.3