# Problem in installlation of ferret search plugin in rails application

**URL:** <https://www.ruby-forum.com/t/problem-in-installlation-of-ferret-search-plugin-in-rails-application/133402>\
**Category:** Rails\
**Created:** [March 31, 2008, 9:46am UTC](https://www.ruby-forum.com/t/problem-in-installlation-of-ferret-search-plugin-in-rails-application/133402 "2008-03-31T09:46:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![norat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/cdc98d/32.png) [@norat](https://www.ruby-forum.com/u/norat)\
**Post date:** [March 31, 2008, 9:46am UTC](https://www.ruby-forum.com/t/problem-in-installlation-of-ferret-search-plugin-in-rails-application/133402/1 "2008-03-31T09:46:56Z")

</div>

When i went to installation ferret in my rails application then i have  
faced a problem that is look like this  
ERROR: While executing gem … (Gem::FilePermissionError)  
You don’t have write permissions into the /var/lib/gems/1.8  
directory.  
i used this command for ferret install  
sudo gem install ferret

---

<div class="post-metadata">

**Author:** ![norat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/cdc98d/32.png) [@norat](https://www.ruby-forum.com/u/norat)\
**Post date:** [March 31, 2008, 4:47pm UTC](https://www.ruby-forum.com/t/problem-in-installlation-of-ferret-search-plugin-in-rails-application/133402/2 "2008-03-31T16:47:18Z")

</div>

If you have any preference in using a search engine for your site, I  
would recommend ultrasphinx, much more stable than ferret.

[http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/files/README.html](http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/files/README.html)

You don’t have enough info here to really help you. what platform,  
etc… Check to see who the dir belongs to ‘ls -l’

Can you install any other gems?

Serge
