开发者

How to run ruby on apache?

开发者 https://www.devze.com 2023-04-04 07:43 出处:网络
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.

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

精彩评论

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