On Thu, Feb 15, 2007 at 07:53:43PM +0100, Subbu Balakrishnan wrote:
> Hi,
> 
> 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
> 
> /opt/csw/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/runner.rb:27:
> undefined local variable or method `vendor' for #<Object:0x8090300>
> (NameError)
>         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


-- 
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
[EMAIL PROTECTED] | www.webit.de
 
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to