简体   繁体   中英

How to run ruby on apache?

I'm very new to ruby 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.

乘客可能是运行Rails应用程序的最简单方法。

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM