谋杀与卡斯特拉诺结合

时间:2014-09-11 03:40:17

标签: capistrano

当我在capistrano v3.2.1中与谋杀相结合时,我添加"要求'谋杀'"在Capfile中,输入命令" cap production deploy&#34 ;,然后输出以下错误:

root@ubuntu:~/deploy# cap production deploy --trace
cap aborted!
NoMethodError: undefined method `instance' for Capistrano::Configuration:Class
/var/lib/gems/1.9.1/gems/murder-0.1.2/lib/murder.rb:17:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
/root/deploy/Capfile:7:in `<top (required)>', 

给我一​​些细节或建议,谢谢!!!!

1 个答案:

答案 0 :(得分:0)

我很确定这是因为谋杀是针对capistrano 2,而不是capistrano 3