我有個本地倉庫中有我的應用程序,在C(使用TortoiseSVN創建)部署:\搭接SVN \ GWS錯誤Capistrano的從本地文件夾
我deploy.rb有:
set :user, '<removed>'
set :application, "gws"
set :repository, "file:///c:/lap-svn/gws"
set :server, 'plantality.com'
set :applicationdir, 'gws'
set :use_sudo, false
set :keep_releases, 5
set :deploy_via, :copy
set :scm, :none
當我去部署我得到一個錯誤:
C:\Ruby\GWS>cap deploy:cold
* executing `deploy:cold'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
* getting (via checkout) revision to C:/Users/Mike/AppData/Local/Temp/20100207162735
executing locally: xcopy file:///c:/lap-svn/gws "C:\Users\Mike\AppData\Local\Temp\20100207162735" \S\I\Y\Q\E
Invalid number of parameters
*** [deploy:update_code] rolling back
* executing "rm -rf /home/plantali/gws/releases/20100207162735; true"
servers: ["plantality.com"]
Password:
[plantality.com] executing command
command finished
C:/TurboRDK/lib/ruby/gems/1.8/gems/capistrano-2.5.14/lib/capistrano/recipes/deploy/strategy/copy.rb:94:in `initialize': No such file or directory - C:/Users/Mike/AppData/Local/Temp/20100207162735/REVISION (Errno::ENOENT)
這似乎有文件名爲修訂的問題,但有項目沒有這樣的文件。