系统在启动Ruby和Rails命令提示符时找不到指定的路径 [英] The system cannot find the path specified when starting Ruby and Rails command prompt
问题描述
系统找不到指定的路径。
#在Rails环境配置下。
系统找不到指定的路径。
系统找不到指定的路径。
系统找不到指定的路径。
系统找不到指定的路径。
系统找不到指定的路径。
---
ruby和rails的路径显示正确。
我使用的是Windows Vista 32位。任何帮助将不胜感激,谢谢!
您可能使用过Ansicon - 一个程序来获取颜色Windows提示权。如果您使用-i参数永久安装它并因此移动/删除其目录,则会导致此错误。 (我刚刚经历过)
解决方案是更新ansicon数据文件的位置或删除以下注册表项:
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
你可以在 http://carol-nichols.com/2011/03/17/the-system-cannot-find-the-path-specified/
祝你好运!
I just started learning rails a week ago and everything worked until today. Now when I start the Ruby command prompt, it says:
The system cannot find the path specified.
# Under Rails Environment Configuration.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
---
The paths for ruby and rails show up correctly.
I'm using Windows Vista 32-bit. Any help would be greatly appreciated, thanks!
You've probably used "Ansicon" - a program to get the colors in windows prompt right. If you installed it permanently with -i parameter and consequently moved/deleted its directory, it would lead to this error. (I've just experienced it)
The solution is to renew the location of the ansicon data files or to remove the following registry entry:
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
You can find more on this issue at http://carol-nichols.com/2011/03/17/the-system-cannot-find-the-path-specified/
Good luck!
这篇关于系统在启动Ruby和Rails命令提示符时找不到指定的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!