I feel like this should be a really easy question, so hopefully I'm just 
doing something dumb. I'm trying to set up Thinking Sphinx 3 deploys with 
Capistrano 3, based on the instructions 
found http://pat.github.io/thinking-sphinx/deployment.html. I've created a 
thinking_sphinx.yml file, set up Capistrano to copy it from the shared 
directory into the deployment's config directory, and set up the other 
shared paths with capistrano as appropriate. I've verified that the files 
and directories get sym linked properly. However, when I deploy, nothing 
thinking-sphinx related happens. When I try to run "cap target 
thinking_sphinx:generate" after deployment, I get the following error:

cap staging thinking_sphinx:generate
DEBUG [4f89c47b] Running /usr/bin/env [ -d ~/.rvm ] on 97.107.134.192
DEBUG [4f89c47b] Command: [ -d ~/.rvm ]
DEBUG [4f89c47b] Finished in 1.042 seconds with exit status 0 (successful).
DEBUG [7c3b5828] Running ~/.rvm/bin/rvm version on 97.107.134.192
DEBUG [7c3b5828] Command: ~/.rvm/bin/rvm version
DEBUG [7c3b5828]
DEBUG [7c3b5828] rvm 1.25.22 (stable) by Wayne E. Seguin 
<[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
DEBUG [7c3b5828]
DEBUG [7c3b5828] Finished in 0.468 seconds with exit status 0 (successful).
rvm 1.25.22 (stable) by Wayne E. Seguin <[email protected]>, Michal 
Papis <[email protected]> [https://rvm.io/]
DEBUG [e394bc3a] Running ~/.rvm/bin/rvm current on 97.107.134.192
DEBUG [e394bc3a] Command: ~/.rvm/bin/rvm current
DEBUG [e394bc3a] ruby-2.1.1
DEBUG [e394bc3a] Finished in 0.462 seconds with exit status 0 (successful).
ruby-2.1.1
DEBUG [8a200f67] Running ~/.rvm/bin/rvm 1.9.3-p545@knotweed do ruby 
--version on 97.107.134.192
DEBUG [8a200f67] Command: ~/.rvm/bin/rvm 1.9.3-p545@knotweed do ruby 
--version
DEBUG [8a200f67] ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-linux]
DEBUG [8a200f67] Finished in 0.733 seconds with exit status 0 (successful).
ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-linux]
cap aborted!
undefined method `to_sym' for nil:NilClass
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bundler/gems/capistrano-1f86d32fd48d/lib/capistrano/configuration/servers/role_filter.rb:25:in
 
`each'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bundler/gems/capistrano-1f86d32fd48d/lib/capistrano/configuration/servers/role_filter.rb:25:in
 
`flat_map'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bundler/gems/capistrano-1f86d32fd48d/lib/capistrano/configuration/servers/role_filter.rb:25:in
 
`required'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bundler/gems/capistrano-1f86d32fd48d/lib/capistrano/configuration/servers/role_filter.rb:15:in
 
`roles'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bundler/gems/capistrano-1f86d32fd48d/lib/capistrano/configuration/servers/role_filter.rb:11:in
 
`for'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bundler/gems/capistrano-1f86d32fd48d/lib/capistrano/configuration/servers.rb:42:in
 
`fetch_roles'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bundler/gems/capistrano-1f86d32fd48d/lib/capistrano/configuration/servers.rb:19:in
 
`roles_for'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bundler/gems/capistrano-1f86d32fd48d/lib/capistrano/configuration.rb:53:in
 
`roles_for'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bundler/gems/capistrano-1f86d32fd48d/lib/capistrano/dsl/env.rb:43:in
 
`roles'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/gems/thinking-sphinx-3.1.1/lib/thinking_sphinx/capistrano/v3.rb:47:in
 
`block (2 levels) in <top (required)>'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bundler/gems/capistrano-1f86d32fd48d/lib/capistrano/application.rb:15:in
 
`run'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bundler/gems/capistrano-1f86d32fd48d/bin/cap:3:in
 
`<top (required)>'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bin/cap:23:in `load'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bin/cap:23:in `<main>'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bin/ruby_executable_hooks:15:in
 
`eval'
/home/benp/.rvm/gems/ruby-1.9.3-p547@knotweed-admin/bin/ruby_executable_hooks:15:in
 
`<main>'
Tasks: TOP => thinking_sphinx:generate
(See full trace by running task with --trace)

Am I missing some step here/doing something dumb? 

Appreciate any help. The examples I've found on the internet are pretty 
short on details for capistrano 3 & thinking sphinx 3 configuration...

-ben

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Reply via email to