改变Capistrano战略

时间:2011-12-13 09:12:28

标签: ruby capistrano

我想更改Capistrano用于复制的默认策略。为此,我在Capfile中包含了以下行

set :strategy, Capistrano::Deploy::Strategy::Copy.new(self)

但它抛出异常

Capfile:17:in `load': uninitialized constant Capistrano::Deploy::Strategy::Copy (NameError)

1 个答案:

答案 0 :(得分:4)