thinking-sphinx icon indicating copy to clipboard operation
thinking-sphinx copied to clipboard

Disable loading specifed plugins from vendor directory

Open dmexe opened this issue 17 years ago • 3 comments

I used the patched version of after_commit plugin and they crash when I try load the thinking-sphinx gem. So, сan be to list plug-ins which it is not necessary to load in the THINKING_SPHINX_DISABLED_PLUGIN constant ?

dmexe avatar Jul 09 '09 11:07 dmexe

I've run into the same problem. It is impossible now to use custom after_commit/delayed_job as plugins with TS gem. Installing both TS and after_commit as plugins OR installing both of them as gems could help.

oruen avatar Jul 09 '09 11:07 oruen

What I'm going to do is bundle after_commit as it's own gem, and set it as a dependency for Thinking Sphinx, instead of bundling. This way, you can overwrite the after_commit gem yourself.

pat avatar Sep 04 '09 16:09 pat

Okay, the latest gem of Thinking Sphinx no longer has any vendored libraries. If you want a custom version of after_commit, you can use it (although the after_commit gem I've pushed to gemcutter has most github forks merged in).

pat avatar Nov 10 '09 10:11 pat