使用 Mongrel 在 Windows 上运行 Ruby On Rails
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/35564/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Ruby On Rails on Windows with Mongrel
提问by Ethan Gunderson
Where is the best tutorial for getting Ruby On Rails working on a windows box with Mongrel? I'm a complete novice at server management, so the more detailed the better!
让 Ruby On Rails 与 Mongrel 一起在 windows box 上工作的最佳教程在哪里?我是服务器管理的完全新手,所以越详细越好!
回答by mwilliams
You can follow this tutorial, it will get you setup you can actually manage your Mongrel server as a Windows service (start/stop/restart, start on boot, manage programatically etc etc):
您可以按照本教程进行操作,它将帮助您进行设置,您实际上可以将 Mongrel 服务器作为 Windows 服务进行管理(启动/停止/重启、启动时启动、以编程方式管理等):
How to setup mongrel as a native Windows service
I'm currently using this method to manage an instance of Redmine on a Windows box and it works wonderfully.
我目前正在使用这种方法来管理 Windows 机器上的 Redmine 实例,并且效果很好。
Good luck!
祝你好运!
回答by hectorsq
I have found the book "Deploying Rails Applications" very useful. Specially the chapter "Deploying on Windows". It gives you step by step instructions to deploy a Rails application using Apache and Mongrel
我发现“部署 Rails 应用程序”一书非常有用。特别是“在 Windows 上部署”一章。它为您提供使用 Apache 和 Mongrel 部署 Rails 应用程序的分步说明