hardbap / firmata

A Ruby implementation of the Firmata protocol.
MIT License
42 stars 23 forks source link

require 'stringio' #8

Closed shokai closed 11 years ago

shokai commented 11 years ago

Hi

when call Firmata::Board#connect, it raise error

uninitialized constant Firmata::Board::StringIO (NameError)

require 'stringio'

this worked.

require 'rubygems'
require 'firmata'
require 'stringio'

arduino = Firmata::Board.new '/dev/tty.usbmodem621'
arduino.connect
hardbap commented 11 years ago

Thanks for the patch! There seems to be a difference between Ruby 1.9.2 (which you are using) and 1.9.3 (which I'm using) because there is no error with 1.9.3. I'll add a note that this lib targets 1.9.3.

hardbap commented 11 years ago

Fixed in #9462d33.