diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-04 10:50:14 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-04 10:50:14 -0800 |
commit | 293fd9daf82c99d1dd57528ad0b770fad4cb8ce2 (patch) | |
tree | a2d9425a7311d564743914757c03c9074e497a21 | |
parent | ca273d171c2663317842dba2152ba930f03e8e81 (diff) | |
download | rails-293fd9daf82c99d1dd57528ad0b770fad4cb8ce2.tar.gz rails-293fd9daf82c99d1dd57528ad0b770fad4cb8ce2.tar.bz2 rails-293fd9daf82c99d1dd57528ad0b770fad4cb8ce2.zip |
server command loads the application
-rw-r--r-- | railties/lib/rails/commands.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/commands.rb b/railties/lib/rails/commands.rb index 55744db275..500dcf7f9e 100644 --- a/railties/lib/rails/commands.rb +++ b/railties/lib/rails/commands.rb @@ -33,6 +33,7 @@ when 'c', 'console' require APP_PATH Rails::Console.start(Rails::Application) when 's', 'server' + require APP_PATH require 'rails/commands/server' Dir.chdir(ROOT_PATH) Rails::Server.start @@ -68,4 +69,4 @@ when '--version', '-v' else puts "Error: Command not recognized" puts HELP_TEXT -end
\ No newline at end of file +end |