diff options
author | Max Holder <mxhold@gmail.com> | 2015-03-20 14:00:17 -0400 |
---|---|---|
committer | Max Holder <mxhold@gmail.com> | 2015-03-28 09:16:13 -0400 |
commit | 2a5bb9d56e785e8b8f70c24621d469c473c9061a (patch) | |
tree | e3f1f7672ef9f66e08f7f1f71023ded0e87013e8 /activerecord/lib/active_record | |
parent | 3064533076c83517c7297adeea473fe52f0bb454 (diff) | |
download | rails-2a5bb9d56e785e8b8f70c24621d469c473c9061a.tar.gz rails-2a5bb9d56e785e8b8f70c24621d469c473c9061a.tar.bz2 rails-2a5bb9d56e785e8b8f70c24621d469c473c9061a.zip |
Print `bundle install` output in `rails new` as soon as it's available
Previously, running `rails new` would not print any of the output from
`bundle install` until all the gems had finished installing. This made
it look like the generator was hanging at the `bundle install` step.
This commit switches to using `system` so that the bundle command can
output as it needs to.
This has the added benefit of including output bundler produces on
standard error, which the previous code ignored since backticks only
capture standard out. This is not a big deal right now since bundler
does not currently print errors to standard error, but that may change
in the future (see: bundler/bundler/issues/3353).
Diffstat (limited to 'activerecord/lib/active_record')
0 files changed, 0 insertions, 0 deletions