Closed blanchma closed 13 years ago
Are you using TS as a gem? Or a plugin?
As a gem.
On 04/20/2011 09:54 PM, freelancing-god wrote:
Are you using TS as a gem? Or a plugin?
It looks like you're requiring TS's capistrano file from vendor - which isn't right, because you didn't install it as a gem (docs really should be updated). Try this instead in your deploy.rb file:
require 'thinking_sphinx/deploy/capistrano
I already have the require in deploy.rb.
It looks like you have Thinking Sphinx installed as a plugin as well as a gem, perhaps? Try deleting vendor/plugins/thinking-sphinx.
I don't have installed as a plugin. Only as a gem.
What's the output of ls vendor/plugins
? The reason I'm double-checking, is because of this line from the stack trace:
from vendor/plugins/thinking-sphinx/recipes/thinking_sphinx.rb:3
I solved the problem. Thx.
On 04/27/2011 08:27 PM, freelancing-god wrote:
What's the output of
ls vendor/plugins
? The reason I'm double-checking, is because of this line from the stack trace:from vendor/plugins/thinking-sphinx/recipes/thinking_sphinx.rb:3
How did you solve it?
I have another recipes inside the deploy about thinking_sphinx obtained from some web. I removed all and then the usual require works fine.
On 04/27/2011 08:36 PM, freelancing-god wrote:
How did you solve it?
Ah, great :)