For your info,<br><br>CURRENT means RSpec version 1.0.8.<br><br>Try one of Aslak&#39;s solution for fixing this.<br><br>HTH,<br><br>Stefan<br><br><div><span class="gmail_quote">2007/12/11, Keith McDonnell &lt;<a href="mailto:keith@dancingtext.com">
keith@dancingtext.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi there,<br><br>I installed the rspec on rails plugin for a new project today and guess
<br>what -- it blows up!<br><br>All by other rspec on rails projects are working fine.<br><br>I updated all gems &amp; still no joy. Any ideas how I can troubleshoot this<br>one ?<br><br>Here&#39;s my setup:<br><br>- ruby 
1.8.4 (2005-12-24) [powerpc-darwin8.7.0]<br>- Rails 1.2.5<br><br>Installed with svn:<br>ruby script/plugin install<br>svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec<br><br>ruby script/plugin install<br>svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec_on_rails
<br><br>ruby script/generate rspec<br><br>[Created a model]<br><br>Here&#39;s the error:<br><br>/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:404:in<br>`to_constant_name&#39;: Anonymous modules have no name to be referenced by
<br>(ArgumentError)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from<br>/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:214:in<br>`qualified_name_for&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from<br>/usr/local/lib/ruby/gems/1.8/gems/activesupport-
1.4.4/lib/active_support/dependencies.rb:476:in<br>`const_missing&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from<br>/Users/kmcd/work/banknote/vendor/plugins/rspec/lib/spec/example/example_group_factory.rb:7:in<br>`reset&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from<br>/Users/kmcd/work/banknote/vendor/plugins/rspec/lib/spec/example/example_group_factory.rb:59
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from<br>/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from<br>/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in<br>
`require&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from<br>/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in<br>`new_constants_in&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from<br>/usr/local/lib/ruby/gems/1.8/gems/activesupport-
1.4.4/lib/active_support/dependencies.rb:495:in<br>`require&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;... 47 levels...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from<br>/usr/local/lib/ruby/gems/1.8/gems/rspec-1.0.8/lib/spec/runner/behaviour_runner.rb:19:in<br>`run&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
<br>/usr/local/lib/ruby/gems/1.8/gems/rspec-1.0.8/lib/spec/runner/command_line.rb:17:in<br>`run&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.0.8/bin/spec:3<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/bin/spec:16<br><br>
Regards,<br><br>Keith<br>_______________________________________________<br>rspec-users mailing list<br><a href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/rspec-users">
http://rubyforge.org/mailman/listinfo/rspec-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Bekk Open Source<br><a href="http://boss.bekk.no">http://boss.bekk.no</a>