# Trouble mith mongrel and ferret

**URL:** <https://www.ruby-forum.com/t/trouble-mith-mongrel-and-ferret/116342>\
**Category:** Deployment\
**Created:** [October 4, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/trouble-mith-mongrel-and-ferret/116342 "2007-10-04T17:03:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![remington](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f17d59/32.png) [@remington](https://www.ruby-forum.com/u/remington)\
**Post date:** [October 4, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/trouble-mith-mongrel-and-ferret/116342/1 "2007-10-04T17:03:37Z")

</div>

Hi there,  
i just got a new server and I’m having some trouble with the mongrel  
server and the ferret gem.

The server is running debian etch. I installed ruby 1.8.5 with the dev  
package, rails 1.2.3. I also installed the mongrel gem. But I not able  
to start a mongrel server.

When I try to start the server he causes following error:

/usr/lib/ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem_original_require': no such file to load -- http11 (LoadError) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in`require’  
from /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:11  
from /usr/lib/ruby/1.8/rubygems/custom\_require.rb:33:in  
`gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:33:in`require’  
from /var/lib/gems/1.8/gems/mongrel-1.0.1/bin/mongrel\_rails:9  
from /var/lib/gems/1.8/bin/mongrel\_rails:18:in `load’  
from /var/lib/gems/1.8/bin/mongrel\_rails:18

Also there is a problem with the ferret gem. I installed it without  
errors. But when I put the acts\_as\_ferret plugin in the plugin folder  
rake doesn’t work anymore. I think that the server won’t start either…  
but I have tis problem with mongrel I told you before. With the  
acts\_as\_ferret plugin intalled if I run, for example, rake db:migrate  
–trace I get following

rake aborted!  
no such file to load – ferret\_ext  
/usr/lib/ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in`require’  
/home/remington/xopnp/config/…/vendor/rails/activerecord/lib/…/…/activesupport/lib/active\_support/dependencies.rb:147:in  
`require' /var/lib/gems/1.8/gems/ferret-0.11.4/lib/ferret.rb:25 /usr/lib/ruby/1.8/rubygems/custom_require.rb:33:in`gem\_original\_require’  
/usr/lib/ruby/1.8/rubygems/custom\_require.rb:33:in `require' /home/remington/xopnp/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:147:in`require’  
/home/remington/xopnp/config/…/vendor/plugins/acts\_as\_ferret/lib/acts\_as\_ferret.rb:24  
/usr/lib/ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in`require’  
/home/remington/xopnp/config/…/vendor/rails/activerecord/lib/…/…/activesupport/lib/active\_support/dependencies.rb:147:in  
`require' /home/remington/xopnp/config/../vendor/plugins/acts_as_ferret/init.rb:21:in`load\_plugin’  
/home/remington/xopnp/config/…/vendor/rails/railties/lib/initializer.rb:348:in  
`load_plugin' /home/remington/xopnp/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in`silence\_warnings’  
/home/remington/xopnp/config/…/vendor/rails/railties/lib/initializer.rb:348:in  
`load_plugin' /home/remington/xopnp/config/../vendor/rails/railties/lib/initializer.rb:158:in`load\_plugins’  
/home/remington/xopnp/config/…/vendor/rails/railties/lib/initializer.rb:158:in  
`each' /home/remington/xopnp/config/../vendor/rails/railties/lib/initializer.rb:158:in`load\_plugins’  
/home/remington/xopnp/config/…/vendor/rails/railties/lib/initializer.rb:102:in  
`process' /home/remington/xopnp/config/../vendor/rails/railties/lib/initializer.rb:42:in`send’  
/home/remington/xopnp/config/…/vendor/rails/railties/lib/initializer.rb:42:in  
`run' /home/remington/xopnp/config/../config/environment.rb:13 /home/remington/xopnp/config/../vendor/rails/railties/lib/tasks/misc.rake:3:in`require’  
/home/remington/xopnp/config/…/vendor/rails/railties/lib/tasks/misc.rake:3  
/usr/lib/ruby/1.8/rake.rb:387:in `call' /usr/lib/ruby/1.8/rake.rb:387:in`execute’  
/usr/lib/ruby/1.8/rake.rb:387:in `each' /usr/lib/ruby/1.8/rake.rb:387:in`execute’  
/usr/lib/ruby/1.8/rake.rb:357:in `invoke' /usr/lib/ruby/1.8/thread.rb:135:in`synchronize’  
/usr/lib/ruby/1.8/rake.rb:350:in `invoke' /usr/lib/ruby/1.8/rake.rb:364:in`invoke\_prerequisites’  
/usr/lib/ruby/1.8/rake.rb:999:in `each' /usr/lib/ruby/1.8/rake.rb:999:in`send’  
/usr/lib/ruby/1.8/rake.rb:999:in `each' /usr/lib/ruby/1.8/rake.rb:363:in`invoke\_prerequisites’  
/usr/lib/ruby/1.8/rake.rb:356:in `invoke' /usr/lib/ruby/1.8/thread.rb:135:in`synchronize’  
/usr/lib/ruby/1.8/rake.rb:350:in `invoke' /usr/lib/ruby/1.8/rake.rb:1906:in`run’  
/usr/lib/ruby/1.8/rake.rb:1906:in `each' /usr/lib/ruby/1.8/rake.rb:1906:in`run’  
/usr/bin/rake:4

I already tried to search for a solution, but I didn’t find anything.

I would apreciate your help. Thanks.

There is another thing about the ruby/rails configuration. I don’t have  
super user rights, because we share this server between some people and  
I’m not the one who adminstrates it. I tried to boot a Webrick server  
but I don’t have permissions for that. Any tip how to set this up?

It’s the first time I deploy rails on a webhost. I already done It on my  
local pc wich runs windows, didn’t get any trouble with it.

---

<div class="post-metadata">

**Author:** ![remington](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f17d59/32.png) [@remington](https://www.ruby-forum.com/u/remington)\
**Post date:** [October 4, 2007, 6:55pm UTC](https://www.ruby-forum.com/t/trouble-mith-mongrel-and-ferret/116342/2 "2007-10-04T18:55:41Z")

</div>

On 10/4/07, Remigi I. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> /usr/lib/ruby/1.8/rubygems/custom\_require.rb:27:in  
> `gem\_original\_require’: no such file to load – http11 (LoadError)

This is the important part: you’re missing the compiled extension.

That means that ‘gem install mongrel’ yell at you with some error  
about compiling the extension (and to check some log file) and you  
just ignored it 😛

Try reinstallation (uninstall and later install) of mongrel gem and  
see if the extension gets compiled.

If not, you should recheck you have build-essential and ruby-dev  
dependencies installed (apt-get install?).

HTH,

## – Luis L. Multimedia systems

Leaders are made, they are not born. They are made by hard effort,  
which is the price which all of us must pay to achieve any goal that  
is worthwhile.  
Vince Lombardi

---

<div class="post-metadata">

**Author:** ![remington](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f17d59/32.png) [@remington](https://www.ruby-forum.com/u/remington)\
**Post date:** [October 15, 2007, 12:48pm UTC](https://www.ruby-forum.com/t/trouble-mith-mongrel-and-ferret/116342/3 "2007-10-15T12:48:32Z")

</div>

I heard a lot of good things about:

> **[Sphinx | Open Source Search Engine](http://www.sphinxsearch.com/)**
>
> Sphinx is an open source full text search server, designed with performance, relevance (search quality),
> and integration simplicity in mind. Sphinx lets you either batch index and search data stored in files, an SQL database, NoSQL storage --
> or...

ferret vs. sphinx is like  
apache vs. nginx

try it
