Error on deployment from windows xp

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 fordeploy’
  • 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:in abort!': undefined methodabort!’ 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:in handle_error' from C:/Program Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/ lib/capistrano/transfer.rb:48:inrescue 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:in block in process!' from C:/Program Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/ lib/capistrano/transfer.rb:43:inloop’
    from C:/Program
    Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/
    lib/capistrano/transfer.rb:43:in process!' from C:/Program Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/ lib/capistrano/transfer.rb:11:inprocess’
    from C:/Program
    Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/
    lib/capistrano/configuration/actions/file_transfer.rb:40:in block in transfer' from C:/Program Files/Ruby19/lib/ruby/gems/1.9.1/gems/capistrano-2.5.14/ lib/capistrano/configuration/connections.rb:172:inblock in
    execute_on_servers’

Thanks in advance

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs