自我记录:Mongrel 启动

Mongrel 启动命令
Mongrel_rails start

windows下用mongrel安装Rails自启动服务
$ mongrel_rails service::install -N myapp -c c:\my\path\to\myapp -p 4000 -e production

$ net start myapp

http://mongrel.rubyforge.org/wiki/Win32

另:如果发现启动不了,提示:
`gem_original_require': no such file to load -- E:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.3.4-x86-mswin32/lib/mongrel_service/init.rb (LoadError)

你可能感兴趣的:(C++,c,windows,Ruby,Rails)