Net SFTP / Deprec

Hi there,

I am trying to get deprec gem to work on windows, and I'm told by the
gem author that it's a Net::SFTP problem (it won't put???). Is there
anyone on here that knows a workaround -- I'm running WinXp on my
machine and the server is a blank install of Ubuntu 6.06.

The following is the error it came up with

  * executing task install_mongrel_start_script
    servers: ["192.168.21.34"]
  * uploading /tmp
C:/IR/ruby/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/operations/abstrac
t.rb:78:in `do_status': Net::SFTP::Operations::StatusException (4,
"Failure") (N
et::SFTP::Operations::StatusException (4, "Failure"))
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/sessi
on.rb:221:in `do_status'
        from
C:/IR/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`to_proc'
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/proto
col/01/impl.rb:92:in `call'
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/proto
col/01/impl.rb:92:in `call_on_status'
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/proto
col/03/impl.rb:37:in `do_status'
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/proto
col/01/impl.rb:189:in `dispatch'
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/proto
col/driver.rb:189:in `do_data'
        from
C:/IR/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`to_proc'
         ... 34 levels...
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/c
li.rb:12:in `execute!'
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/bin/cap:11
        from C:/IR/ruby/bin/cap:18:in `load'
        from C:/IR/ruby/bin/cap:18

I'm stuck on this same issue. Anybody had luck getting this to work, or
just getting deprec to work on Windows in general? I'm using a local
"edge" copy of the deprec gem (1.2.2) to avoid the termios dependency.

···

On Jan 20, 3:32 pm, "pdg" <pgattph...@gmail.com> wrote:

Hi there,

I am trying to getdeprecgem to work onwindows, and I'm told by the
gem author that it's a Net::SFTP problem (it won't put???). Is there
anyone on here that knows a workaround -- I'm running WinXp on my
machine and the server is a blank install of Ubuntu 6.06.

The following is the error it came up with

  * executing task install_mongrel_start_script
    servers: ["192.168.21.34"]
  * uploading /tmp
C:/IR/ruby/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/operations/abstrac
t.rb:78:in `do_status': Net::SFTP::Operations::StatusException (4,
"Failure") (N
et::SFTP::Operations::StatusException (4, "Failure"))
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/sessi
on.rb:221:in `do_status'
        from
C:/IR/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`to_proc'
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/proto
col/01/impl.rb:92:in `call'
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/proto
col/01/impl.rb:92:in `call_on_status'
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/proto
col/03/impl.rb:37:in `do_status'
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/proto
col/01/impl.rb:189:in `dispatch'
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/net-sftp-1.1.0/lib/net/sftp/proto
col/driver.rb:189:in `do_data'
        from
C:/IR/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`to_proc'
         ... 34 levels...
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/c
li.rb:12:in `execute!'
        from
C:/IR/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/bin/cap:11
        from C:/IR/ruby/bin/cap:18:in `load'
        from C:/IR/ruby/bin/cap:18