Sha256: f12c112cf513865a52ca9c11cece06e70586cf242488c2e6e73ef54bfdf7e297

Contents?: true

Size: 679 Bytes

Versions: 4

Compression:

Stored size: 679 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 "authlogic"
  config.gem "bcrypt-ruby", :lib => "bcrypt"
  config.gem 'muck-engine', :lib => 'muck_engine'
  config.plugin_locators << TestGemLocator
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
muck-users-0.1.4 test/rails_root/config/environment.rb
muck-users-0.1.5 test/rails_root/config/environment.rb
muck-users-0.1.6 test/rails_root/config/environment.rb
muck-users-0.1.7 test/rails_root/config/environment.rb