Sha256: bc4e943fd27bb47e3302563d9b02d5d1779a7028c784039597f373f0409a3487

Contents?: true

Size: 561 Bytes

Versions: 10

Compression:

Stored size: 561 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.plugin_locators << TestGemLocator
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
disguise-0.3.11 test/rails_root/config/environment.rb
disguise-0.3.10 test/rails_root/config/environment.rb
disguise-0.3.8 test/rails_root/config/environment.rb
disguise-0.3.7 test/rails_root/config/environment.rb
disguise-0.3.6 test/rails_root/config/environment.rb
disguise-0.3.1 test/rails_root/config/environment.rb
disguise-0.3.2 test/rails_root/config/environment.rb
disguise-0.3.3 test/rails_root/config/environment.rb
disguise-0.3.4 test/rails_root/config/environment.rb
disguise-0.3.5 test/rails_root/config/environment.rb