Sha256: 5b37318a7b56c6e3372f9bdc9e1949420d3fdf20975c25044a54a0e0610fe88c
Contents?: true
Size: 779 Bytes
Versions: 7
Compression:
Stored size: 779 Bytes
Contents
RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION require File.join(File.dirname(__FILE__), 'boot') # Load a global constant so the initializers can use them require 'ostruct' require 'yaml' ::GlobalConfig = OpenStruct.new(YAML.load_file("#{RAILS_ROOT}/config/global_config.yml")[RAILS_ENV]) class TestGemLocator < Rails::Plugin::Locator def plugins Rails::Plugin.new(File.join(File.dirname(__FILE__), *%w(.. .. ..))) end end Rails::Initializer.run do |config| config.time_zone = 'UTC' config.gem 'mislav-will_paginate', :lib => 'will_paginate', :source => 'http://gems.github.com' config.gem "authlogic" config.gem "bcrypt-ruby", :lib => "bcrypt" config.gem 'muck-engine', :lib => 'muck_engine' config.plugin_locators << TestGemLocator end
Version data entries
7 entries across 7 versions & 1 rubygems