aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-02-04 10:49:41 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2010-02-04 10:49:41 -0800
commitca273d171c2663317842dba2152ba930f03e8e81 (patch)
tree48e7b913a9f8d24fb9c96d5d8e66279323cbd7ab /railties/lib/generators/rails
parent358451c2194c5b89b576fd623811da708ee89d95 (diff)
downloadrails-ca273d171c2663317842dba2152ba930f03e8e81.tar.gz
rails-ca273d171c2663317842dba2152ba930f03e8e81.tar.bz2
rails-ca273d171c2663317842dba2152ba930f03e8e81.zip
Revert "Rails script commands load the application rather than just boot"
This reverts commit 358451c2194c5b89b576fd623811da708ee89d95.
Diffstat (limited to 'railties/lib/generators/rails')
-rw-r--r--railties/lib/generators/rails/app/templates/script/rails2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/app/templates/script/rails b/railties/lib/generators/rails/app/templates/script/rails
index e99d50f695..2fcf6d09b5 100644
--- a/railties/lib/generators/rails/app/templates/script/rails
+++ b/railties/lib/generators/rails/app/templates/script/rails
@@ -5,5 +5,5 @@ BOOT_PATH = File.expand_path('../../config/boot', __FILE__)
APP_PATH = File.expand_path('../../config/application', __FILE__)
ROOT_PATH = File.expand_path('../..', __FILE__)
-require APP_PATH
+require BOOT_PATH
require 'rails/commands'