Today I was installing the rspec plugin for my railsapp. Installation works fine but after I tried to run ''rake spec'' I got: ------------------------------------------------------ c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.4.2/test/test_help.rb:5: superclass mis match for class TestSession (TypeError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `re quire'' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_suppo rt/dependencies.rb:147:in `require'' from c:/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.4.2/lib/test/rails.rb:2 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re quire'' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_suppo rt/dependencies.rb:147:in `require'' from D:/CODE-X/_stellen-espace/website/stellen-espace/vendor/plugins/rsp ec/lib/extensions/test/rails.rb:2 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `re quire'' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_suppo rt/dependencies.rb:147:in `require'' ... 15 levels... from ./spec/models/job_spec.rb:1 from c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.7.2/lib/spec/runner/command_ line.rb:21:in `run'' from c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.7.2/lib/spec/runner/command_ line.rb:15:in `run'' from c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.7.2/bin/spec:4 rake aborted! RSpec failures ------------------------------------------------------ Superclass mismatch was leading me to the assumption that I defined the class (TestSession) multiple times (through a wrong configuration or so) but I did not find the solution. I have tests and specs now. This should work isn''t it? Does anyone have an idea. If I run ''rake test'' I have the same issue. Thanks in advance. h. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I am working on Windows XP with Rails 1.1.6 and Ruby 1.8.4 and RSpec-0.7.2 and ZenTest (3.4.2) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, 20 Nov 2006 22:17:24 +0100, Chris Huli wrote:> Today I was installing the rspec plugin for my railsapp. Installation > works fine but after I tried to run ''rake spec'' I got:Yep, ZenTest 3.4.2 broke that in rspec. If you can downgrade to 3.4.1, you''ll be fine. Or you can upgrade rspec to trunk, where the dependency on ZenTest has been removed, and you''ll also be fine. Jay Levitt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Once again it was a version problem. I uninstalled ZenTest-3.4.2 and installed ZenTest-3.4.1. This solved the problem. Thanks anyway. Best regards. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---