add acts-as-taggable-on gem
[appoyo2.git] / appoyo / config / environment.rb
blobc002c6a77c2b0e0c3acd3f6b9f6de904aee0bcaa
1 # Be sure to restart your server when you modify this file
3 # Specifies gem version of Rails to use when vendor/rails is not present
4 RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
6 # Bootstrap the Rails environment, frameworks, and default configuration
7 require File.join(File.dirname(__FILE__), 'boot')
9 Rails::Initializer.run do |config|
10   config.gem 'will_paginate', :version => '~> 2.3.11', :source => 'http://gemcutter.org' 
11   config.gem "acts-as-taggable-on", :version => '2.0.4', :source => "http://gemcutter.org"
13   # Settings in config/environments/* take precedence over those specified here.
14   # Application configuration should go into files in config/initializers
15   # -- all .rb files in that directory are automatically loaded.
17   # Add additional load paths for your own custom dirs
18   # config.load_paths += %W( #{RAILS_ROOT}/extras )
20   # Specify gems that this application depends on and have them installed with rake gems:install
21   # config.gem "bj"
22   # config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
23   # config.gem "sqlite3-ruby", :lib => "sqlite3"
24   # config.gem "aws-s3", :lib => "aws/s3"
26   # Only load the plugins named here, in the order given (default is alphabetical).
27   # :all can be used as a placeholder for all plugins not explicitly named
28   # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
30   # Skip frameworks you're not going to use. To use Rails without a database,
31   # you must remove the Active Record framework.
32   # config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
34   # Activate observers that should always be running
35   # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
37   # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
38   # Run "rake -D time" for a list of tasks for finding time zone names.
39   config.time_zone = 'UTC'
41   # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
42    config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')]
43    config.i18n.default_locale = :en
44 end
46 require "will_paginate"
47 require "acts-as-taggable-on"