[Ferret-talk] Ferret problems with Rails 1.2.1

Jens Kraemer
Wed, 31 Jan 2007 08:53:02 -0000

On Tue, Jan 30, 2007 at 08:24:45PM +0100, donut donut wrote:
[..]
> 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>
[..]
>
> 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.

I doubt that updating the gem will solve your problem. Rails 1.2 just
has a different way of how it deals with dependencies - afair the main
difference is that it does not try as hard as older versions to resolve
missing classes - so maybe you are missing a require somewhere?


Jens

--
webit! Gesellschaft f?r neue Medien mbH          www.webit.de
Dipl.-Wirtschaftsingenieur Jens Kr?mer       kraemer at webit.de
Schnorrstra?e 76                         Tel +49 351 46766  0
D-01069 Dresden                          Fax +49 351 46766 66