diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-10-16 18:46:34 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-10-16 18:46:34 -0500 |
commit | 92bfc693f2293fe5d459a6edb4216594cd5a7eb2 (patch) | |
tree | 957a18fab733dd18ba2123947c2244c02f8d1fbc /railties/lib | |
parent | 3971d972c304272dbbd88d5d5df14b5739e801a2 (diff) | |
download | rails-92bfc693f2293fe5d459a6edb4216594cd5a7eb2.tar.gz rails-92bfc693f2293fe5d459a6edb4216594cd5a7eb2.tar.bz2 rails-92bfc693f2293fe5d459a6edb4216594cd5a7eb2.zip |
Rackup file should require environment
Diffstat (limited to 'railties/lib')
-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 e6e73ece4c..f854029193 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.expand_path('../config/application', __FILE__) +require ::File.expand_path('../config/environment', __FILE__) # Dispatch the request run Rails.application.new |