lib/rocket_job/config.rb in rocketjob-3.5.2 vs lib/rocket_job/config.rb in rocketjob-4.0.0

- old
+ new

@@ -53,10 +53,10 @@ config_file = file_name ? Pathname.new(file_name) : Pathname.pwd.join('config/mongoid.yml') raise(ArgumentError, "Mongo Configuration file: #{config_file} not found") unless config_file.file? logger.debug "Reading Mongo configuration from: #{config_file}" - Mongoid.load!(config_file, environment) + ::Mongoid.load!(config_file, environment) # Load Encryption configuration file if present return unless defined?(SymmetricEncryption) config_file =