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.
This commit is contained in:
Xavier Noria 2011-05-13 00:57:16 +02:00
parent ead9e4e626
commit 2561a1f546
1 changed files with 2 additions and 0 deletions

View File

@ -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.