Does anyone else have issues running rspec textmate bundle? I''ve got revision 2997, but the blasted thing just won''t run. It is checked out to my /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle When it runs I get the below error... "textmate" is not a valid class name /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/options.rb:173:in `load_class'': "textmate" is not a valid class name (RuntimeError) from /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/options.rb:137:in `parse_format'' from /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:93:in `initialize'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1260:in `call'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1260:in `parse_in_order'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1247:in `catch'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1247:in `parse_in_order'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1241:in `order!'' from /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:118:in `order!'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1332:in `permute!'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1353:in `parse!'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1343:in `parse'' from /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:10:in `parse'' from /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in `run'' from /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:33:in `chdir'' from /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:33:in `run'' from /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:12:in `run_file'' from /tmp/temp_textmate.AZtCnz:4 -- Zach Dennis http://www.continuousthinking.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071128/3b0cb43f/attachment.html
On Nov 28, 2007 7:43 AM, Zach Dennis <zach.dennis at gmail.com> wrote:> Does anyone else have issues running rspec textmate bundle? I''ve got > revision 2997, but the blasted thing just won''t run. > > It is checked out to my /Users/zdennis/Library/Application > Support/TextMate/Bundles/RSpec.tmbundle > > When it runs I get the below error... > > "textmate" is not a valid class name > /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/options.rb:173:in > `load_class'': "textmate" is not a valid class name (RuntimeError) from > /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/options.rb:137:in > `parse_format'' from > /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:93:in > `initialize'' from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1260:in > `call'' from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1260:in > `parse_in_order'' from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1247:in > `catch'' from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1247:in > `parse_in_order'' from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1241:in > `order!'' from > /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:118:in > `order!'' from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1332:in > `permute!'' from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1353:in > `parse!'' from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1343:in > `parse'' from > /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:10:in > `parse'' from /Users/zdennis/Library/Application > Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in > `run'' from /Users/zdennis/Library/Application > Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:33:in > `chdir'' from /Users/zdennis/Library/Application > Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:33:in > `run'' from /Users/zdennis/Library/Application > Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:12:in > `run_file'' from /tmp/temp_textmate.AZtCnz:4Hello Zach. Are you running Rspec 1.0.8 with the Trunk version of the Textmate Bundle?> > > -- > Zach Dennis > http://www.continuousthinking.com > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
On Nov 28, 2007 11:56 AM, Brian Takita <brian.takita at gmail.com> wrote:> > Hello Zach. Are you running Rspec 1.0.8 with the Trunk version of the > Textmate Bundle? > > > >It wasn''t 1.0.8, but it was a revision from about a month ago, give or take a few days. I''ve updated to trunk and that problem has gone away. Running all examples works, but running focused examples blows up with the below error. This appears under the green "RSpec Results" header: /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:108:in `run'': You have a nil object when you didn''t expect it! (NoMethodError) You might have expected an instance of Array. The error occurred while evaluating nil.empty? from /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:22:in `run'' from /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:21:in `each'' from /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:21:in `run'' from /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/options.rb:85:in `run_examples'' from /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/command_line.rb:19:in `run'' from /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in `run'' from /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:33:in `chdir'' from /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:33:in `run'' from /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:17:in `run_focussed'' from /tmp/temp_textmate.zWPVDL:4 -- Zach Dennis http://www.continuousthinking.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071128/5b93d549/attachment-0001.html
I am having a (probably much more elementary) problem with the bundle. When I try and "run Behavior Description" (shift-ctrl-option R) I get an error from TextMate: /Library/Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/ Support/lib/spec_mate.rb:2:in `require'': No such file to load -- rubygems (LoadError) from /Library/Application Support/TextMate/ Bundles/Ruby RSpec.tmbundle/Support/lib/spec_mate.rb:2 from /tmp/ temp_textmate.b2MJZi:3:in `require'' from /tmp/temp_textmate.b2MJZi:3 Some kind of path or config problem I am pretty sure... TM_RUBY is set up correctly in TextMate/Preferences/Advanced: TM_RUBY=/opt/local/bin/ruby Any quick idea? Thanks, -- Pito
On Nov 28, 2007 11:16 AM, Zach Dennis <zach.dennis at gmail.com> wrote:> > On Nov 28, 2007 11:56 AM, Brian Takita <brian.takita at gmail.com> wrote: > > > > > > > > > > Hello Zach. Are you running Rspec 1.0.8 with the Trunk version of the > > Textmate Bundle? > > > > > > > > It wasn''t 1.0.8, but it was a revision from about a month ago, give or take > a few days. I''ve updated to trunk and that problem has gone away. Running > all examples works, but running focused examples blows up with the below > error. This appears under the green "RSpec Results" header: > > /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:108:in > `run'': You have a nil object when you didn''t expect it! (NoMethodError) You > might have expected an instance of Array. The error occurred while > evaluating nil.empty? from > /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:22:in > `run'' from > /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:21:in > `each'' from > /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:21:in > `run'' from > /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/options.rb:85:in > `run_examples'' from > /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/command_line.rb:19:in > `run'' from /Users/zdennis/Library/Application > Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in > `run'' from /Users/zdennis/Library/Application > Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:33:in > `chdir'' from /Users/zdennis/Library/Application > Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:33:in > `run'' from /Users/zdennis/Library/Application > Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:17:in > `run_focussed'' from /tmp/temp_textmate.zWPVDL:4I think this was just fixed. Try updating again.> > > -- > > > Zach Dennis > http://www.continuousthinking.com
On Nov 28, 2007 1:15 PM, R. Pito Salas <pitosalas at gmail.com> wrote:> I am having a (probably much more elementary) problem with the > bundle. When I try and "run Behavior Description" (shift-ctrl-option > R) I get an error from TextMate: > > /Library/Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/ > Support/lib/spec_mate.rb:2:in `require'': No such file to load -- > rubygems (LoadError) from /Library/Application Support/TextMate/ > Bundles/Ruby RSpec.tmbundle/Support/lib/spec_mate.rb:2 from /tmp/ > temp_textmate.b2MJZi:3:in `require'' from /tmp/temp_textmate.b2MJZi:3 > > Some kind of path or config problem I am pretty sure... > > TM_RUBY is set up correctly in TextMate/Preferences/Advanced: > TM_RUBY=/opt/local/bin/ruby > > Any quick idea?Pito, have you updated your Textmate Bundle?> > Thanks, > > -- Pito > > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >