简体   繁体   English

在Windows Vista上发出任何rails命令时发生延迟

[英]Delay when issuing any rails commands on windows vista

Everytime I run any rails command on my windows vista dev box there is always something like a 30 second delay before the command does anything. 每次我在我的windows vista开发盒上运行任何rails命令时,在命令执行任何操作之前总会有30秒的延迟。 I don't have the firewall enabled and the virus protection is disabled. 我没有启用防火墙,并且禁用了病毒防护。 Any thoughts on what could be causing this? 有什么可能导致这个问题的想法?

Thanks 谢谢

I can't comment on this specific issue, but I can say I had nothing but problems trying to run Rails on Windows in the past. 我不能对这个具体问题发表评论,但我可以说我过去只在Windows上运行Rails时遇到了问题。 That said, after trying Ubuntu and MacOs, I still prefer to use Windows as my primary UI. 也就是说,在尝试Ubuntu和MacOs之后,我仍然更喜欢使用Windows作为我的主要UI。 My solution is to run Ubuntu Server on a VM, and use a Samba file share to access dev files, with putty as my primary console interface. 我的解决方案是在VM上运行Ubuntu Server,并使用Samba文件共享来访问dev文件,使用putty作为我的主控制台界面。 The linux command line is far more powerful, and is where the Rails ecosystem is really geared to be running. linux命令行功能更强大,是Rails生态系统真正适合运行的地方。

VirtualBox: http://virtualbox.com VirtualBox: http//virtualbox.com

Ubuntu: http://ubuntu.com Ubuntu: http//ubuntu.com

Samba: http://www.samba.org/ Samba: http//www.samba.org/

Putty: http://www.chiark.greenend.org.uk/~sgtatham/putty/ Putty: http//www.chiark.greenend.org.uk/~sgtatham/putty/

With these tools, you can run your Rails stack in a nice linux server environment, and still enjoy the utility and functionality of the Windows GUI. 使用这些工具,您可以在一个不错的Linux服务器环境中运行Rails堆栈,并且仍然可以享受Windows GUI的实用程序和功能。 (Although I'd recommend you move from Vista to 7) (虽然我建议你从Vista转到7)

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

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