Hi Team: Do you have a recommended way to do serial port I/O in a MacRuby environment? I was using ruby-serialport in the RubyCocoa environment but the gem gives me the following error: Password: ERROR: While executing gem ... (RuntimeError) MacRuby does not support native extensions yet. Be patient :-) new-host:~ robertrice$ Thanks, Bob Rice
Hi Robert, ruby-serialport is not going to work anytime soon, but I think there are alternatives in the Cocoa world that you could use. I did some googling and found http://sourceforge.net/projects/ amserial/. You might be able to use this framework inside your app, assuming it works with garbage collection. Laurent On Oct 17, 2009, at 1:53 PM, Robert Rice wrote:
Hi Team:
Do you have a recommended way to do serial port I/O in a MacRuby environment? I was using ruby-serialport in the RubyCocoa environment but the gem gives me the following error:
Password: ERROR: While executing gem ... (RuntimeError) MacRuby does not support native extensions yet. Be patient :-) new-host:~ robertrice$
Thanks, Bob Rice _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (2)
-
Laurent Sansonetti
-
Robert Rice