This project is archived and is in readonly mode.
Rails 3 Application Templates do not work
Reported by James A Rosen | January 16th, 2010 @ 03:48 PM
I wanted to create an example Rails 3 template file for the
bug-mash, so I started with the following, just to see where the
template code was:
# in test_template.rb
raise 'foo'</code>
I then ran that with rake rails:template
LOCATION=test_template.rb --trace
. I got
no such file to load -- generators
So I delved into
railties/lib/rails/tasks/framework.rake
and changed
require 'generators'
to require
'rails/generators'
in the :template
task. Now I
get
uninitialized constant Rails::Generators::App
I looked in railties/lib/rails/generators
and found
nothing relevant. What happened to the application generators?
Comments and changes to this ticket
-
James A Rosen January 16th, 2010 @ 03:55 PM
- Tag changed from templates 3.0 generators to 3.0, generators, templates
-
James A Rosen January 16th, 2010 @ 03:56 PM
- Tag changed from 3.0, generators, templates to 3.0, bugmash, generators, templates
-
Rizwan Reza January 16th, 2010 @ 07:50 PM
I just posted a fix to it in another ticket... didn't see this one.
-
Jeremy Kemper January 16th, 2010 @ 08:07 PM
- State changed from new to duplicate
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>