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