Use rubyserial instead of serialport