[rspec-users] Fresh rspec on rails install blows up

Stefan Magnus Landrø stefan.landro at gmail.com
Wed Dec 12 03:34:01 EST 2007


For your info,

CURRENT means RSpec version 1.0.8.

Try one of Aslak's solution for fixing this.

HTH,

Stefan

2007/12/11, Keith McDonnell <keith at dancingtext.com>:
>
> Hi there,
>
> I installed the rspec on rails plugin for a new project today and guess
> what -- it blows up!
>
> All by other rspec on rails projects are working fine.
>
> I updated all gems & still no joy. Any ideas how I can troubleshoot this
> one ?
>
> Here's my setup:
>
> - ruby 1.8.4 (2005-12-24) [powerpc-darwin8.7.0]
> - Rails 1.2.5
>
> Installed with svn:
> ruby script/plugin install
> svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec
>
> ruby script/plugin install
> svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec_on_rails
>
> ruby script/generate rspec
>
> [Created a model]
>
> Here's the error:
>
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4
> /lib/active_support/dependencies.rb:404:in
> `to_constant_name': Anonymous modules have no name to be referenced by
> (ArgumentError)
>          from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4
> /lib/active_support/dependencies.rb:214:in
> `qualified_name_for'
>          from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4
> /lib/active_support/dependencies.rb:476:in
> `const_missing'
>          from
>
> /Users/kmcd/work/banknote/vendor/plugins/rspec/lib/spec/example/example_group_factory.rb:7:in
> `reset'
>          from
>
> /Users/kmcd/work/banknote/vendor/plugins/rspec/lib/spec/example/example_group_factory.rb:59
>          from
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `require'
>          from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4
> /lib/active_support/dependencies.rb:495:in
> `require'
>          from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4
> /lib/active_support/dependencies.rb:342:in
> `new_constants_in'
>          from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4
> /lib/active_support/dependencies.rb:495:in
> `require'
>           ... 47 levels...
>          from
> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.0.8
> /lib/spec/runner/behaviour_runner.rb:19:in
> `run'
>          from
> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.0.8
> /lib/spec/runner/command_line.rb:17:in
> `run'
>          from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.0.8/bin/spec:3
>          from /usr/local/bin/spec:16
>
> Regards,
>
> Keith
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>



-- 
Bekk Open Source
http://boss.bekk.no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071212/dac8811c/attachment-0001.html 


More information about the rspec-users mailing list