Ruby Serial Port

Ever wanted to get Ruby talking to a serial Device?


The key step is getting the Development Kit set up, which will allow you to install the serialport gem from source

  1. Download & Install Ruby. If you’re on windows, the RubyInstaller is great
  2. Download & Install the DevKit. Find the installer on the page above, use these installation instructions
  3. Install the serialport gem as normal:
    gem install serialport

And you should be good to go!

Leave a Reply

Your email address will not be published.