Hi guys,
I am new in Ruby,
I can deploy from linux using capistrano
Ruby version 1.9.1
capistrano version 2.5.14
but form Windows XP i got following errors:
C:\project\canpages\portal>cap sandcode deploy
- executing
sandcode' triggering start callbacks for
deploy’ - executing `multistage:ensure’
- executing `deploy’
- executing `deploy:update’
** transaction: start - executing `deploy:update_code’
- getting (via checkout) revision to
C:/DOCUME~1/mshoeybi/LOCALS~1/Temp/20100
205141723
executing locally: xcopy .
“C:/DOCUME~1/mshoeybi/LOCALS~1/Temp/2010020514172
3” /S/I/Y/Q/E
235 File(s) copied - processing exclusions…
compressing C:/DOCUME~1/mshoeybi/LOCALS~1/Temp/20100205141723 to
C:/DOCUME~1
/mshoeybi/LOCALS~1/Temp/20100205141723.zip
executing locally: zip -qr 20100205141723.zip 20100205141723
servers: [“sandcode.canpages.ca”]
** sftp upload C:/DOCUME~1/mshoeybi/LOCALS~1/Temp/20100205141723.zip ->
/tmp/20
100205141723.zip
error
failed
*** [deploy:update_code] rolling back - executing “rm -rf
/home/html/sandcode.canpages.ca/portal/releases/2010020514
1723; true”
servers: [“sandcode.canpages.ca”]
[sandcode.canpages.ca] executing command
command finished
C:/Program
Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/lib/capistran
o/transfer.rb:160:inabort!': undefined method
abort!’ for
nil:NilClass (NoMet
hodError)
from C:/Program
Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/
lib/capistrano/transfer.rb:211:inhandle_error' from C:/Program Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/ lib/capistrano/transfer.rb:48:in
rescue in block in process!’
from C:/Program
Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/
lib/capistrano/transfer.rb:44:inblock in process!' from C:/Program Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/ lib/capistrano/transfer.rb:43:in
loop’
from C:/Program
Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/
lib/capistrano/transfer.rb:43:inprocess!' from C:/Program Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/ lib/capistrano/transfer.rb:11:in
process’
from C:/Program
Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/
lib/capistrano/configuration/actions/file_transfer.rb:40:inblock in transfer' from C:/Program Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/ lib/capistrano/configuration/connections.rb:172:in
block in
execute_on_servers’
Thanks in advance