[newbie] rspec textmate bundle problem


I’ve just installed the rspec textmate bundle from svn, and I’m
getting the following error when I try to run a single example:

require': No such file to load -- rubygems (LoadError) from /Users/oliver/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/mate.rb:2 from /tmp/temp_textmate.xVeAZb:3:inrequire’ from

I’m using a custom locomotive bundle with the rails 2.0.2 and rspec
1.1.3 gems installed, together with the respective rspec_on_rails
plugin. I’ve been searching for a solution for a couple of hours, and
i’ve tried setting both TM_RUBY and TM_RSPEC_HOME as suggested in
other posts, but that didn’t solve it. At one point the error changed,
complaining about a missing rails 2.0.2 gem though it’s installed and
declared in the environment config, but I can’t remember now what
prompted it.

appreciate any pointers with this, please bear with me as I’m new to
the list and still learning my way around testing and rspec… :wink:

  • Oliver

…2 seconds after posting I found this thread from the peepcode users


and so I set the same variables in my .bashrc, and created a new
project, which got the bundle to work when opening the project from
the command line. it still doesn’t work from locomotive though.

2008/2/25, Oliver B. [email protected]:

There is also this:


On Tue, Feb 26, 2008 at 12:41 AM, Oliver B.