[rspec-users] RSpec Texmate Bundle errors

Alastair Moore alastair at kozmo.co.uk
Tue Oct 30 12:13:48 EDT 2007

On 30 Oct 2007, at 14:20, Arthur Pétry wrote:

> I've the same problem as Alastair when running rspec command :
> 	http://lists.macromates.com/pipermail/textmate/2007-October/022585.html
> ../spec/mate/runner.rb:34:in `run':   undefined method `parse' for
> Spec::Runner::OptionParser:Class
> I fixed this for me by changing the offending line to :
> 	::Spec::Runner::CommandLine.run(argv, STDERR, stdout)
> (see http://lists.macromates.com/pipermail/textmate/2007-October/022985.html
>  )
> But I'm not sure at all for this fix.
> Did someone else have the same problem ?

Hi Arthur,

I've since upgraded to Leopard and installed Rspec/Textmate etc. I  
tried your patch but unfortunately it caused more errors. I'm still  
having the same errors on a reasonably fresh Leopard install.

/Users/alastair/Library/Application Support/TextMate/Bundles/ 
RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in `run':  
undefined method `parse' for Spec::Runner::OptionParser:Class  
(NoMethodError) from /Users/alastair/Library/Application Support/ 
runner.rb:33:in `chdir' from /Users/alastair/Library/Application  
runner.rb:33:in `run' from /Users/alastair/Library/Application Support/ 
runner.rb:17:in `run_focussed' from /tmp/temp_textmate.QzJ0Zt:4

This is using ruby 1.8.6 (2007-06-07 patchlevel 36) [universal- 
darwin9.0] on the full release of 10.5 Leopard. RSpec bundle is 2799  
and  RSpec-1.0.8 (r2338) - BDD for Ruby http://rspec.rubyforge.org/

Little frustrating!


More information about the rspec-users mailing list