require 'logger' require 'forwardable' require 'bigdecimal' require 'date' require 'ostruct' require 'net/http' require 'open-uri' require 'fileutils' require 'uri' # load bundled gems require 'rubygems' require 'bundler' require 'rack' require 'plucky' # requires mongo require 'ember' require 'mail' require 'hpricot' require 'json' require 'rack/contrib' require 'rubydns' require 'git' require 'highline' require 'mini_magick' require 'linguistics' # manually load active support extensions require 'active_support/core_ext/object/blank' require 'active_support/core_ext/object/try' require 'active_support/inflector' require 'active_support/core_ext/hash/keys' require 'active_support/core_ext/array/conversions' require 'active_support/core_ext/time/calculations' # for consistency, default to syck for YAML dumps/loads # psych and syck have incompatible nil representations YAML::ENGINE.yamler = 'syck' # config and environment are loaded separately # from yodel, so a configuration can be created # before loading the server or console require File.join(File.dirname(__FILE__), 'config', 'config') if $settings require $settings else require '/usr/local/etc/yodel/settings.rb' end