From 1724b509a1c48390bff1af2dd5f6fd54462ca294 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Mon, 27 Oct 2014 21:04:09 +0100 Subject: [PATCH] Fix obsolete function call. --- lib/qasim/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/qasim/config.rb b/lib/qasim/config.rb index d69a12d..451c2c8 100644 --- a/lib/qasim/config.rb +++ b/lib/qasim/config.rb @@ -34,7 +34,7 @@ module Qasim @maps = [] map_dirs = [@config_dir, APP_SYSCONFIG_DIR].select{ |d| - File.exists? d and File.directory? d + File.exist? d and File.directory? d } Find.find( *map_dirs ) do |path| if File.file? path