Sha256: e5c2aec56d53a26a3efc5374207d96108911c40d9fdab887acc7712e3322e087

Contents?: true

Size: 1.22 KB

Versions: 6

Compression:

Stored size: 1.22 KB

Contents

require File.expand_path('../boot', __FILE__)

require 'rails/all'

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Dir[File.expand_path('../../lib/*.rb', __FILE__)].each do |f|
	require f
end
Bundler.require(:default, Rails.env)

if appyml = YAML.load(File.read(File.expand_path('../application.yml', __FILE__))) rescue nil
	appyml.merge! appyml.fetch(Rails.env, {})
	CONFIG = appyml.symbolize_keys
else
	CONFIG = {}
end

module Demo
  class Application < Rails::Application
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded.

    # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
    # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
    # config.time_zone = 'Central Time (US & Canada)'

    # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
    # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
    # config.i18n.default_locale = :de
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kojac-0.17.0 spec/demo/config/application.rb
kojac-0.16.0 spec/demo/config/application.rb
kojac-0.15.0 spec/demo/config/application.rb
kojac-0.13.0 spec/demo/config/application.rb
kojac-0.12.0 spec/demo/config/application.rb
kojac-0.11.0 spec/demo/config/application.rb