rubygem-rb-inotify is a ruby wrapper for libinotify, using ffi.