1 require File.expand_path('../boot', __FILE__)
3 # Pick the frameworks you want:
4 # require "active_record/railtie"
5 require "action_controller/railtie"
6 require "action_mailer/railtie"
7 require "active_resource/railtie"
8 require "active_groonga/railtie"
9 require "rails/test_unit/railtie"
11 # If you have a Gemfile, require the gems listed there, including any gems
12 # you've limited to :test, :development, or :production.
13 Bundler.require(:default, Rails.env) if defined?(Bundler)
16 class Application < Rails::Application
17 # Settings in config/environments/* take precedence over those specified here.
18 # Application configuration should go into files in config/initializers
19 # -- all .rb files in that directory are automatically loaded.
21 # Add additional load paths for your own custom dirs
22 config.autoload_paths += %W( #{Rails.root}/lib )
24 # Specify gems that this application depends on and have them installed with rake gems:install
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_resource, :action_mailer ]
34 # Activate observers that should always be running
35 # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
36 config.colorize_logging = false
38 # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
39 # Run "rake -D time" for a list of tasks for finding time zone names.
40 config.time_zone = 'UTC'
42 # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
43 # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')]
44 config.i18n.default_locale = :ja