diff options
author | José Valim <jose.valim@gmail.com> | 2010-03-12 20:41:36 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-12 20:41:41 +0100 |
commit | 611744ebd33d04bb302bf12f627d36ca59041caf (patch) | |
tree | ba9ce184d70d04d01df1d911bd496ed429a82be5 /railties/lib | |
parent | 2b0611b9bb3259859b4776e672e5ef93a8b08620 (diff) | |
download | rails-611744ebd33d04bb302bf12f627d36ca59041caf.tar.gz rails-611744ebd33d04bb302bf12f627d36ca59041caf.tar.bz2 rails-611744ebd33d04bb302bf12f627d36ca59041caf.zip |
Load the environment before executing rails console. [#3905 status:resolved]
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/commands.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands.rb b/railties/lib/rails/commands.rb index 6972e25b29..12748da18b 100644 --- a/railties/lib/rails/commands.rb +++ b/railties/lib/rails/commands.rb @@ -30,7 +30,7 @@ when 'g', 'generate' require 'rails/commands/generate' when 'c', 'console' require 'rails/commands/console' - require APP_PATH + require ENV_PATH Rails::Console.start(Rails::Application) when 's', 'server' require 'rails/commands/server' |