问题:
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
来源:oschina
链接:https://my.oschina.net/stackoom/blog/4407026