Running Rspec tests in TextMate
For a while I had a problem running my Rspec tests using the TextMate bundle. It was calling the wrong lib for Ruby, even though I had the shell variables set correctly in the TextMate preferences. When I tried to run a spec in TextMate, I got this:
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:377:in
`report_activate_error’: Could not find RubyGem rails (>= 0)
(Gem::LoadError) […]