我一周前刚开始学习 Rails,直到今天一切正常。现在,当我启动 Ruby 命令提示符时,它会显示:
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.
---
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/
祝你好运!
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)