Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…oot"

This reverts commit 358451c.
  • Loading branch information...
commit ca273d171c2663317842dba2152ba930f03e8e81 1 parent 358451c
@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 APP_PATH
+require BOOT_PATH
require 'rails/commands'
Please sign in to comment.
Something went wrong with that request. Please try again.