开发者

How to run ruby on apache?

I'm very new to r开发者_运维问答uby and I can run ruby scripts on command line easily, but I want to output my script to a browser, not just using the command line.

Your help will be much appreciated, thanks.


Passenger is probably the easiest way to run Rails applications.


I'd recommend either Passenger or Unicorn, both of which are extremely popular in production environments. Passenger is typically easier to setup.

See this blog post: "Install RVM, Passenger, Nginx and Rails 3 on Ubuntu Lucid Lynx". You can use WEBrick/Thin for development perhaps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜