#530: Net::SSH doesn't work with MacRuby ---------------------------------+------------------------------------------ Reporter: sk8tr1...@… | Owner: lsansone...@… Type: defect | Status: new Priority: critical | Milestone: Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ It's sad to say but net-ssh (Net::SSH) doesn't work with MacRuby (yes, I did install it through macgems) for some reason, but does work fine in pure ruby. The error is below:
{{{ $ macruby -v MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] $ macirb irb(main):001:0> require 'rubygems' => true irb(main):002:0> require 'net/ssh' => true irb(main):003:0> Net::SSH.start('my-server', 'user', :password => "password") NoMethodError: protected method `initialize_ssh' called for #<TCPSocket:0x2003be380> from /Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/ruby/Gems/1.9.0/gems /net-ssh-2.0.17/lib/net/ssh/transport/packet_stream.rb:20:in `extended:' from core:in `extend:' from /Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/ruby/Gems/1.9.0/gems /net-ssh-2.0.17/lib/net/ssh/transport/session.rb:57:in `initialize:' from core:in `__new__:' from /Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/ruby/Gems/1.9.0/gems /net-ssh-2.0.17/lib/net/ssh.rb:155:in `start:' }}} Any ideas why this is happening, and when a fix can be expected? Thanks a lot! -- Ticket URL: <http://www.macruby.org/trac/ticket/530> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel