【发布时间】:2013-02-04 23:31:18
【问题描述】:
我正在浏览 Rails 教程,我想通过 Git Bash 查看“测试”,因为看起来测试结果的格式更好。
但是,每当我尝试运行“bundle exec ...etc”时。通过 Git Bash,我收到“错误的解释器:没有这样的文件或目录”的错误。现在,我检查了那个特定的目录,并且确实有一个 bundle.exe(因为我最近做了“gem bundle install”或“gem install bundle”)。
现在,需要明确的是,我可以通过 Windows 上的命令提示符运行“bundle exec”/“bundle install”/“bundle anything...”。只是 Git Bash 不想做这些事情。我该如何解决这个问题?
谢谢。
【问题讨论】:
-
你的
$PATH说什么?
标签: ruby-on-rails ruby git bash bundler