capistrano独角兽任务列表中缺少任务

时间:2015-08-13 04:31:54

标签: ruby-on-rails capistrano unicorn

对于同一版本的capistrano和相同的Rails应用程序,同事cap -vT unicorn的同事得到的结果不同{/ p>

app_name coworker$ cap -vT unicorn
cap unicorn:add_worker    # Add a new worker
cap unicorn:duplicate     # Duplicate Unicorn
cap unicorn:reload        # Reload Unicorn
cap unicorn:remove_worker # Remove amount of workers
cap unicorn:restart       # Restart Unicorn
cap unicorn:show_vars     # Debug Unicorn variables
cap unicorn:shutdown      # Immediately shutdown Unicorn
cap unicorn:start         # Start Unicorn master process
cap unicorn:stop          # Stop Unicorn

我:

app_name agrimm$ cap -vT unicorn
cap unicorn:graceful_stop # Unicorn graceful shutdown
cap unicorn:reload        # Reload Unicorn
cap unicorn:start         # Start Unicorn
cap unicorn:stop          # Stop Unicorn
Extended help may be available for these tasks.
Type `cap -e taskname' to view it.

config/deploy.rbrequire 'capistrano-unicorn'

我的怀疑是我没有从capistrano独角兽那里得到任务,但是出了什么问题?我该如何诊断问题?

0 个答案:

没有答案