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.