Trying to get the Capistrano deploy.rb file setup for Thinking
Sphinx.  Here is how I understood it based on instructions:

load 'vendor/plugins/thinking-sphinx/lib/thinking_sphinx/deploy/
capistrano'

I put this line at the top of deploy.rb file.

when I run cap deploy, I get the following error:

brupa...@bcr-d810:~/work/ssfilemgr$ cap deploy
/usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.4/lib/capistrano/
configuration/loading.rb:18:in `instance': Please require this file
from within a Capistrano recipe (LoadError)
        from ./vendor/plugins/thinking-sphinx/lib/thinking_sphinx/deploy/
capistrano.rb:1:in `load'
        from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.4/lib/
capistrano/configuration/loading.rb:172:in `load_from_file'
        from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.4/lib/
capistrano/configuration/loading.rb:89:in `load'
        from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.4/lib/
capistrano/configuration/loading.rb:86:in `load'
        from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.4/lib/
capistrano/configuration/loading.rb:86:in `each'
        from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.4/lib/
capistrano/configuration/loading.rb:86:in `load'
        from ./config/deploy.rb:1:in `load'

How do I require this file from within a Capistrano recipe?

Thanks in advance for your time.

Bharat

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to