提交 293fd9da 编写于 作者: J Jeremy Kemper

server command loads the application

上级 ca273d17
......@@ -33,6 +33,7 @@
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 @@
else
puts "Error: Command not recognized"
puts HELP_TEXT
end
\ No newline at end of file
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册