@@ -19,7 +19,7 end | |||||
19 |
|
19 | |||
20 | Rails::Initializer.run do |config| |
|
20 | Rails::Initializer.run do |config| | |
21 | # Settings in config/environments/* take precedence those specified here |
|
21 | # Settings in config/environments/* take precedence those specified here | |
22 |
|
22 | |||
23 | # Skip frameworks you're not going to use |
|
23 | # Skip frameworks you're not going to use | |
24 | # config.frameworks -= [ :action_web_service, :action_mailer ] |
|
24 | # config.frameworks -= [ :action_web_service, :action_mailer ] | |
25 |
|
25 | |||
@@ -33,18 +33,18 Rails::Initializer.run do |config| | |||||
33 | # Enable page/fragment caching by setting a file-based store |
|
33 | # Enable page/fragment caching by setting a file-based store | |
34 | # (remember to create the caching directory and make it readable to the application) |
|
34 | # (remember to create the caching directory and make it readable to the application) | |
35 | # config.action_controller.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache" |
|
35 | # config.action_controller.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache" | |
36 |
|
36 | |||
37 | # Activate observers that should always be running |
|
37 | # Activate observers that should always be running | |
38 | # config.active_record.observers = :cacher, :garbage_collector |
|
38 | # config.active_record.observers = :cacher, :garbage_collector | |
39 | config.active_record.observers = :message_observer, :issue_observer, :journal_observer, :news_observer, :document_observer, :wiki_content_observer, :comment_observer |
|
39 | config.active_record.observers = :message_observer, :issue_observer, :journal_observer, :news_observer, :document_observer, :wiki_content_observer, :comment_observer | |
40 |
|
40 | |||
41 | # Make Active Record use UTC-base instead of local time |
|
41 | # Make Active Record use UTC-base instead of local time | |
42 | # config.active_record.default_timezone = :utc |
|
42 | # config.active_record.default_timezone = :utc | |
43 |
|
43 | |||
44 | # Use Active Record's schema dumper instead of SQL when creating the test database |
|
44 | # Use Active Record's schema dumper instead of SQL when creating the test database | |
45 | # (enables use of different database adapters for development and test environments) |
|
45 | # (enables use of different database adapters for development and test environments) | |
46 | # config.active_record.schema_format = :ruby |
|
46 | # config.active_record.schema_format = :ruby | |
47 |
|
47 | |||
48 | # Deliveries are disabled by default. Do NOT modify this section. |
|
48 | # Deliveries are disabled by default. Do NOT modify this section. | |
49 | # Define your email configuration in configuration.yml instead. |
|
49 | # Define your email configuration in configuration.yml instead. | |
50 | # It will automatically turn deliveries on |
|
50 | # It will automatically turn deliveries on | |
@@ -52,7 +52,7 Rails::Initializer.run do |config| | |||||
52 |
|
52 | |||
53 | config.gem 'rubytree', :lib => 'tree' |
|
53 | config.gem 'rubytree', :lib => 'tree' | |
54 | config.gem 'coderay', :version => '~>0.9.7' |
|
54 | config.gem 'coderay', :version => '~>0.9.7' | |
55 |
|
55 | |||
56 | # Load any local configuration that is kept out of source control |
|
56 | # Load any local configuration that is kept out of source control | |
57 | # (e.g. gems, patches). |
|
57 | # (e.g. gems, patches). | |
58 | if File.exists?(File.join(File.dirname(__FILE__), 'additional_environment.rb')) |
|
58 | if File.exists?(File.join(File.dirname(__FILE__), 'additional_environment.rb')) |
General Comments 0
You need to be logged in to leave comments.
Login now