I'm new to rspec.&nbsp; I just installed these:<br><br>rspec (0.7.4)&nbsp;&nbsp;&nbsp; RSpec-0.7.4 (r1201) (rspec gem)<br>rspec_on_rails .3 plugin (on vendor/plugin)<br><br>I've set up a simple spec - spec/library/test_spec.rb:<br><br>require 
File.dirname(__FILE__) + '/../spec_helper'<br>context &quot;test context&quot; do<br><br>&nbsp; setup do<br>&nbsp;&nbsp;&nbsp; #nothing<br>&nbsp; end<br><br>&nbsp; specify &quot;nothing to specify&quot; do<br>&nbsp;&nbsp;&nbsp; #nothing<br>&nbsp; end<br>end&nbsp; <br><br><br>
When I run this spec as follows:<br><br>spec spec/library/test_spec.rb<br><br>(or any spec for that matter), I get the following error:<br><br>$&gt; spec spec/library/test_spec.rb<br><br>./spec/library/../../vendor/plugins/rspec_on_rails/lib/rspec_on_rails.rb:38:in `run': You have a nil object when you didn't expect it! (NoMethodError)
<br>You might have expected an instance of Array.<br>The error occured while evaluating nil.each&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/gems/1.8/gems/rspec-0.7.4/lib/spec/runner/context_runner.rb:23:in `run'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/gems/1.8/gems/rspec-
0.7.4/lib/spec/runner/context_runner.rb:22:in `run'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/gems/1.8/gems/rspec-0.7.4/lib/spec/runner/command_line.rb:26:in `run'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/gems/1.8/gems/rspec-0.7.4/bin/spec:4
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/bin/spec:18<br><br>I don't have any idea what is causing this, or how to fix it.&nbsp; Any suggestions would be greatly appreciated.&nbsp; Thanks.<br>