diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2010-03-23 10:20:43 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-23 14:26:27 +0100 |
commit | 10825be40b982516c9b0d747dbd5b7f1d320873d (patch) | |
tree | 839ef633c4d2681d298c766b353feefdac861b7f /railties/lib | |
parent | 05ec99eed9813a497426432fb9ecc38379bc4b5e (diff) | |
download | rails-10825be40b982516c9b0d747dbd5b7f1d320873d.tar.gz rails-10825be40b982516c9b0d747dbd5b7f1d320873d.tar.bz2 rails-10825be40b982516c9b0d747dbd5b7f1d320873d.zip |
rake tasks should use the new app generator path [#4257 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/tasks/framework.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/tasks/framework.rake b/railties/lib/rails/tasks/framework.rake index 1df0129060..cd9516033e 100644 --- a/railties/lib/rails/tasks/framework.rake +++ b/railties/lib/rails/tasks/framework.rake @@ -25,7 +25,7 @@ namespace :rails do template = File.expand_path(template) if template !~ %r{\A[A-Za-z][A-Za-z0-9+\-\.]*://} require 'rails/generators' - require 'generators/rails/app/app_generator' + require 'rails/generators/rails/app/app_generator' generator = Rails::Generators::AppGenerator.new [ Rails.root ], {}, :destination_root => Rails.root generator.apply template, :verbose => false end @@ -38,7 +38,7 @@ namespace :rails do def app_generator @app_generator ||= begin require 'rails/generators' - require 'generators/rails/app/app_generator' + require 'rails/generators/rails/app/app_generator' gen = Rails::Generators::AppGenerator.new ["rails"], { :with_dispatchers => true }, :destination_root => Rails.root gen.send(:valid_app_const?) |