maltize/sublime-text-2-ruby-tests — Issue #12: Rvm Trouble
Author: jacklin10
Created: 2011-12-08 20:48:46+00:00
State: open

Looks like RVM throws a wrench in things. I set the ruby_rspec_exec to the correct rspec path
but that doesn't seem to help.

Looks like it only looks for the main system gems and not the ones I have for this project:

/Library/Ruby/Site/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find rspec-core

My gem and ruby homes look like this because of rvm:
gem: "/Users/me/.rvm/gems/ruby-1.9.2-p290@dsn"
ruby: "/Users/me/.rvm/rubies/ruby-1.9.2-p290"

I would just install the gems in the system instead, but not all of my projects use the same rspec version.

Not sure if you know about this and had a work around or not.

Thanks!