diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-16 11:17:19 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-16 11:17:19 +0200 |
commit | d6a590a7107eabd9c3ab067c60bef904da62f174 (patch) | |
tree | 31dbb4c37dfa32ec1e1eb49801681aad6e2909be /railties/lib/generators/rails/app | |
parent | b03034a686df5ed91d790404b27e595165883834 (diff) | |
download | rails-d6a590a7107eabd9c3ab067c60bef904da62f174.tar.gz rails-d6a590a7107eabd9c3ab067c60bef904da62f174.tar.bz2 rails-d6a590a7107eabd9c3ab067c60bef904da62f174.zip |
Modified rake tasks to use new app generator structure and updated Thor version.
Diffstat (limited to 'railties/lib/generators/rails/app')
-rw-r--r-- | railties/lib/generators/rails/app/app_generator.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/app/app_generator.rb b/railties/lib/generators/rails/app/app_generator.rb index eaeb49903a..0c9bbeb847 100644 --- a/railties/lib/generators/rails/app/app_generator.rb +++ b/railties/lib/generators/rails/app/app_generator.rb @@ -66,7 +66,6 @@ module Rails::Generators empty_directory "config" inside "config" do - copy_file "boot.rb" copy_file "routes.rb" template "environment.rb" @@ -76,6 +75,10 @@ module Rails::Generators end end + def create_boot_file + copy_file "config/boot.rb" + end + def create_activerecord_files return if options[:skip_activerecord] template "config/databases/#{options[:database]}.yml", "config/database.yml" |