Jens Kraemer wrote: > On Wed, Jan 24, 2007 at 11:39:45PM +0000, John Leach wrote: >> http://weblog.rubyonrails.org/2006/8/11/reloading-revamped > I have a live application here running aaf trunk, Rails 1.2.1 and Ferret > 0.10.14 without problems. I'm not running Mongrel, though. > > But it really looks like some dependencies issue. can you make sure > there is no other version of ferret lying around? It'd be also > interesting to know where ferret is installed (systemwide or frozen to > your app). > > Jens >
Well I finally got around to testing this again after finishing a work item today. I upgraded my ferret gem from 0.10.13 to 0.10.14. I also installed acts_as_ferret 0.3.1 as a gem today(it wasn't available as a gem before). I added require 'acts_as_ferret' in my environment.rb and my project ran in rails 1.1.6 fine. Next I switched to rails 1.2.1(changed RAILS_GEM_VERSION = '1.2.1' in environment.rb) and did a rake rails:update (which didn't do anything related to my problem, I think). Ferret now seems to be working. However, I'm getting another error: #<NameError: cannot remove Object::HWBColorspace> ["/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:423:in `remove_const'", "/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:423:in `remove_constant'", "/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:274:in `remove_unloadable_constants!'", "/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:274:in `remove_unloadable_constants!'", "/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:73:in `clear'", "/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/dispatcher.rb:60:in `reset_application!'", "/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/dispatcher.rb:116:in `reset_after_dispatch'", blah blah blah HWBColorspace is part of the Rmagick gem. I think rails 1.2.1 breaks a lot of backward compatibility. Now I need to decide if I want to upgrade my Rmagick gem and hope that I won't run into another compatibility problem. May be I should stay with 1.1.6 as 1.2.1 is at least 50% slower than 1.1.6. Thanks. -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

