Hi All:
So I'm running rails 2.1.2, ruby 1.8.7 (2008-08-11 patchlevel 72), and
thinking-sphinx as gem 1.3.13 on both ubuntu 8.10 (production) and osx
leopard (development).
thinking-sphinx runs fine on osx, but any search on ubuntu generates a
stack trace like this:
------------
Sphinx Querying: 'hst @status PUBLISHED'
NoMethodError (undefined method `local_options' for nil:NilClass):
/usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.13/lib/
thinking_sphinx/search.rb:346:in `client'
/usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.13/lib/
thinking_sphinx/search.rb:258:in `populate'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/
core_ext/benchmark.rb:8:in `realtime'
/usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.13/lib/
thinking_sphinx/search.rb:257:in `populate'
/usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.13/lib/
thinking_sphinx/search.rb:380:in `call'
/usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.13/lib/
thinking_sphinx/search.rb:380:in `retry_on_stale_index'
/usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.13/lib/
thinking_sphinx/search.rb:254:in `populate'
/usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.13/lib/
thinking_sphinx/search.rb:186:in `total_entries'
/app/controllers/comments_controller.rb:131:in `search'
----------
Googling around it seems that a similar problem was addressed for
local_options in
http://groups.google.com/group/thinking-sphinx/browse_thread/thread/c1e550f332c08dbe/e60408dea0acccd2?lnk=raot
Any ideas?
Thanks
Forrest
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en.