Ruby-ffi based lib to access Tokyo Cabinet and Tyrant. The ffi-based structures are available via the Rufus::Tokyo namespace. There is a Rufus::Edo namespace that interfaces with Hirabayashi-san's native Ruby interface, and whose API is equal to the Rufus::Tokyo one. Finally rufus-tokyo includes ffi-based interfaces to Tokyo Dystopia (thanks to Jeremy Hinegardner).
Gemfile gem 'rufus-tokyo', '~> 1.0.4'
install gem install rufus-tokyo -v 1.0.4