简体   繁体   English

在Windows服务器上运行的Ruby 2和Rails 3

[英]Ruby 2 and Rails 3 running on windows server

I haven't tried yet, but I would like to have a good information background before begin. 我还没有尝试过,但我希望在开始之前有一个很好的信息背景。

I must run a Rails application on a Windows server (I think 2008),I know that there is other better solutions, but the client has this server's type. 我必须在Windows服务器上运行Rails应用程序(我认为是2008),我知道还有其他更好的解决方案,但客户端具有此服务器的类型。

I think that the problem can be solved in one of these four manners (maybe more?): 我认为问题可以用这四种方式中的一种解决(可能更多?):

  1. Running Apache/Ngnix as a service 将Apache / Ngnix作为服务运行
  2. Running directly from the OS 直接从操作系统运行
  3. Running as virtualization 作为虚拟化运行
  4. Running on a different partition (eg installing for example Ubuntu) 在不同的分区上运行(例如,安装例如Ubuntu)

I have read tons of post but without finding a good solution (for Rails 3 and Ruby 2 I have find anything). 我已经阅读了大量的帖子,但没有找到一个好的解决方案(对于Rails 3和Ruby 2,我找到了任何东西)。

Which solution you suggest me? 你建议我使用哪种方案? Which one is more stable and performant? 哪一个更稳定,更高效?
Any documentation is appreciated. 任何文件都表示赞赏。

对于ruby on rails,最好在linux上运行它而不是windows,在windows上你会遇到很多问题,比如当你要安装gem时,最好的办法是在你的windows机器上安装vmware,然后运行Ubuntu或任何linux发行版你喜欢通过vmware,也可以查看这个问题以了解更多信息

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

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