From 8d69bbd604e74f192777ab71424683948a441344 Mon Sep 17 00:00:00 2001 From: Luciano Sousa Date: Tue, 25 Sep 2012 14:39:40 -0400 Subject: [PATCH] fix call to deprecated model --- lib/watchr.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/watchr.rb b/lib/watchr.rb index 3d0b4f4..630f3df 100644 --- a/lib/watchr.rb +++ b/lib/watchr.rb @@ -108,7 +108,7 @@ def debug(msg) # def handler @handler ||= - case ENV['HANDLER'] || Config::CONFIG['host_os'] + case ENV['HANDLER'] || RbConfig::CONFIG['host_os'] when /darwin|mach|osx|fsevents?/i if Watchr::HAVE_FSE Watchr::EventHandler::Darwin