diff options
author | Cheah Chu Yeow <chuyeow@gmail.com> | 2008-06-23 21:56:02 +0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-23 10:27:33 -0700 |
commit | f1cfd1248734ceaa50c1857f33d7ee0ecfdce3e6 (patch) | |
tree | 7f338bd6cbc1329d64d1216dce05ac6af72f56b0 /railties/bin | |
parent | d7462ea36550bd59cfbcd7961f5870c49bcf8963 (diff) | |
download | rails-f1cfd1248734ceaa50c1857f33d7ee0ecfdce3e6.tar.gz rails-f1cfd1248734ceaa50c1857f33d7ee0ecfdce3e6.tar.bz2 rails-f1cfd1248734ceaa50c1857f33d7ee0ecfdce3e6.zip |
Allow script/about to run in production mode instead of failing with a cryptic const_missing error.
[#370 state:resolved]
Diffstat (limited to 'railties/bin')
-rw-r--r-- | railties/bin/about | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/bin/about b/railties/bin/about index cd38a32abf..ed8deb0dfc 100644 --- a/railties/bin/about +++ b/railties/bin/about @@ -1,3 +1,4 @@ #!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' -require 'commands/about' +$LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info" +require 'commands/about'
\ No newline at end of file |