From: samuel_x_winters_x@... Date: 2005-03-29T09:39:45+09:00 Subject: Re: rake with net/ssh = problems? shell = session.shell.sync session.shell.sync gives a shell whose shell commands appear block and synchronize when command completes. out = shell.pwd out is a (net/ssh) struct, and stdout is a string member. From my irb session: irb(main):002:0> require 'net/ssh' => true irb(main):003:0> s = Net::SSH.start('svr.com','usr','pwd') => # # # irb(main):006:0> puts out.stdout /a/directory/location\n => nil But in the rake task version 'out' is a string showing my current local directory!