Sha256: a71c5780d89b2755ff8b63ea4b38bc114040814b2523c506a63dfe7a2774a2a6
Contents?: true
Size: 379 Bytes
Versions: 9
Compression:
Stored size: 379 Bytes
Contents
# Initialize environment ROOT_PATH = File.expand_path(".") ENV["RACK_ENV"] ||= "development" Bundler.require(:default, ENV["RACK_ENV"].to_sym) # Initialize settings setting_files = "./config/settings/{app,oauth}.yml" Apimaster::Setting.environment = ENV["RACK_ENV"] Apimaster::Setting.load_file(setting_files) # Database setting Mongoid.load!("./config/settings/mongoid.yml")
Version data entries
9 entries across 9 versions & 1 rubygems