OSDN Git Service

554590c11f154b4797c447aae332b2cbfe395708
[tdcgexplorer/nimono.git] / config / environment.rb.rails2
1 # Be sure to restart your server when you modify this file
2
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
5
6 # Bootstrap the Rails environment, frameworks, and default configuration
7 require File.join(File.dirname(__FILE__), 'boot')
8
9 Rails::Initializer.run do |config|
10   # Settings in config/environments/* take precedence over those specified here.
11   # Application configuration should go into files in config/initializers
12   # -- all .rb files in that directory are automatically loaded.
13
14   # Add additional load paths for your own custom dirs
15   # config.load_paths += %W( #{RAILS_ROOT}/extras )
16
17   # Specify gems that this application depends on and have them installed with rake gems:install
18   config.gem "will_paginate", :lib => "will_paginate"
19   config.gem "locale"
20   config.gem "locale_rails", :version => "2.0.5"
21   config.gem "gettext"
22   config.gem "gettext_activerecord", :version => "2.1.0"
23   config.gem "gettext_rails", :version => "2.1.0"
24
25   # Only load the plugins named here, in the order given (default is alphabetical).
26   # :all can be used as a placeholder for all plugins not explicitly named
27   # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
28
29   # Skip frameworks you're not going to use. To use Rails without a database,
30   # you must remove the Active Record framework.
31   config.frameworks -= [ :active_resource, :action_mailer ]
32
33   # Activate observers that should always be running
34   # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
35   config.active_record.colorize_logging = false
36
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'
40
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 = :de
44 end