windows 窗户上的乘客
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/999532/
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
Passenger on Windows
提问by Ash
Is there any way to get Passenger running on a Windows machine? It doesn't appear so, but it seems like many Stackoverflow'ers have used Passenger a lot and I was wondering if its possible.
有没有办法让乘客在 Windows 机器上运行?看起来并非如此,但似乎许多 Stackoverflow'ers 都经常使用 Passenger,我想知道它是否可能。
采纳答案by Sam Saffron
Hongli (the author) said in 2008:
Hongli(作者)在2008年说:
Hi Mitja. We have no plans to port Passenger on Windows. Windows lacks the proper facilities to implement Passenger efficiently. Passenger on Windows will be very, very inefficient, which can give both Ruby on Rails as well as Passenger a bad name.
嗨,米佳。我们没有计划在 Windows 上移植乘客。Windows 缺乏适当的设施来有效地实施乘客。Windows 上的Passenger 会非常非常低效,这会给Ruby on Rails 和Passenger 带来坏名声。
So to me it looks like your out of luck here. Just run a VM and do your Rails work on it. Ruby/Rails is painfully slow on windows. Simple things like Script/Console take upwards of 10 seconds (and only a second on a linux VM)
所以在我看来,你在这里倒霉。只需运行一个 VM 并在其上执行 Rails 工作即可。Ruby/Rails 在 Windows 上运行缓慢。像脚本/控制台这样的简单事情需要 10 秒以上(而在 linux VM 上仅需要一秒)