Sha256: 0eaeded956b3a9bb3fe829e7d72a4bcedaa6af943710c91daa73ec4d2b9d1a6e
Contents?: true
Size: 381 Bytes
Versions: 1
Compression:
Stored size: 381 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
apimaster-0.0.2 | lib/apimaster/generators/templates/config/initializer.rb.erb |