Forum: Ferret Ferret Demo application - failed

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
113505a3eef606c8d1cb05ae564aa096?d=identicon&s=25 Dimitar Yordanov (chudomir_)
on 2009-02-06 00:59
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:in
`const_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:in `require'
        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:in
`load'
        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!
This topic is locked and can not be replied to.