简体   繁体   English

轨道上的红宝石webrick服务器曾用于生产吗?

[英]Is the ruby on rails webrick server ever used in production?

In a situation where the main server (apache) is offline, is it ever acceptable to run the ruby on rails application on the built in webrick server? 在主服务器(apache)脱机的情况下,在内置的webrick服务器上运行ruby on rails应用程序是否可以接受? Or should I have a local apache running. 或者我应该运行本地apache。 I have to have it available local and it would be very rare it ever ran local but if I had to would it be best to go ahead and install apache or have a batch file that fired up the ruby script/server? 我必须让它在本地可用,它是非常罕见的它曾经运行本地,但如果我不得不最好继续安装apache或有一个批处理文件启动ruby脚本/服务器? everything has to work the same as the regular online apache server. 一切都必须与常规的在线Apache服务器相同。

thanks. 谢谢。

No. Webrick is not a production web server. 不.Webrick不是生产Web服务器。

Thin and unicorn would be good choices - Heroku runs thin, and Github runs unicorn. 瘦身独角兽将是不错的选择 - Heroku跑得很瘦,Github跑出独角兽。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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