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 :
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
On Oct 30, 2007, at 9:09 AM, Arthur Pétry wrote:
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)
I emailed David Chelimsky about these issues and he had this to say:
"Sure - that guy is using a released version of rspec with a more recent trunk version of the bundle! Neither of which are coming from the TM repo, so his email's should be going to the rspec lists."
Hope that helps.
James Edward Gray II