2011-12-13 96 views
1

我想更改Capistrano用於複製的默認策略。爲此,我已經列入Capfile更改Capistrano策略

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

以下行,但它拋出一個異常

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

回答