Permalink
Browse files

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.
  • Loading branch information...
1 parent ead9e4e commit 2561a1f546b304032b6d2702c59bdf5492990ba6 @fxn fxn committed May 12, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 railties/lib/rails/generators/app_base.rb
@@ -185,6 +185,8 @@ def gem_for_javascript
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.

0 comments on commit 2561a1f

Please sign in to comment.