diff --git a/rubberin b/rubberin index 1d5ef2d..4b3c91b 100755 --- a/rubberin +++ b/rubberin @@ -29,7 +29,7 @@ # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA require 'getoptlong' -require 'inotify' +require 'rb-inotify' require 'pathname' # Small necessary Pathname class extension. @@ -186,7 +186,7 @@ end ## Main event loop # Add input file with dependancies to the watch list and start event loop. -i = Inotify.new +i = INotify::Notifier.new dirs = files.map { |file| File.dirname(file) } dirmap = {} dirs.each do |dir|