我在部署應用程序時使用Capistrano以及capistrano_rsync_with_remote_cache gem。 - > 2.6.0 capistrano_rsync_with_remote_cache 2.3.6 - > 2.4.0
紅寶石1.8.6 - > 1.8.7 ruby- Capistrano的2.5.10:與新的軟件升級部署服務器後新Capistrano版本2.6.0部署錯誤:`同步'沒有通過Capistrano :: Deploy :: SCM :: None(rsync與遠程緩存)實現
問題occourred寶石1.3.5 - > 1.3.7
錯誤消息:
最上面的錯誤:
/var/lib/gems/1.8/gems/capistrano-2.6.0/lib/capistrano/recipes/deploy/scm/base.rb:94:in
sync':
sync' is not implemented by Capistrano::Deploy::SCM::None (NotImplementedError) from/var/lib/gems/1.8/gems/capistrano_rsync_with_remote_cache-2.4.0/lib/capistrano/recipes/deploy/strategy/rsync_with_remote_cache.rb:110:in
從文件rsync_with_remote_cache.rb線:110:
source.sync(revision, local_cache_path)
然而,這是在capistrano_rsync_with_remote_cache其中NotImplementedError不pressent的前一版本(2.3.6)中使用的同一條線上。
有兩個版本
我應該怎樣才能改變用於使它與較新版本重新部署deploy.rb文件?
我剛碰到同樣的問題。你有沒有找到解決方案? – toneplex
@toneplex萬一你仍然遇到這個問題,請檢查我的答案。 –