Sha256: fe9914dbf6d248d0fd333ae7b8f7c02952eb1d59b85bb176e89cd5309870bbe7

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

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.gem "authlogic"
  config.gem "searchlogic"
  config.gem "bcrypt-ruby", :lib => "bcrypt", :version => ">=2.0.5"
  config.gem "acts-as-taggable-on"
  config.gem "awesome_nested_set"
  config.gem "friendly_id"
  config.gem "paperclip"
  config.gem "babelphish"
  config.gem 'muck-engine', :lib => 'muck_engine'
  config.gem 'muck-users', :lib => 'muck_users'
  config.gem 'muck-profiles', :lib => 'muck_profiles'
  config.gem 'muck-activities', :lib => 'muck_activities'
  config.plugin_locators << TestGemLocator
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
muck-comments-0.1.17 test/rails_root/config/environment.rb
muck-comments-0.1.16 test/rails_root/config/environment.rb
muck-comments-0.1.15 test/rails_root/config/environment.rb