# Failing to install act\_as\_ferret

**URL:** <https://www.ruby-forum.com/t/failing-to-install-act-as-ferret/163500>\
**Category:** Ferret\
**Created:** [March 21, 2009, 12:40am UTC](https://www.ruby-forum.com/t/failing-to-install-act-as-ferret/163500 "2009-03-21T00:40:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![itchy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/b3f665/32.png) [@itchy](https://www.ruby-forum.com/u/itchy)\
**Post date:** [March 21, 2009, 12:40am UTC](https://www.ruby-forum.com/t/failing-to-install-act-as-ferret/163500/1 "2009-03-21T00:40:26Z")

</div>

I haven’t used ferret in a about a year but before that I had  
successfully used acts\_as\_ferret and it worked well. But I am failing to  
get newer versions of the plugin to work.

I installed the latest ferret gem

then the acts\_as\_ferret gem (this bit was new since I last used it)

then I added require ‘acts\_as\_ferret’ to enviroment.rb

then I coped aaf\_install into my project and ran it

Installing: ferret\_server  
/usr/local/lib/ruby/1.8/fileutils.rb:1182:in `stat': No such file or directory - ./../script/ferret_server (Errno::ENOENT) from /usr/local/lib/ruby/1.8/fileutils.rb:1182:in `lstat’  
from /usr/local/lib/ruby/1.8/fileutils.rb:1160:in `stat' from /usr/local/lib/ruby/1.8/fileutils.rb:1242:in `copy\_file’  
from /usr/local/lib/ruby/1.8/fileutils.rb:459:in `copy_file' from /usr/local/lib/ruby/1.8/fileutils.rb:383:in `cp’  
from /usr/local/lib/ruby/1.8/fileutils.rb:1377:in  
`fu_each_src_dest' from /usr/local/lib/ruby/1.8/fileutils.rb:1393:in `fu\_each\_src\_dest0’  
from /usr/local/lib/ruby/1.8/fileutils.rb:1375:in  
`fu_each_src_dest' from /usr/local/lib/ruby/1.8/fileutils.rb:382:in `cp’  
from aaf\_install:13:in `install’  
from aaf\_install:19

and when I try to run the normal rails server I get :

~/web\_sites/new\_early$ruby script/server  
=\> Booting lighttpd (use ‘script/server webrick’ to force WEBrick)  
=\> Rails 2.2.2 application starting on [http://0.0.0.0:3000](http://0.0.0.0:3000)  
=\> Call with -d to detach  
=\> Ctrl-C to shutdown server (see config/lighttpd.conf for options)  
/Users/itchy/web\_sites/new\_early/public/…/config/environment.rb:2:in  
`require’: no such file to load – acts\_as\_ferret (LoadError)  
from  
/Users/itchy/web\_sites/new\_early/public/…/config/environment.rb:2  
from /Users/itchy/web\_sites/new\_early/public/dispatch.fcgi:21  
2009-03-20 23:34:58: (mod\_fastcgi.c.1048) the fastcgi-backend  
/Users/itchy/web\_sites/new\_early/public/dispatch.fcgi failed to start:  
2009-03-20 23:34:58: (mod\_fastcgi.c.1052) child exited with status 1  
/Users/itchy/web\_sites/new\_early/public/dispatch.fcgi  
2009-03-20 23:34:58: (mod\_fastcgi.c.1055) if you try do run PHP as  
FastCGI backend make sure you use the FastCGI enabled version.  
You can find out if it is the right one by executing ‘php -v’ and it  
should display ‘(cgi-fcgi)’ in the output, NOT (cgi) NOR (cli)  
For more information check  
[http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program](http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program)  
2009-03-20 23:34:58: (mod\_fastcgi.c.1060) If this is PHP on Gentoo add  
fastcgi to the USE flags  
2009-03-20 23:34:58: (mod\_fastcgi.c.1356) [ERROR]: spawning fcgi failed.  
2009-03-20 23:34:58: (server.c.834) Configuration of plugins failed.  
Going down.  
Exiting

any ideas?
