maltize / sublime-text-2-ruby-tests

Sublime Text 2 plugin for running ruby tests! (Unit, RSpec, Cucumber)
722 stars 119 forks source link

No such file or directory error #37

Closed sco11morgan closed 12 years ago

sco11morgan commented 12 years ago

I'm trying to kick off rspec for a file bowler_spec.rb and getting the following error. Something in the run_ruby_test.py?

/bin/sh: line 0: cd: /Users/captmorgan/dev/bowl/bowler_: No such file or directory

This is on RubyTest installed from Package Control . OSX. ST build 2165

gs commented 12 years ago

Hi,

Could you provide more details about your project? How you folders structure looks like? Do you run sublime from your project folder? Are you able to run rspec from command line and run the tests?

So many questions... :)

sco11morgan commented 12 years ago

Ah, that is exactly the problem. I was just taking rspec for a test spin and had the spec and the class it was testing in the same directory. If I move the tests into a 'spec' sub-directory it works fine.