Skip to content

Commit

Permalink
Merge pull request #14025 from xtian/rails-new-quiet
Browse files Browse the repository at this point in the history
Hide bundler output for `rails new` if quiet option is specified.
  • Loading branch information
senny committed Feb 12, 2014
2 parents 7d5454d + 2c7471a commit 8cdd93a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion railties/lib/rails/generators/app_base.rb
Expand Up @@ -412,7 +412,8 @@ def bundle_command(command)

require 'bundler'
Bundler.with_clean_env do
print `"#{Gem.ruby}" "#{_bundle_command}" #{command}`
output = `"#{Gem.ruby}" "#{_bundle_command}" #{command}`
print output unless options[:quiet]
end
end

Expand Down

0 comments on commit 8cdd93a

Please sign in to comment.