Sha256: 111f8c5d2a5fcf292baf2a83849e5059cadbc12cd8e6215c97e147702c3980eb
Contents?: true
Size: 463 Bytes
Versions: 22
Compression:
Stored size: 463 Bytes
Contents
# frozen_string_literal: true # Load gem Config if present # @see https://rubygems.org/gems/config begin require 'config' if defined?(Config) config_conf = [ File.join(Dir.pwd, 'config', 'settings.yml'), File.join(Dir.pwd, 'config', 'settings', "#{ENV['RAILS_ENV']}.yml") ] Config.load_and_set_settings(config_conf) end rescue LoadError => exception p "Don't use gem config : #{exception}" rescue => exception p exception end
Version data entries
22 entries across 22 versions & 1 rubygems