Ruby on Rails Server选项[关闭]

怎甘沉沦 提交于 2020-08-20 02:14:32

问题:

The whole issue of setting up a development server for my Ruby on Rails application confuses me. 为我的Ruby on Rails应用程序设置开发服务器的整个问题使我感到困惑。 There are WEBrick, Mongrel, Passenger, Apache, Nginx and many more I am sure, and I don't really understand the different roles they play. 我敢肯定,有WEBrick,Mongrel,Passenger,Apache,Nginx等等,我真的不了解他们扮演的不同角色。

I started off using WEBrick, and now I use Mongrel for development. 我开始使用WEBrick,现在使用Mongrel进行开发。 Are these servers stand-alone, or do they sit in front of Apache? 这些服务器是独立的还是位于Apache的前面?

I have read about Passenger and I don't really understand what it is, the site says "makes deployment of Ruby web applications a breeze", does it replace Mongrel? 我已经阅读了有关Passenger的文章,但我并不十分了解它的含义,该网站说“使Ruby Web应用程序的部署变得轻而易举”,它可以代替Mongrel吗? Is it like Capistrano, which also deploys web applications? 就像Capistrano一样,它也部署Web应用程序吗?

Bearing in mind I would like to test SSL, and I believe that's not supported by mongrel, what is the best development server setup? 请记住,我想测试SSL,并且我认为mongrel不支持SSL,最好的开发服务器设置是什么?

Thanks 谢谢


解决方案:

参考一: https://stackoom.com/question/HG3X/Ruby-on-Rails-Server选项-关闭
参考二: https://oldbug.net/q/HG3X/Ruby-on-Rails-Server-options-closed
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!