[rspec-devel] Running specs with TextMate bundle

Brandon Keepers bkeepers at gmail.com
Tue Nov 7 22:01:06 EST 2006


Uh, oh.  I broke it!

I upgraded to 0.7.0 and now I get this:

/opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.0/lib/spec/expectations/ 
sugar.rb:13:in `call': undefined method `fixtures' for #  
(NoMethodError) from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.0/ 
lib/spec/expectations/sugar.rb:13:in `_method_missing' from /opt/ 
local/lib/ruby/gems/1.8/gems/rspec-0.7.0/lib/spec/expectations/ 
sugar.rb:9:in `method_missing' from /opt/local/lib/ruby/gems/1.8/gems/ 
rspec-0.7.0/lib/spec/runner/context_eval.rb:37:in `method_missing'  
from ./stories_controller_spec.rb:9 from /opt/local/lib/ruby/gems/1.8/ 
gems/rspec-0.7.0/lib/spec/runner/context.rb:14:in `initialize' from / 
Users/brandon/projects/stories/config/../vendor/plugins/rspec/lib/ 
spec/rails/context_factory.rb:17:in `create' from /Users/brandon/ 
projects/stories/vendor/plugins/rspec/lib/extensions/kernel.rb:4:in  
`context' from ./stories_controller_spec.rb:8 from /opt/local/lib/ 
ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' from / 
opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.0/bin/spec:14 from /opt/ 
local/lib/ruby/gems/1.8/gems/rspec-0.7.0/bin/spec:8 from /opt/local/ 
bin/spec:18
RSpecMate :: Running Specifications
An error occurred
private method `split' called for nil:NilClass

I've tried restarting TextMate and checked the TM_SUPPORT_PATH.  Any  
ideas?

Brandon

On Nov 7, 2006, at 11:45 AM, Luke Redpath wrote:

> Nice...that will teach me not to write my bundle commands spec- 
> first ;)
>
> Cheers
> Luke



More information about the rspec-devel mailing list