Hi, Lee,
Thank-you very much for your reply. I would have replied to this much earlier, apparently the check to "Email updates to me" didn't take effect. I have confirmed this issue in the ruby-1.9.3-p392 RVM as well, with both net-ssh-2.4.0 and net-ssh-2.6.7 (I believe this problem to extend beyond version 1.8.7 of the interpreter).
Interestingly enough, I have built the most simple possible Capistrano multistage deployment script I think I possibly can, and I can't get it to work using *any* combination of Ruby, Capistrano (and capistrano-ext depending on how far back you go), or net-ssh. When I say any, I mean I can't get this to work at all, no matter what I do. And I've tried many many permutations of platforms, ruby interpreters, and versions net-ssh. I've literally spent hours and hours on this. I must be doing something seriously wrong here, as I would think that if these components didn't play nice together, there would be much more information about this issue available. Just for sanity purposes, I checked my very simple Capistrano script into github if somebody wants to take a look.
In light of this, I would like to pose what a potentially a very simple question; can somebody tell me a combination of the following versions that they know with 100% works, at least on their local system?
1) Ruby (the interpreter itself, preferably an RVM)
2) Capistrano *with* multistage
3) Net-SSH
4) Executing more than a single command on a remote system in a single task
I have checked my simple configuration into github if anybody wants to futz around with it (I'm trying to run the task 'uname' against the UAT stage).
https://github.com/dsulli99/capistrano.gitI must admit that I haven't gone down the dark road of debugging Net::SSH yet, although it's getting there. :-)
Thank-you so much for your time and attention to help me troubleshoot this problem. I must admit I didn't see this one coming.
Dan