buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Lucas" <greg.lu...@gmail.com>
Subject Re: SFTP upoad failing
Date Tue, 24 Nov 2009 18:14:42 GMT
In case anyone else hits this: The error is misleading, see

<http://rubyforge.org/tracker/?func=detail&aid=23981&group_id=274&atid=1125>

I applied the patch to get a better error message, now at least I get

Net::SSH::AuthenticationFailed

Not sure what changed to cause this, but it's a start. (I get a different  
error running on windows, but that seems to be a known issue with  
jruby/ssh).


On Tue, 24 Nov 2009 12:19:07 -0500, Greg Lucas <greg.lucas@gmail.com>  
wrote:

> I have a build that uses SFTP to upload to a maven repo. This was  
> working at one point, but since updating from buildr 1.2.10 to buildr  
> 1.3.5 + JRuby 1.4 I'm getting the following:
>
>   undefined method `shutdown!' for nil:NilClass
>
> Looks like Net::SSH.start is returning a nil session, the trace is:
>
>> buildr-1.3.5-jruby-1.4.0/lib/ruby/gems/1.8/gems/net-sftp-2.0.2/lib/net/sftp.rb:43:in
 
>> `start'
>> buildr-1.3.5-jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.3.5-java/lib/buildr/core/transports.rb:442:in
 
>> `write_internal'
>
> Has anyone else run in to this?
>
> Thanks,
>


-- 
Greg Lucas

Mime
View raw message