Perryn Fowler wrote an equivalent library works in the same way but has better compatibility across platforms. Check out blinky: github.com/perryn/blinky
brew install libusb-compat gem install blinky
-
Provides a simple interface to turn on/off the red, green and blue/yellow LEDs.
-
Supports RGY and RGB devices.
-
Can control multiple build lights attached to the same computer.
-
Works well on Linux.
-
No support for Mac OSX.
-
ruby-usb: www.a-k-r.org/ruby-usb
gem install ruby-usb
See example.rb
.