Hi,
had my local linux box setup and ferret was working like a champ via
Webrick.
However, when I moved to a different linux box using Apache web server,
search no worky..giving the error listed below. The site itself comes up
fine.
I've tried deleting all the dirs under /index and restarted the
webserver to see if re-indexing would help, but that made matters worse.
Re-indexing didn't work ie didn't produce any of the normal subdirs
under /index like it usually does.
Is there some additional step that i need to do to Apache to get this
working.
Thanks
Pat
>>>>>>>>>>>> ERROR <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
uninitialized constant LockError
RAILS_ROOT: /home/mysite/www/public/../config/..
Application Trace | Framework Trace | Full Trace
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing'
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
`const_missing'
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:674:in
`ensure_reader_open'
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:383:in
`[]'
/usr/lib/ruby/1.8/monitor.rb:229:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:382:in
`[]'
#{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:386:in
`find_id_by_contents'
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:371:in
`search_each'
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:370:in
`search_each'
/usr/lib/ruby/1.8/monitor.rb:229:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:366:in
`search_each'
#{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:384:in
`find_id_by_contents'
#{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/class_methods.rb:248:in
`find_by_contents'
#{RAILS_ROOT}/app/models/event.rb:6:in `full_text_search'
#{RAILS_ROOT}/app/controllers/page_controller.rb:140:in `search'
This error occured while loading the following files:
ferret/index/lock_error.rb
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk