Ruby bindings for libftdi: www.intra2net.com/en/developer/libftdi/ Also requires swig: www.swig.org/

The gem includes example scripts. Where they end up depends on your system, but can be found with: gem contents ftdi | grep examples