Hi!
I am facing a wired issue with net scp 1.0.4 is unable to parse $HOME in
dest path. getting below exception.
c:/ivy/setupautomation/ruby/lib/ruby/gems/1.9.1/gems/net-scp-1.0.4/lib/net/scp.rb:385:in
`await_response_state':
scp: $HOME/#{file[1]}/#{file[2]}: No such file
or directory (RuntimeError)
聽聽聽聽聽聽聽聽from
c:/ivy/setupautomation/ruby/lib/ruby/gems/1.9.1/gems/net-scp-1.0.4/lib/net/scp.rb:356:in
`block (3 levels) in start_command'
聽聽聽聽聽聽聽聽from
c:/ivy/setupautomation/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.2.1/lib/net/ssh/connection/channel.rb:311:in
`call'
聽聽聽聽聽聽聽聽from
c:/ivy/setupautomation/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.2.1/lib/net/ssh/connection/channel.rb:311:in
`process'
聽聽聽聽聽聽聽聽from
c:/ivy/setupautomation/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.2.1/lib/net/ssh/connection/session.rb:214:in
`block in preprocess'
聽聽聽聽聽聽聽聽from
c:/ivy/setupautomation/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.2.1/lib/net/ssh/connection/session.rb:214:in
`each'
聽聽聽聽聽聽聽聽from
c:/ivy/setupautomation/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.2.1/lib/net/ssh/connection/session.rb:214:in
`preprocess'
聽聽聽聽聽聽聽聽from
c:/ivy/setupautomation/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.2.1/lib/net/ssh/connection/session.rb:197:in
`process'
聽聽聽聽聽聽聽聽from
c:/ivy/setupautomation/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.2.1/lib/net/ssh/connection/session.rb:161:in
`block in loop'
聽聽聽聽聽聽聽聽from
c:/ivy/setupautomation/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.2.1/lib/net/ssh/connection/session.rb:161:in
`loop'
聽聽聽聽聽聽聽聽from
c:/ivy/setupautomation/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.2.1/lib/net/ssh/connection/session.rb:161:in
`loop'
聽聽聽聽聽聽聽聽from
c:/ivy/setupautomation/ruby/lib/ruby/gems/1.9.1/gems/net-ssh-2.2.1/lib/net/ssh/connection/channel.rb:269:in
`wait'
路路路
--
Posted via http://www.ruby-forum.com/.