Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rails script commands load the application rather than just boot

  • Loading branch information...
commit 358451c2194c5b89b576fd623811da708ee89d95 1 parent 6154278
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/generators/rails/app/templates/script/rails
View
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 BOOT_PATH
+require APP_PATH
require 'rails/commands'
Please sign in to comment.
Something went wrong with that request. Please try again.