Forum: Ferret Running the DRb script

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Af060c95cac219d77e59c7541b8ada4d?d=identicon&s=25 Subbu Balakrishnan (bsubbu)
on 2007-02-15 19:53

I seem to have rather silly problem. I'm trying to run the script for
the DRb server in the acts_as_ferret trunk for setting up a centralized
index server. When I try to run script/runner
vendor/plugins/acts_as_ferret/script/ferret_server, I get a ruby error

undefined local variable or method `vendor' for #<Object:0x8090300>
/opt/csw/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `eval'
        from script/runner:3

I'm guessing that eval is not able to run the ferret_server script. Is
there something basic that I'm doing wrong here?

C9dd93aa135988cabf9183d3210665ca?d=identicon&s=25 Jens Kraemer (Guest)
on 2007-02-16 10:15
(Received via mailing list)
On Thu, Feb 15, 2007 at 07:53:43PM +0100, Subbu Balakrishnan wrote:
>         from
> /opt/csw/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `eval'
>         from
> /opt/csw/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/runner.rb:27

I'm not sure but it might be that it won't work with 1.1.6. At least I
didn't test with this version of Rails.

You could try to copy the script to RAILS_ROOT/lib and just do
script/runner "require 'ferret_server'"
maybe this will work.


Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66 |

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
This topic is locked and can not be replied to.