List Info

Thread: Trouble mith mongrel and ferret




Trouble mith mongrel and ferret
country flaguser name
Germany
2007-10-04 10:03:37
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/li
b/../../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/li
b/../../activesupport/lib/active_support/dependencies.rb:147
:in
`require'
/home/remington/xopnp/config/../vendor/plugins/acts_as_ferre
t/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/li
b/../../activesupport/lib/active_support/dependencies.rb:147
:in
`require'
/home/remington/xopnp/config/../vendor/plugins/acts_as_ferre
t/init.rb:21:in
`load_plugin'
/home/remington/xopnp/config/../vendor/rails/railties/lib/in
itializer.rb:348:in
`load_plugin'
/home/remington/xopnp/config/../vendor/rails/activerecord/li
b/../../activesupport/lib/active_support/core_ext/kernel/rep
orting.rb:11:in
`silence_warnings'
/home/remington/xopnp/config/../vendor/rails/railties/lib/in
itializer.rb:348:in
`load_plugin'
/home/remington/xopnp/config/../vendor/rails/railties/lib/in
itializer.rb:158:in
`load_plugins'
/home/remington/xopnp/config/../vendor/rails/railties/lib/in
itializer.rb:158:in
`each'
/home/remington/xopnp/config/../vendor/rails/railties/lib/in
itializer.rb:158:in
`load_plugins'
/home/remington/xopnp/config/../vendor/rails/railties/lib/in
itializer.rb:102:in
`process'
/home/remington/xopnp/config/../vendor/rails/railties/lib/in
itializer.rb:42:in
`send'
/home/remington/xopnp/config/../vendor/rails/railties/lib/in
itializer.rb:42:in
`run'
/home/remington/xopnp/config/../config/environment.rb:13
/home/remington/xopnp/config/../vendor/rails/railties/lib/ta
sks/misc.rake:3:in
`require'
/home/remington/xopnp/config/../vendor/rails/railties/lib/ta
sks/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.
-- 
Posted via http://www.ruby-forum.com
/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Deploying Rails" group.
To post to this group, send email to
rubyonrails-deploymentgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-deployment-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment
?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Trouble mith mongrel and ferret
user name
2007-10-04 11:55:05
On 10/4/07, Remigi Illi <ruby-forum-incomingandreas-s.net> wrote:
>
> 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)

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 :-P

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 Lavena
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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Deploying Rails" group.
To post to this group, send email to
rubyonrails-deploymentgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-deployment-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment
?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Trouble mith mongrel and ferret
country flaguser name
Germany
2007-10-15 05:48:32
I heard a lot of good things about:

http://www.sphinxsearch.
com/

ferret vs. sphinx is like
apache vs. nginx

try it
-- 
Posted via http://www.ruby-forum.com
/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Deploying Rails" group.
To post to this group, send email to
rubyonrails-deploymentgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-deployment-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment
?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )