This project is archived and is in readonly mode.
script/generate generates relative to Dir.pwd and not the application root
Reported by Carl Lerche | October 21st, 2009 @ 11:27 PM | in 3.0.2
The generators should use Rails.application.root as the application root when running and not Dir.pwd.
Comments and changes to this ticket
-
José Valim October 28th, 2009 @ 08:33 PM
- no changes were found...
-
Repository October 28th, 2009 @ 08:54 PM
(from [a288b74f1c75c6f100de7611a5093a421f1ad6d1]) Generators should use Rails.root instead of Dir.pwd [#3408 status:resolved]
Signed-off-by: Yehuda Katz wycats@gmail.com
http://github.com/rails/rails/commit/a288b74f1c75c6f100de7611a5093a... -
José Valim November 1st, 2009 @ 12:14 PM
- State changed from new to resolved
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to
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
- 3408 script/generate generates relative to Dir.pwd and not the application root (from [a288b74f1c75c6f100de7611a5093a421f1ad6d1]) Generat...