[Radiant] Problems with search_behavior
Giovanni Intini
intinig at gmail.com
Wed Oct 4 17:45:53 CDT 2006
I installed the search behavior, ferret and acts_as_ferret but I can't get
it to work on my shared host (Site5). It works fine on my mac, but when
trying to launch script/server -e production I get this error on the shared
host:
=> Booting WEBrick...
Load patches ...
script/../config/../vendor/plugins/search_behavior/lib/patches/00_render_to_string.rb
script/../config/../vendor/plugins/search_behavior/lib/patches/01_behavior_receives_from_site_controller.rb
script/../config/../vendor/plugins/search_behavior/lib/patches/02_site_controller_gives_to_behavior.rb
script/../config/../vendor/plugins/search_behavior/lib/patches/03_template_load_path.rb
./script/../config/../lib/inheritable_class_attributes.rb:51:in `inherited':
undefined local variable or method `child' for Behavior::Base:Class
(NameError)
from
./script/../config/../vendor/plugins/search_behavior/lib/search.rb:3
from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
from
./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
`require'
from
script/../config/../vendor/plugins/search_behavior/init.rb:13:in
`load_plugin'
from
./script/../config/../vendor/rails/railties/lib/initializer.rb:348:in
`load_plugin'
from
./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in
`silence_warnings'
from
./script/../config/../vendor/rails/railties/lib/initializer.rb:348:in
`load_plugin'
from
./script/../config/../vendor/rails/railties/lib/initializer.rb:158:in
`load_plugins'
... 7 levels...
from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
from
./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
`require'
from
./script/../config/../vendor/rails/railties/lib/commands/server.rb:30
from script/server:3
The problem comes from this line
class Search < Behavior::Base
But obviously there is some problem I can't troubleshoot. Any clue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20061005/ec53e0c3/attachment.html
More information about the Radiant
mailing list