diff options
Diffstat (limited to 'railties/lib/rails_generator/generators/applications/app')
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/app_generator.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails_generator/generators/applications/app/app_generator.rb b/railties/lib/rails_generator/generators/applications/app/app_generator.rb index 7750d563d3..d5e932ac1d 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -34,6 +34,7 @@ class AppGenerator < Rails::Generator::Base # database.yml and .htaccess m.template "configs/database.yml", "config/database.yml" m.template "configs/routes.rb", "config/routes.rb" + m.template "configs/deploy.rb", "config/deploy.rb" m.template "configs/apache.conf", "public/.htaccess" # Environments @@ -48,8 +49,10 @@ class AppGenerator < Rails::Generator::Base end if options[:gem] m.file "bin/breakpointer_for_gem", "script/breakpointer", script_options + m.file "bin/switchtower_for_gem", "script/switchtower", script_options else m.file "bin/breakpointer", "script/breakpointer", script_options + m.file "bin/switchtower", "script/switchtower", script_options end # Dispatches |