Sha256: 4e54879cd935a1fa0a7300f0c006466b225fb7577e849efd3b05431c81b6adc9

Contents?: true

Size: 1.07 KB

Versions: 9

Compression:

Stored size: 1.07 KB

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 'mislav-will_paginate', :lib => 'will_paginate', :source => 'http://gems.github.com'
  config.gem "binarylogic-authlogic", :lib => 'authlogic', :source  => 'http://gems.github.com', :version => ">=2.1.0"
  config.gem "binarylogic-searchlogic", :lib => 'searchlogic', :source  => 'http://gems.github.com', :version => '~> 2.1.1'
  config.gem "bcrypt-ruby", :lib => "bcrypt", :version => ">=2.0.5"
  config.gem 'disguise'
  config.gem 'muck-engine', :lib => 'muck_engine'
  config.gem 'muck-users', :lib => 'muck_users'
  config.plugin_locators << TestGemLocator
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cms-lite-0.5.7 test/rails_root/config/environment.rb
cms-lite-0.5.6 test/rails_root/config/environment.rb
cms-lite-0.5.4 test/rails_root/config/environment.rb
cms-lite-0.5.3 test/rails_root/config/environment.rb
cms-lite-0.5.2 test/rails_root/config/environment.rb
cms-lite-0.4.0 test/rails_root/config/environment.rb
cms-lite-0.4.1 test/rails_root/config/environment.rb
cms-lite-0.5.0 test/rails_root/config/environment.rb
cms-lite-0.5.1 test/rails_root/config/environment.rb