Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Sublime 3 system cannot find path #219

Sprogrammer007 opened this Issue Dec 6, 2013 · 8 comments


None yet
6 participants

The system cannot find the path specified.
[Finished in 0.0s with exit code 1]
[cmd: ['rspec spec\requests\static_pages_spec.rb']]
[dir:rspec H:\Sites\wedding_app]
[path: C:\ImageMagick-6.8.7-Q16;C:\RailsInstaller\Ruby2.0.0\bin;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\RailsInstaller\Ruby2.0.0\bin]

yes I know this has been asked before in a closed issue, but the answer says read "readme" I did and I don't get what I'm looking for..... if I need to add environment path what am I add?

P.S I also got sublime 2 running with ruby test and it works fine on the same test..... so what's the problem?

[cmd: ['rspec spec\requests\static_pages_spec.rb']]

if I remove relative path and just have rspec it runs fine I think the problem is caused by the bouble backslash how do I fix that?

JKillian commented Jan 3, 2014


I think it may be related to the above commit - I'm getting the double backslash problem as well (using ST3 and Windows 8.1). Just a guess though, could be something different causing the problem

[cmd: ['rspec spec\\models\\settings_spec.rb -l4']]

I have the exact same issue....
Tried starting SublimeText 3 as adminstrator

The system cannot find the path specified.
[Finished in 0.0s with exit code 1]
[cmd: ['rspec spec\configurator_spec.rb -l18']]

However when I copy this command to the command line, it works fine:

E:\temp\RubyProjects>rspec spec\configurator_spec.rb -l18
Run options: include {:line_numbers=>[18]}

Finished in 0.04 seconds
1 example, 0 failures

Any news on this issue?

rushd commented Feb 13, 2014

I had the same issue, with Win7 and ST3, which I have just resolved. The problem appears to be that in later versions of ST, the cmd has changed to an array format (whereas previously it was just a string?)
so you should look to reconstruct your cmd as something like this:

"cmd": ["echo","fixed","it"],
"working_dir": "$file_path",
"shell": true

I hope this helps somebody

hey Rushd can you give us more detail as to what do to? I added to custom settings and nothing

rushd commented Feb 14, 2014

hi ...007

custom settings? this is something you are trying to execute rather than configure ?

my suggestion was applied to a sublime-build script in ST3
but I think the issue is with the way cmd has been changed in the later version (a guess).

looking at your cmd instruction, I would look for something like this...
"cmd": ["rspec","spec\requests\static_pages_spec.rb"]

look here (if you haven't already):

janklimo commented Jul 5, 2014

The problem is resolved for me if you edit the file run_ruby_test.py in the RubyTest folder.
Line 202: change this:

"cmd": [command],


"cmd": command,

Hope it helps!


EugZol commented Oct 22, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment