I've read some tickets on github that this might be related to the way
the gems are configured in environment.rb, but mine seem to be
correct:
config.gem('thinking-sphinx', :lib => 'thinking_sphinx', :version =>
'1.3.18')
config.gem('ts-delayed-delta', :lib => 'thinking_sphinx/deltas/
delayed_delta', :version => '1.1.0')
On Jul 2, 7:03 pm, gmoniey <[email protected]> wrote:
> Hi Pat,
>
> I'm trying to upgrade from 1.2.11 to the latest version of sphinx. I
> followed all the directions on the thinking_sphinx site, and initially
> search is working fine.
>
> I then started loading other pages on my site (which I don't believe
> use search at all), and I'm getting the following exception:
>
> /usr/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.18/lib/
> thinking_sphinx/active_record.rb:64:in
> `reset_subclasses_without_thinking_sphinx'
> /usr/local/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.18/lib/
> thinking_sphinx/active_record.rb:64:in `reset_subclasses'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/
> action_controller/dispatcher.rb:63:in `cleanup_application'
> /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/
> action_controller/reloader.rb:17:in `close'
> /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/
> mongrel.rb:82:in `process'
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in
> `process_client'
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
> `each'
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in
> `process_client'
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
> `run'
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
> `initialize'
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
> `new'
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in
> `run'
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
> `initialize'
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
> `new'
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in
> `run'
> /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/
> mongrel.rb:34:in `run'
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/server.rb:
> 111
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
>
> The only thing I can think of is that I'm using Rails 2.3.4 (and the
> same version for all dependencies), but TS requires ActiveSupport
> 2.3.8. I will continue to play around, but I was wondering if you had
> any ideas? The stack trace doesn't seem to be much help (at least when
> it comes to my app).
>
> Thanks.
--
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.