Well, Pat, I seem to have two problems. When I comment out the spell
check code, Thinking Sphinx gives me the the following error:
You have a nil object when you didn't expect it!
The error occurred while evaluating nil.constantize
Note that I am now using the gem; my gem config is the following:
# Thinking Sphinx and search spelling correction
config.gem 'thinking-sphinx', :lib => 'thinking_sphinx',
:version => '1.3.10'
config.gem 'raspell'
config.gem 'thinking-sphinx-raspell', :lib => 'thinking_sphinx/
raspell',
:source => 'http://
gemcutter.org',
:version => '>= 1.0.0'
When I do not comment out the spell check code, however, it is Aspell
that encounters a problem, which I suspect happens because I run Snow
Leopard. The error is the following:
dyld: lazy symbol binding failed: Symbol not found: _new_aspell_config
Referenced from: /Library/Ruby/Gems/1.8/gems/raspell-1.1/lib/
raspell.bundle
Expected in: flat namespace
dyld: Symbol not found: _new_aspell_config
Referenced from: /Library/Ruby/Gems/1.8/gems/raspell-1.1/lib/
raspell.bundle
Expected in: flat namespace
Trace/BPT trap
There is a thread on this problem here:
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/1d36bd1d535fc5c1
This also shuts down my server. I don't quite know whether these are
two distinct problems or whether there is just one. In any case, when
I comment out the spell check, Thinking Sphinx should at least search,
but it does not.
Another note: I did not specify --source http://gemcutter.org when
installing the gem, but the gem installed fine anyway, which I think
is because gemcutter is already in my source list. Just letting you
know in case that might matter.
--
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.