1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

script/about should require environment

This commit is contained in:
Joshua Peek 2009-10-16 19:24:19 -05:00
parent 4cebd41d9e
commit c40f79f330
2 changed files with 1 additions and 2 deletions

View file

@ -1,3 +1,2 @@
Rails.initialize!
require 'rails/info'
puts Rails::Info

View file

@ -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'