Sha256: b28c1c7a00db230a54ee1521b150047797bdbf33a26279e9abae36790dc7db81
Contents?: true
Size: 540 Bytes
Versions: 3
Compression:
Stored size: 540 Bytes
Contents
require 'yaml' require File.join(File.dirname(__FILE__), %w{initialize_configuration}) require File.join(File.dirname(__FILE__), %w{.. init}) # 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[:log_file] Documentalist.config[:log_file] = File.join(RAILS_ROOT, "log", "documentalist-#{RAILS_ENV}.log") end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
documentalist-0.1.4 | rails/init.rb |
documentalist-0.1.3 | rails/init.rb |
documentalist-0.1.2 | rails/init.rb |