Install ruby-rb-inotify by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-rb-inotify
Description:
A Ruby wrapper for Linux's inotify, using FFI
This Ruby library is a simple wrapper over inotify, a Linux kernel subsystem that acts to extend filesystems to notice changes to the filesystem, and report those changes to applications.
Homepage: http://github.com/nex3/rb-inotify
Version: 0.9.7-1
Section: universe/ruby