diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-04 10:45:35 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-04 10:45:35 -0800 |
commit | 358451c2194c5b89b576fd623811da708ee89d95 (patch) | |
tree | 9cdefef6e08fdedbd0739c6899b6166bccc3f293 /railties/lib/generators | |
parent | 6154278d22994c4dcdb529d3c19b4f446125ed50 (diff) | |
download | rails-358451c2194c5b89b576fd623811da708ee89d95.tar.gz rails-358451c2194c5b89b576fd623811da708ee89d95.tar.bz2 rails-358451c2194c5b89b576fd623811da708ee89d95.zip |
Rails script commands load the application rather than just boot
Diffstat (limited to 'railties/lib/generators')
-rw-r--r-- | railties/lib/generators/rails/app/templates/script/rails | 2 |
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 2fcf6d09b5..e99d50f695 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 BOOT_PATH +require APP_PATH require 'rails/commands' |