lib/alephant/publisher/env.rb in alephant-publisher-queue-2.1.4 vs lib/alephant/publisher/env.rb in alephant-publisher-queue-2.2.0
- old
+ new
@@ -4,9 +4,9 @@
config_file = "config/aws.yaml"
AWS.eager_autoload!
-if File.exists? config_file
+if File.exist? config_file
config = YAML.load(File.read(config_file))
AWS.config(config)
end