This project is archived and is in readonly mode.

#264 ✓resolved
Carl Porth

The diff command in script/generate doesn't escape paths.

Reported by Carl Porth | May 27th, 2008 @ 10:32 PM

When doing a script/generate and a file exists, doing a diff (to view the differences between the generated file and the one that already exists) doesn't escape the file path.

If you have a space in any parent folder of your rails app, then the diff command cannot find the files.

This tiny, trivial patch quotes the paths.

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

Pages