我一周前才开始学习 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 的路径正确显示。
我使用的是 32 位 Windows Vista。任何帮助将不胜感激,谢谢!
最佳答案
您可能使用过“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/ 找到有关此问题的更多信息
祝你好运!
关于ruby-on-rails - 系统找不到启动 Ruby 和 Rails 命令提示符时指定的路径,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6637922/