Blob of config/environment.rb (raw blob data)

1 # Be sure to restart your server when you modify this file.
2
3 # Uncomment below to force Rails into production mode when
4 # you don't control web/app server and can't set it the proper way
5 # ENV['RAILS_ENV'] ||= 'production'
6
7 # Specifies gem version of Rails to use when vendor/rails is not present
8 RAILS_GEM_VERSION = '2.0.1' unless defined? RAILS_GEM_VERSION
9
10 # Bootstrap the Rails environment, frameworks, and default configuration
11 require File.join(File.dirname(__FILE__), 'boot')
12
13 Rails::Initializer.run do |config|
14 # Settings in config/environments/* take precedence over those specified here
15
16 # Skip frameworks you're not going to use (only works if using vendor/rails)
17 # config.frameworks -= [ :active_resource, :action_mailer ]
18
19 # Only load the plugins named here, in the order given. By default, all plugins in vendor/plugins are loaded in alphabetical order.
20 # :all can be used as a placeholder for all plugins not explicitly named.
21 # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
22
23 # Add additional load paths for your own custom dirs
24 # config.load_paths += %W( #{RAILS_ROOT}/extras )
25
26 # Force all environments to use the same logger level
27 # (by default production uses :info, the others :debug)
28 # config.log_level = :debug
29
30 # Your secret key for verifying cookie session data integrity.
31 # If you change this key, all old sessions will become invalid!
32 # config.action_controller.session = {
33 # :session_key => '_ks1_session',
34 # :secret => 'd11c9229c49301cc6c307279b689396b'
35 # }
36
37 # Use the database for sessions instead of the cookie-based default,
38 # which shouldn't be used to store highly confidential information
39 # (create the session table with 'rake db:sessions:create')
40 # config.action_controller.session_store = :active_record_store
41
42 # Use SQL instead of Active Record's schema dumper when creating the test database.
43 # This is necessary if your schema can't be completely dumped by the schema dumper,
44 # like if you have constraints or database-specific column types
45 # config.active_record.schema_format = :sql
46
47 # Activate observers that should always be running
48 config.active_record.observers = [
49 :user_observer,
50 :repository_observer,
51 :merge_request_observer
52 ]
53
54 # Make Active Record use UTC-base instead of local time
55 config.active_record.default_timezone = :utc
56
57 # See Rails::Configuration for more options
58
59 # Application configuration should go into files in config/initializers
60 # -- all .rb files in that directory are automatically loaded
61 end