作者:淘气小顽童刘 | 来源:互联网 | 2013-05-30 22:53
今天PhusionPassenger(mod_rails)正式发布了,它是Apache的一个模块,在Apache上安装好以后部署Rails应用也可以简单得像PHP一样:直接上传文件到某个目录就好了。
今天Phusion Passenger(mod_rails)正式发布了,它是Apache的一个模块,在Apache上安装好以后部署Rails应用也可以简单得像PHP一样:直接上传文件到某个目录就好了。
除了方便以外,mod_rails的性能也很不错,和常见的mongrel和thin都不相上下:
http://www.iteye.com/news/1754
Rails的作者DHH和Ruby作者Matz更是对mod_rails赞誉有加:
David Heinemeier Hansson 写道
This could definitely become very popular, very fast ;)
Yukihiro Matsumoto 写道
It is often said that Rails is weak on deployment; PHP runs fairly fast just by uploading scripts. Rails is slow on development mode, and requires restarting on production mode (and bit complex to configure). modrails might be the answer for it.
你还在为Rails的部署配置头痛么?来试试看吧:
http://www.modrails.com/install.html