Re: [rspec-users] I can't make RSpec 1.0.8 run in Rails 1.2.3
This will sound silly but adding require File.dirname(__FILE__) + '/../spec_helper' at the very top of my tests fixed the problem. Thanks for your help. Daniel -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users
Re: [rspec-users] I can't make RSpec 1.0.8 run in Rails 1.2.3
No worries, thanks for the link. Daniel -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users
[rspec-users] Rspec Textmate bundle errors
Hello all, Having a problem with the Rspec textmate bundle and having quizzed the guys in #textmate to no success about the errors, I've been suggested to try you guys! When I run the Run Behaviour Description command, I get the following 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.YtFHjY:4 Would anyone have any ideas what the problem might be? All the paths are correct as I can run ruby scripts from within textmate. Cheers in advance! Alastair - Alastair Moore Freelance web design, development and consultancy t. 07983 983945 e. [EMAIL PROTECTED] w. http://www.kozmo.co.uk skype. alastair_kozmo ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users
Re: [rspec-users] Rspec Textmate bundle errors
On 10/10/07, Alastair Moore [EMAIL PROTECTED] wrote: Hello all, Having a problem with the Rspec textmate bundle and having quizzed the guys in #textmate to no success about the errors, I've been suggested to try you guys! When I run the Run Behaviour Description command, I get the following 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.YtFHjY:4 Would anyone have any ideas what the problem might be? All the paths are correct as I can run ruby scripts from within textmate. We've been making some changes in trunk, so if you're using trunk make sure that you have the same revision of rspec and the textmate bundle. Seems like your textmate bundle is newer than your version of rspec. Cheers in advance! Alastair - Alastair Moore Freelance web design, development and consultancy t. 07983 983945 e. [EMAIL PROTECTED] w. http://www.kozmo.co.uk skype. alastair_kozmo ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users
Re: [rspec-users] Rspec Textmate bundle errors
On 11 Oct 2007, at 01:03, David Chelimsky wrote: We've been making some changes in trunk, so if you're using trunk make sure that you have the same revision of rspec and the textmate bundle. Seems like your textmate bundle is newer than your version of rspec. Hi David, Thanks for your reply. I've uninstalled my rspec gem, checked out from trunk and built a new rspec gem (rspec-1.0.9 r2715) and installed this. I noticed that an rspec bundle was also downloaded from trunk and so I removed the rspec bundle from textmate and installed this one. Opening a simple spec file and running the run behaviour description, I get a new error: /Users/alastair/Library/Application Support/TextMate/Pristine Copy/ Bundles/RSpec.tmbundle/Support/lib/spec/mate.rb:4:in `join': can't convert nil into String (TypeError) from /Users/alastair/Library/ Application Support/TextMate/Pristine Copy/Bundles/RSpec.tmbundle/ Support/lib/spec/mate.rb:4 from /tmp/temp_textmate.jLcyE7:3:in `require' from /tmp/temp_textmate.jLcyE7:3 Any ideas what might be up with this? At least there are less errors! Thanks in advance, Alastair ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users