From 358451c2194c5b89b576fd623811da708ee89d95 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 4 Feb 2010 10:45:35 -0800 Subject: Rails script commands load the application rather than just boot --- railties/lib/generators/rails/app/templates/script/rails | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib/generators') 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' -- cgit v1.2.3