diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-10-16 19:24:19 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-10-16 19:24:19 -0500 |
commit | c40f79f3304ecfb45699a540da8a5e68c2a2af44 (patch) | |
tree | 80cd1646e839268ea26b7e0da5c7f32e576f658f /railties/lib/rails/generators | |
parent | 4cebd41d9e9764b29a5673a298a71b0c530b2bf6 (diff) | |
download | rails-c40f79f3304ecfb45699a540da8a5e68c2a2af44.tar.gz rails-c40f79f3304ecfb45699a540da8a5e68c2a2af44.tar.bz2 rails-c40f79f3304ecfb45699a540da8a5e68c2a2af44.zip |
script/about should require environment
Diffstat (limited to 'railties/lib/rails/generators')
-rwxr-xr-x | railties/lib/rails/generators/rails/app/templates/script/about.tt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/script/about.tt b/railties/lib/rails/generators/rails/app/templates/script/about.tt index 90a320297e..7639d4040f 100755 --- a/railties/lib/rails/generators/rails/app/templates/script/about.tt +++ b/railties/lib/rails/generators/rails/app/templates/script/about.tt @@ -1,4 +1,4 @@ <%= shebang %> -require File.expand_path('../../config/application', __FILE__) +require File.expand_path('../../config/environment', __FILE__) $LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info" require 'rails/commands/about' |