Im en utilisant la pierre précieuse pour penser sphynx:Comment puis-je inclure Capistrano penser des tâches lors de l'utilisation du sphinx gemme
sudo gem install freelancing-god-thinking-sphinx \
--source http://gems.github.com
Alors:
require 'vendor/plugins/thinking-sphinx/recipes/thinking_sphinx'
Ce qui est prescribed on the website ne fonctionne pas.
Comment inclure les tâches sphinx capistrano thinking dans mon fichier deploy.rb lors de l'utilisation de la gemme?
EDIT
Ajout: require 'thinking_sphinx/deploy/capistrano'
me donne:
/usr/lib/ruby/gems/1.8/gems/freelancing-god-thinking-sphinx-1.1.12/lib/thinking_sphinx/deploy/capistrano.rb:1: undefined method `namespace' for main:Object (NoMethodError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/gems/1.8/gems/capistrano-2.5.8/lib/capistrano/configuration/loading.rb:152:in `require'
Gem ou plug-in ?? – khelll