Ferret Demo application - failed


#1

Hi all,

I decided to try the demo project that comes with the Ferret plugin and
following the instructions in the README_DEMO file faced this problem.

I guess it is luck of experience but I could not solve this problem.
Any ideas are welcome.
Thank you in advance.

Regards
Chudomir

ferret 0.4.3
ruby 1.8.6
Rails 2.1.0

[root@moonlight demo]# rake
(in /home/Ruby/Ferret/actsasferret/doc/demo)
/usr/bin/ruby -Ilib:test
“/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb”
“test/functional/admin/backend_controller_test.rb”
“test/functional/contents_controller_test.rb”
“test/functional/searches_controller_test.rb”
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:278:in
load_missing_constant': uninitialized constant ActsAsFerret (NameError) from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:467:inconst_missing’
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:479:in
const_missing' from /home/Ruby/Ferret/actsasferret/doc/demo/config/environment.rb:56 from ./test/functional/admin/../../test_helper.rb:2:inrequire’
from ./test/functional/admin/…/…/test_helper.rb:2
from ./test/functional/admin/backend_controller_test.rb:1:in
require' from ./test/functional/admin/backend_controller_test.rb:1 from /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb:5:inload’
from
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb:5
from
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb:5:in
`each’
from
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb:5
/usr/bin/ruby -Ilib:test
“/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader.rb”
Errors running test:units and test:functionals!