[TxMt] RSpec Bundle errors

Arthur Pétry arthur.petry at bolloretelecom.eu
Tue Oct 30 14:09:02 UTC 2007


> Hi all,
>
> I'm trying to run rspec bundle command but am getting errors.
>
> /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/
> TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
> runner.rb:33:in `chdir' from /Users/alastair/Library/Application
> Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
> runner.rb:33:in `run' from /Users/alastair/Library/Application
> Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
> runner.rb:12:in `run_file' from /tmp/temp_textmate.U7M7Xe:4
>
>
> Does anyonene have any ideas what might be causing this?

Hi Alastair.

Same problem here (RSpec-1.0.8 and RSpec.tmbundle from trunk @ 2796)

Resolved by changing one line in runner.rb see patch :

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: application/octet-stream
Size: 564 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20071030/254b0a75/attachment.diff>
-------------- next part --------------



But I'm very new to Rspec, so I don't have any idea of why we have to  
do that and I don't know if it breaks something.


Arthur


More information about the textmate mailing list