diff options
Diffstat (limited to 'railties/lib/rails/generators/rails/app/templates/config.ru')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config.ru | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config.ru b/railties/lib/rails/generators/rails/app/templates/config.ru index 50ee033d44..3702ad0466 100644 --- a/railties/lib/rails/generators/rails/app/templates/config.ru +++ b/railties/lib/rails/generators/rails/app/templates/config.ru @@ -1,5 +1,5 @@ # Require your environment file to bootstrap Rails -require ::File.dirname(__FILE__) + '/config/environment' +require File.expand_path('../config/application', __FILE__) # Dispatch the request run Rails.application.new |