3884979ce8b3ced0bed46cce5ff38474da6ac19d
[depot.git] / config / environment.rb
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.2.2' 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 # Application configuration should go into files in config/initializers
16 # -- all .rb files in that directory are automatically loaded.
17 # See Rails::Configuration for more options.
18
19 # Skip frameworks you're not going to use. To use Rails without a database
20 # you must remove the Active Record framework.
21 # config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
22
23 # Specify gems that this application depends on.
24 # They can then be installed with "rake gems:install" on new installations.
25 # You have to specify the :lib option for libraries, where the Gem name (sqlite3-ruby) differs from the file itself (sqlite3)
26 # config.gem "bj"
27 # config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
28 # config.gem "sqlite3-ruby", :lib => "sqlite3"
29 # config.gem "aws-s3", :lib => "aws/s3"
30
31 # Only load the plugins named here, in the order given. By default, all plugins
32 # in vendor/plugins are loaded in alphabetical order.
33 # :all can be used as a placeholder for all plugins not explicitly named
34 # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
35
36 # Add additional load paths for your own custom dirs
37 # config.load_paths += %W( #{RAILS_ROOT}/extras )
38
39 # Force all environments to use the same logger level
40 # (by default production uses :info, the others :debug)
41 # config.log_level = :debug
42
43 # Make Time.zone default to the specified zone, and make Active Record store time values
44 # in the database in UTC, and return them converted to the specified local zone.
45 # Run "rake -D time" for a list of tasks for finding time zone names. Comment line to use default local time.
46 config.time_zone = 'UTC'
47
48 # The internationalization framework can be changed to have another default locale (standard is :en) or more load paths.
49 # All files from config/locales/*.rb,yml are added automatically.
50 # config.i18n.load_path << Dir[File.join(RAILS_ROOT, 'my', 'locales', '*.{rb,yml}')]
51 # config.i18n.default_locale = :de
52
53 # Your secret key for verifying cookie session data integrity.
54 # If you change this key, all old sessions will become invalid!
55 # Make sure the secret is at least 30 characters and all random,
56 # no regular words or you'll be exposed to dictionary attacks.
57 config.action_controller.session = {
58 :session_key => '_depot_session',
59 :secret => '85857e9647cd79624deed16baa3dfca210a27d35a6351c8712d97550affaec58ae5c9fc8551f9902dd0e35aaf6cfdd7450181eb3f2aafbeb832f501eb4506007'
60 }
61
62 # Use the database for sessions instead of the cookie-based default,
63 # which shouldn't be used to store highly confidential information
64 # (create the session table with "rake db:sessions:create")
65 # config.action_controller.session_store = :active_record_store
66
67 # Use SQL instead of Active Record's schema dumper when creating the test database.
68 # This is necessary if your schema can't be completely dumped by the schema dumper,
69 # like if you have constraints or database-specific column types
70 # config.active_record.schema_format = :sql
71
72 # Activate observers that should always be running
73 # Please note that observers generated using script/generate observer need to have an _observer suffix
74 # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
75 end