Ferret on Rails -- Webrick won't start?


#1

Hello,
I tried using
http://ferret.davebalmain.com/trac/wiki/FerretOnRails
but Webrick won’t start after implementing the plugin?

I tried both versions but to no avail?
All I get is Booting up … and then it dies?

No info in log/development.log?

Does anyone has a working copy of acts_as_ferret or has any ideas on
what’s wrong? I am placing the plugins in
vendor/plugins/acts_as_ferret directory.

Thanks
Frank


#2

You need the ferret gem, have you installed that?
Also, the implementation, when I tried to use it, was somewhat broken. I
have posted an example of working code here:

http://albert.delamednoll.se/articles/2005/12/20/the-ferret-plugin-with-simple-unicode-support

And as the title says, there is simple unicode token support there too,
and you can rather simply extend that to include whatever characters you
need to index.

Albert


#3

I had the same problem when I was trying this. Make sure you have the
required files in the right spot.

{RAILS_ROOT}/vendor/plugins/acts_as_ferret/init.rb
{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb
^–
notice the lib directory


#4

Thanks,
Yes, I have Ferret installed (and working but not with acts_as_*)

I will check out the code you posted and try with it.

Thanks
Frank

Albert R. removed_email_address@domain.invalid wrote: You need the ferret gem, have you
installed that?
Also, the implementation, when I tried to use it, was somewhat broken. I
have posted an example of working code here:

http://albert.delamednoll.se/articles/2005/12/20/the-ferret-plugin-with-simple-unicode-support

And as the title says, there is simple unicode token support there too,
and you can rather simply extend that to include whatever characters you
need to index.

Albert


#5

Hi Jebus,
I think this may be the issue.

Thank you very much for your reply.
Frank

Jebus removed_email_address@domain.invalid wrote: I had the same problem when I was
trying this. Make sure you have the
required files in the right spot.

{RAILS_ROOT}/vendor/plugins/acts_as_ferret/init.rb
{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb
^–
notice the lib directory