Two acts_as_ferret questions!

hi, guys:

two acts_as_ferret questions!
1, ruby script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
sh: svn: command not found
i can not install acts_as_ferret to my Rails project.
what’s wrong? i’m useing rhel 4!

2, i downloaded the acts_as_ferret-0.4.0.tgz at
http://rubyforge.org/frs/?group_id=2916&release_id=10617
and uploaded to the /testapp/vendor/plugins/acts_as_ferret folder,
when i run the commond:
RAILS_ENV=development vendor/plugins/acts_as_ferret/script/ferret_start

RAILS_ENV=development vendor/plugins/acts_as_ferret/script/ferret_start
/usr/local/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/runner.rb:45:
(eval):23: You have a nil object when you didn’t expect it!
(NoMethodError)
You might have expected an instance of Array.
The error occurred while evaluating nil.[] from
/usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
eval' from /usr/local/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/runner.rb:45 from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in gem_original_require’
from
/usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require’
from script/runner:3

i’m totally fonfused by the acts_as_ferret! how can i download the right
version of acts_as_ferret?

and here’s the ruby & rails version
ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]

rails -v
Rails 1.2.3

i do not know why!

On Tue, Jul 17, 2007 at 11:48:18AM +0200, Chengcai He wrote:

hi, guys:

two acts_as_ferret questions!
1, ruby script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
sh: svn: command not found
i can not install acts_as_ferret to my Rails project.
what’s wrong? i’m useing rhel 4!

looks like you don’t have a subversion client installed.

2, i downloaded the acts_as_ferret-0.4.0.tgz at
http://rubyforge.org/frs/?group_id=2916&release_id=10617
and uploaded to the /testapp/vendor/plugins/acts_as_ferret folder,
when i run the commond:
RAILS_ENV=development vendor/plugins/acts_as_ferret/script/ferret_start

RAILS_ENV=development vendor/plugins/acts_as_ferret/script/ferret_start
/usr/local/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/runner.rb:45:
(eval):23: You have a nil object when you didn’t expect it!
(NoMethodError)

did you install ferret? Acts_as_ferret is just a plugin using the Ferret
search engine.

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

thanks to Jens K.:

I have installed the ferret.
gem install ferret!