I am setting up RubyTest in Sublime Text 2. I installed RubyTest with Package Control and then created a dummy class in a ruby file and a rspec file as a dummy test. I opened the files in Sublime from the terminal. I ran Command-Shift-R, Command-Shift-T, and Command-Shift-E, but received the same error for each "[Errno 20] Not a directory":
Traceback (most recent call last):
File "./sublime_plugin.py", line 337, in run_
File "./exec.py", line 146, in run
OSError: [Errno 20] Not a directory: '/Users/holly/github/testing 123/person_spec.rb'
reloading /Users/holly/Library/Application Support/Sublime Text 2/Packages/User/RubyTest.last-run
I googled this error, but I could not find any site that had an answer for this exact error. Many people had a problem with encoding or rvm not loading, but I don't have those issues.
I found the Michael Hartl tutorial and decided to try his installation. I removed RubyTest using Package Control and then installed it with git:
$ git clone https://github.com/maltize/sublime-text-2-ruby-tests.git RubyTest
It installed fine, but when I opened my files and tried running the test commands, I received the same error.
It seems that Sublime is looking for a directory when the commands run. Is there somewhere I need to specify the directory that my files are in?
BTW: this is my first question on Stack Overflow. If I didn't include enough information or too much, please let me know. Cheers!