Sha256: 155e29c23a04bc4b9efc02aaabfa2846cf75d25a820f11cd4a3cf0443916b431

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true

require "config"

Config.setup do |config|
  config.const_name = "Settings"
  config.use_env = false
end

env = ::ActiveSupport::StringInquirer.new(ENV["RACK_ENV"] || "development")
path = Dir.pwd << ("/config")
Config.load_and_set_settings(Config.setting_files(path, env))

Settings.env = env

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
smpl_prflr-0.0.2 config/initializers/001_settings.rb
smpl_prflr-0.0.1 config/initializers/001_settings.rb