diff options
author | Carl Lerche <carllerche@mac.com> | 2009-10-15 14:50:02 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-10-15 14:54:12 -0700 |
commit | 97296b11e2c4011ea5522c4de0153f7ffa6a47ae (patch) | |
tree | c21e07dede9bb91108839ccafbbfa29f2e4838d7 /railties/lib/rails/generators/rails/app/templates/Rakefile | |
parent | e1490d4e4c60211173d51e7b21c16dbe4c2d942a (diff) | |
download | rails-97296b11e2c4011ea5522c4de0153f7ffa6a47ae.tar.gz rails-97296b11e2c4011ea5522c4de0153f7ffa6a47ae.tar.bz2 rails-97296b11e2c4011ea5522c4de0153f7ffa6a47ae.zip |
Have config/application.rb contain the application definition and require that file instead of config/boot.rb or config/environment.rb in script/*.
Diffstat (limited to 'railties/lib/rails/generators/rails/app/templates/Rakefile')
-rwxr-xr-x | railties/lib/rails/generators/rails/app/templates/Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Rakefile b/railties/lib/rails/generators/rails/app/templates/Rakefile index bd4dec5389..1dce9863f2 100755 --- a/railties/lib/rails/generators/rails/app/templates/Rakefile +++ b/railties/lib/rails/generators/rails/app/templates/Rakefile @@ -1,7 +1,7 @@ # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. -require(File.join(File.dirname(__FILE__), 'config', 'boot')) +require File.expand_path(File.join(File.dirname(__FILE__), 'config', 'environment')) require 'rake' require 'rake/testtask' |