Sha256: a9d68d59d7b0eae46ca4e00b97d5525467eac22266f45f23c7876c43f9470e72
Contents?: true
Size: 558 Bytes
Versions: 7
Compression:
Stored size: 558 Bytes
Contents
ADDITIONAL_LOAD_PATHS = [ "app/models", "app/controllers", "app/helpers", "config", "lib", "vendor" ] ADDITIONAL_LOAD_PATHS.each { |dir| $:.unshift "#{File.dirname(__FILE__)}/../../#{dir}" } require 'rubygems' require_gem 'activerecord' require_gem 'actionpack' require_gem 'actionmailer' require_gem 'rails' require 'yaml' ActionController::Base.template_root = ActionMailer::Base.template_root = File.dirname(__FILE__) + '/../../app/views/' def database_configurations YAML::load(File.open(File.dirname(__FILE__) + "/../../config/database.yml")) end
Version data entries
7 entries across 7 versions & 2 rubygems