Sha256: f1f8cce8dfef93bbbee8523824fb85621ce6028dfc1b4055c1ab322661049a2e
Contents?: true
Size: 550 Bytes
Versions: 1
Compression:
Stored size: 550 Bytes
Contents
require 'yaml' require File.join(File.dirname(__FILE__), %w{initialize_configuration}) require File.join(File.dirname(__FILE__), %w{.. lib documentalist}) # Load configuration from Rails.root/config/documentalist.yml Documentalist.config_from_yaml! File.join(RAILS_ROOT, %w{config documentalist.yml}), :section => RAILS_ENV # Set a default for the logfile if it hasn't been provided by the configuration file unless Documentalist.config[:logfile] Documentalist.config[:logfile] = File.join(RAILS_ROOT, %w{log documentalist-#{RAILS_ENV}.log}) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
documentalist-0.1.1 | rails/init.rb |