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:
parent
4cebd41d9e
commit
c40f79f330
2 changed files with 1 additions and 2 deletions
|
@ -1,3 +1,2 @@
|
||||||
Rails.initialize!
|
|
||||||
require 'rails/info'
|
require 'rails/info'
|
||||||
puts Rails::Info
|
puts Rails::Info
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<%= shebang %>
|
<%= shebang %>
|
||||||
require File.expand_path('../../config/application', __FILE__)
|
require File.expand_path('../../config/environment', __FILE__)
|
||||||
$LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info"
|
$LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info"
|
||||||
require 'rails/commands/about'
|
require 'rails/commands/about'
|
||||||
|
|
Loading…
Reference in a new issue