Sha256: c3c484b4cc7cc30b3ba5fbd10c095de965c51315a1594c2f49ef8e02e87bbec3
Contents?: true
Size: 608 Bytes
Versions: 17
Compression:
Stored size: 608 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 'muck-solr', :lib => 'acts_as_solr' config.plugin_locators << TestGemLocator end
Version data entries
17 entries across 17 versions & 1 rubygems