This project is archived and is in readonly mode.

#2047 ✓resolved
Sven Fuchs

Make app templates sync output back immediately?

Reported by Sven Fuchs | February 22nd, 2009 @ 11:18 PM | in 2.x

Currently app templates use backticks to execute external commands such as git clone. With backticks the output gets buffered and then sent to nirvana.

Is there any particular reason for using backticks and not syncing stdout? Maybe some OS related thing?

Otherwise I feel it would be much nicer to directly report back the external command's output to the shell:

STDOUT.sync = true

system "git clone ..."

I've attached a patch for the git adapter. If the change would be acceptable for other app template commands as well I'll change that accordingly.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages