diff options
author | Xavier Noria <fxn@hashref.com> | 2011-05-13 00:57:16 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-05-13 01:06:27 +0200 |
commit | 2561a1f546b304032b6d2702c59bdf5492990ba6 (patch) | |
tree | 9bcb2b93acced62f766a1f2499792c5fc0afb61d /railties | |
parent | ead9e4e6267be4def4e83cf7fe1ea4197ddf4eff (diff) | |
download | rails-2561a1f546b304032b6d2702c59bdf5492990ba6.tar.gz rails-2561a1f546b304032b6d2702c59bdf5492990ba6.tar.bz2 rails-2561a1f546b304032b6d2702c59bdf5492990ba6.zip |
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.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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. |