简体   繁体   中英

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? Or should I have a local apache running. 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? everything has to work the same as the regular online apache server.

thanks.

No. Webrick is not a production web server.

Thin and unicorn would be good choices - Heroku runs thin, and Github runs unicorn.

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