This project is archived and is in readonly mode.
Broken require in framework.rake
-
Kouhei Sutou
There is one more same problem in rails:template.
-
Rick
Additional problem with framework.rake:
With simple.rb ==
PROJECT_NAME = File.basename(Rails.root)Running:
rake rails:template LOCATION=./simple.rbGives:
rake aborted! uninitialized constant Rails::Generators::App /opt/R1.9s-R3pre/lib/ruby/1.9.1/rake.rb:2482:inconst_missing' /opt/R1.9s-R3pre/lib/ruby/gems/1.9.1/gems/rails-3.0.pre/lib/rails/tasks/framework.rake:90:inblock (2 levels) in ' . . .The offending line:
generator = Rails::Generators::App.new [ Rails.root ], {}, :destination_root => Rails.root Maybe want: AppGenerator.new -
Rick
Here's a diff that enables "rake rails:template LOCATION=...". It is based on rails update current 10/22.
-
Rick
Sorry, wrong diff. This one is applied to lib/rails/tasks/framework.rake.
