bedc82cc08a5c1a78a9accb0a9b087c36209191f
[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.1.0' unless defined? RAILS_GEM_VERSION
9 RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION
10
11 # Bootstrap the Rails environment, frameworks, and default configuration
12 require File.join(File.dirname(__FILE__), 'boot')
13
14 Rails::Initializer.run do |config|
15 # Settings in config/environments/* take precedence over those specified here.
16 # Application configuration should go into files in config/initializers
17 # -- all .rb files in that directory are automatically loaded.
18 # See Rails::Configuration for more options.
19
20 # Skip frameworks you're not going to use. To use Rails without a database
21 # you must remove the Active Record framework.
22 # config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
23
24 # Specify gems that this application depends on.
25 # They can then be installed with "rake gems:install" on new installations.
26 # config.gem "bj"
27 # config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
28 # config.gem "aws-s3", :lib => "aws/s3"
29
30 # Only load the plugins named here, in the order given. By default, all plugins
31 # in vendor/plugins are loaded in alphabetical order.
32 # :all can be used as a placeholder for all plugins not explicitly named
33 # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
34
35 # Add additional load paths for your own custom dirs
36 # config.load_paths += %W( #{RAILS_ROOT}/extras )
37
38 # Force all environments to use the same logger level
39 # (by default production uses :info, the others :debug)
40 # config.log_level = :debug
41
42 # Make Time.zone default to the specified zone, and make Active Record store time values
43 # in the database in UTC, and return them converted to the specified local zone.
44 # Run "rake -D time" for a list of tasks for finding time zone names. Uncomment to use default local time.
45 config.time_zone = 'UTC'
46
47 # Your secret key for verifying cookie session data integrity.
48 # If you change this key, all old sessions will become invalid!
49 # Make sure the secret is at least 30 characters and all random,
50 # no regular words or you'll be exposed to dictionary attacks.
51 config.action_controller.session = {
52 :session_key => '_depot_session',
53 :secret => 'bc60cc379c983430ff60909876a99802d983a8af4543a81fd86556a7eec3e8ec1197dc343ff1b86af79b5d30d0155b267c1dd9e5ee864f816254bbf8c3c20b69'
54 }
55
56 # Use the database for sessions instead of the cookie-based default,
57 # which shouldn't be used to store highly confidential information
58 # (create the session table with "rake db:sessions:create")
59 # config.action_controller.session_store = :active_record_store
60
61 # Use SQL instead of Active Record's schema dumper when creating the test database.
62 # This is necessary if your schema can't be completely dumped by the schema dumper,
63 # like if you have constraints or database-specific column types
64 # config.active_record.schema_format = :sql
65
66 # Activate observers that should always be running
67 # config.active_record.observers = :cacher, :garbage_collector
68 end