ruby-on-rails - 系统找不到启动 Ruby 和 Rails 命令提示符时指定的路径

标签 ruby-on-rails windows heroku

我一周前才开始学习 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/

相关文章:

c++ - 如何在 Windows 中用 c/c++ 从流中捕获视频?

postgresql - 将 Heroku Postgres 从 dev 更新到 basic

google-app-engine - 用于 Web 应用程序的 CloudFlare 和动态 DNS

ruby-on-rails - Rails Devise 禁用 ajax 请求的重定向

ruby-on-rails - 结合 Capybara 和 Minitest 语法

ruby-on-rails - 如何在 Rails 中使用 jsonapi-resorces gem 实现嵌套资源?

c# - 使用数据绑定(bind)从 UI 更改数据

ruby-on-rails - 如何在保存多态对象之前获取其父对象?

c++ - 从另一个系统访问命名管道时拒绝访问

java - fatal error 编译 : invalid target release: 11 during pushing to heroku