Re: [MacRuby] #530: Net::SSH doesn't work with MacRuby
#530: Net::SSH doesn't work with MacRuby ---------------------------------+------------------------------------------ Reporter: sk8tr1981@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: MacRuby 1.0 Component: MacRuby | Keywords: ---------------------------------+------------------------------------------ Comment(by jhemmelg@…): the expression [[[ [255].pack("c") << "\u2054" ]]] fails in both macruby and 1.9.3p0. However, Net::SSH works in 1.9.3p0 but it doesn't work in macruby. I have submitted a patch to fix the problem by having ASCII-8BIT (BINARY) strings infect anything they come in contact with and the result is ASCII- 8BIT. This makes the NET::SSH example work. I don't know if there is any other code out there that this change will mess with. -- Ticket URL: <http://www.macruby.org/trac/ticket/530#comment:16> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby