[TxMt] Rspec: Requiring a gem

Todd Breiholz talanb at gmail.com
Sat Apr 7 04:01:06 UTC 2007


I am trying to wrap my mind around the RSpec gem, so I've installed
the RSpec bundle. I have a simple spec (see below) that requires the
RSCM gem that I have installed. When I run the spec from the command
line it runs find, but when I run it from within TextMate using the
RSpec bundle I get a load error (No such file to load -- rscm).

Do I need to do something special to access my gems from my spec?

spec1.rb
=======
require 'rscm'

context "A CVS log" do
 specify "should parse a path name"
 end
end


Thanks

Todd



More information about the textmate mailing list