I’m using Sublime Text 2 and installed the RubyTest package. I’m trying to run a test using Command-Shift-R.
I also use rbenv for ruby and have installed gems using Bundler.
The output is:
/bin/sh: rspec: command not found
The console shows the following command was run:
cd '/Users/user/Dropbox/code/app/' && rspec spec/controllers/profile_controller_spec.rb -l 163
When I run that command in Terminal, it works fine. Any why it wouldn’t work in Sublime?
How are you starting the sublime?
Following url should help you in starting sublime from terminal, which should fix this problem
http://www.sublimetext.com/docs/2/osx_command_line.html