# Ferret on Rails -- Webrick won't start?

**URL:** <https://www.ruby-forum.com/t/ferret-on-rails-webrick-wont-start/101841>\
**Category:** Rails\
**Created:** [February 7, 2006, 1:30am UTC](https://www.ruby-forum.com/t/ferret-on-rails-webrick-wont-start/101841 "2006-02-07T01:30:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![softwareengineer\_99](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@softwareengineer\_99](https://www.ruby-forum.com/u/softwareengineer_99)\
**Post date:** [February 7, 2006, 1:30am UTC](https://www.ruby-forum.com/t/ferret-on-rails-webrick-wont-start/101841/1 "2006-02-07T01:30:30Z")

</div>

Hello,  
I tried using  
[http://ferret.davebalmain.com/trac/wiki/FerretOnRails](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

---

<div class="post-metadata">

**Author:** ![softwareengineer\_99](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@softwareengineer\_99](https://www.ruby-forum.com/u/softwareengineer_99)\
**Post date:** [February 7, 2006, 11:18am UTC](https://www.ruby-forum.com/t/ferret-on-rails-webrick-wont-start/101841/2 "2006-02-07T11:18:58Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![softwareengineer\_99](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@softwareengineer\_99](https://www.ruby-forum.com/u/softwareengineer_99)\
**Post date:** [February 7, 2006, 3:54am UTC](https://www.ruby-forum.com/t/ferret-on-rails-webrick-wont-start/101841/3 "2006-02-07T03:54:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![softwareengineer\_99](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@softwareengineer\_99](https://www.ruby-forum.com/u/softwareengineer_99)\
**Post date:** [February 7, 2006, 5:26pm UTC](https://www.ruby-forum.com/t/ferret-on-rails-webrick-wont-start/101841/4 "2006-02-07T17:26:54Z")

</div>

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](mailto: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](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

---

<div class="post-metadata">

**Author:** ![softwareengineer\_99](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@softwareengineer\_99](https://www.ruby-forum.com/u/softwareengineer_99)\
**Post date:** [February 7, 2006, 5:26pm UTC](https://www.ruby-forum.com/t/ferret-on-rails-webrick-wont-start/101841/5 "2006-02-07T17:26:55Z")

</div>

Hi Jebus,  
I think this may be the issue.

Thank you very much for your reply.  
Frank

Jebus [removed\_email\_address@domain.invalid](mailto: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
