As is, the Arduino cannot be used directly. The problem is two part. One, stty in OSX doesn't take the -F param, it uses -f instead. Secondly, when the port is opened it is also reset (baud is back down to 9600). The fix is two replace -F with -f and swap lines 8 and 9 (open the port, then execute stty ...) Not sure how to check OS in Ruby or I'd push a patch.
I see that patch and thanks for the info! We have been advising to use serproxy, but I am glad it is unnecessary. One less dependency will mean one step closer to instant installation.
As is, the Arduino cannot be used directly. The problem is two part. One, stty in OSX doesn't take the -F param, it uses -f instead. Secondly, when the port is opened it is also reset (baud is back down to 9600). The fix is two replace -F with -f and swap lines 8 and 9 (open the port, then execute
stty ...
) Not sure how to check OS in Ruby or I'd push a patch.