Skip to content
Browse files

Revert "Rails script commands load the application rather than just b…


This reverts commit 358451c.
  • Loading branch information...
1 parent 358451c commit ca273d171c2663317842dba2152ba930f03e8e81 @jeremy jeremy committed Feb 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/generators/rails/app/templates/script/rails
2 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'

0 comments on commit ca273d1

Please sign in to comment.
Something went wrong with that request. Please try again.