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
On 7. Apr 2007, at 06:01, Todd Breiholz wrote:
[...] Do I need to do something special to access my gems from my spec?
Try add ‘require 'rubygems'’ to the top of your source.
Alternatively you can set RUBYOPT to rubygems in Preferences → Advanced → Shell Variables (that’s likely what you did for the shell case).