我正在运行 Windows 7 并安装了 sublime text ruby 测试。我可以从命令行运行 rspec spec/fine,但是当我从 sublime text 尝试它时,我收到以下错误:
我在命令行中检查了 PATH 变量及其相同。
--
The system cannot find the path specified.
[Finished in 0.1s with exit code 1]
[cmd: ['bundle exec rspec spec\\models\\user_spec.rb']]
[dir: C:\Users\User1\Sites\sample_app]
[path: C:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\site\bin;C:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\bin;C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program Files (x86)\Common Files\Microsoft Shared\Microsoft Online Services;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Heroku\bin;C:\Program Files (x86)\git\cmd;C:\RailsInstaller\Git\cmd;C:\RailsInstaller\Ruby2.0.0\bin]