ruby-usb - libusb binding for Ruby
ruby-usb is a libusb binding library for Ruby.
Author
Tanaka Akira <[email protected]>
Home Page
License
LGPL
Feature
-
direct (non-rubyish) binding
-
rubyish interface (work in progress)
Requirements
-
ruby : www.ruby-lang.org/
-
libusb 0.1 : libusb.sourceforge.net/
Installing via make
-
Download:
** latest release: www.a-k-r.org/ruby-usb/ruby-usb-0.2.tar.gz **development version: github.com/akr/ruby-usb
*Install
% ruby extconf.rb
% make
% make install
Installing as a gem
% gem install ruby-usb
On OSX you may need to specify your architecure. For example:
% ARCHFLAGS="-arch x86_64" gem install ruby-usb
Reference Manual
See rdoc/ or www.a-k-r.org/ruby-usb/rdoc/
See Also
-
USB.org : www.usb.org/
-
AC Power Control through USB : www.gniibe.org/ac-power-by-usb/ac-power-control.html
-
How To Control USB Missile Launcher on Linux : blog.taragana.com/index.php/archive/how-to-control-usb-missile-launcher-on-linux/