开发者

uninitialized constant ThinkingSphinx::Deltas::DelayedDelta

开发者 https://www.devze.com 2023-02-08 11:56 出处:网络
I\'m attempting to get Thinking Sphinx working w/ Delayed Jobs but I am not having any success. I keep getting the following error:

I'm attempting to get Thinking Sphinx working w/ Delayed Jobs but I am not having any success. I keep getting the following error:

uninitialized constant ThinkingSphinx::Deltas::DelayedDelta

I have thinking-sphinx (2.0.2), del开发者_如何学JAVAayed_job (2.1.3), and ts-delayed-delta (1.1.1) installed. I have restarted sphinx using rake ts:restart. I don't really know what else to try. Any suggestions?


Hey Kyle, I'm using the exact same stack with no problems whatsoever. Please, make sure you have something like this in your Gemfile:

gem 'ts-delayed-delta', '1.1.1', :require => 'thinking_sphinx/deltas/delayed_delta' 

If that doesn't help it'd be nice if you provided us with some more context. Backtrace would be nice.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号