I am having a strange problem starting the acts_as_ferret Drb server on
a particular Linux machine (Debian Etch). The same setup works fine on
my Mac (OSX).
Without the Rails application running (yes, I've checked several times)
I get the following error if I try to start the ferret server and one of
my models contains :remote => true for acts_as_ferret:
>>
script/ferret_start
/usr/lib/ruby/1.8/drb/drb.rb:736:in `open': druby://localhost:3009 -
#<Errno::ECONNREFUSED: Connection refused - connect(2)>
(DRb::DRbConnError)
from /usr/lib/ruby/1.8/drb/drb.rb:729:in `each'
from /usr/lib/ruby/1.8/drb/drb.rb:729:in `open'
from /usr/lib/ruby/1.8/drb/drb.rb:1189:in `initialize'
from /usr/lib/ruby/1.8/drb/drb.rb:1169:in `new'
from /usr/lib/ruby/1.8/drb/drb.rb:1169:in `open'
from /usr/lib/ruby/1.8/drb/drb.rb:1085:in `method_missing'
from /usr/lib/ruby/1.8/drb/drb.rb:1103:in `with_friend'
from /usr/lib/ruby/1.8/drb/drb.rb:1084:in `method_missing'
... 6 levels...
from
/usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/runner.rb:39
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from script/runner:3
<<
If I remove the :remote => true bit then I can start the Ferret server
with no problems. I just don't understand why the model entry is causing
this - especially as the application isn't running.
ferret 0.11.3
I'm betting this is in the "Duh" section - but I just don't see it.
Thanks
Matthew
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk