Sha256: 9af4f84ab80b8c1657bbd653a13945eec13563a646398f261a7573d751ed5a2a

Contents?: true

Size: 588 Bytes

Versions: 12

Compression:

Stored size: 588 Bytes

Contents

RAILS_GEM_VERSION = '2.3.4' 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 "will_paginate"
  config.plugin_locators << TestGemLocator
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
muck-engine-0.2.26 test/rails_root/config/environment.rb
muck-engine-0.2.25 test/rails_root/config/environment.rb
muck-engine-0.2.24 test/rails_root/config/environment.rb
muck-engine-0.2.23 test/rails_root/config/environment.rb
muck-engine-0.2.22 test/rails_root/config/environment.rb
muck-engine-0.2.21 test/rails_root/config/environment.rb
muck-engine-0.2.20 test/rails_root/config/environment.rb
muck-engine-0.2.19 test/rails_root/config/environment.rb
muck-engine-0.2.18 test/rails_root/config/environment.rb
muck-engine-0.2.17 test/rails_root/config/environment.rb
muck-engine-0.2.16 test/rails_root/config/environment.rb
muck-engine-0.2.15 test/rails_root/config/environment.rb