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

Version Path
EliteJournal-1.9.400 config/environments/shared.rb
EliteJournal-1.9.401 config/environments/shared.rb
EliteJournal-1.9.403 config/environments/shared.rb
EliteJournal-1.9.480 config/environments/shared.rb
EliteJournal-1.9.492 config/environments/shared.rb
rails-0.8.0 environments/shared_for_gem.rb
rails-0.8.5 environments/shared_for_gem.rb