Mercurial > hg > soundsoftware-site
comparison config/.svn/text-base/environment.rb.svn-base @ 511:107d36338b70 live
Merge from branch "cannam"
author | Chris Cannam |
---|---|
date | Thu, 14 Jul 2011 10:43:07 +0100 |
parents | cbce1fd3b1b7 |
children |
comparison
equal
deleted
inserted
replaced
451:a9f6345cb43d | 511:107d36338b70 |
---|---|
3 # Uncomment below to force Rails into production mode when | 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 | 4 # you don't control web/app server and can't set it the proper way |
5 # ENV['RAILS_ENV'] ||= 'production' | 5 # ENV['RAILS_ENV'] ||= 'production' |
6 | 6 |
7 # Specifies gem version of Rails to use when vendor/rails is not present | 7 # Specifies gem version of Rails to use when vendor/rails is not present |
8 RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION | 8 RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION |
9 | 9 |
10 # Bootstrap the Rails environment, frameworks, and default configuration | 10 # Bootstrap the Rails environment, frameworks, and default configuration |
11 require File.join(File.dirname(__FILE__), 'boot') | 11 require File.join(File.dirname(__FILE__), 'boot') |
12 | 12 |
13 # Load Engine plugin if available | 13 # Load Engine plugin if available |
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 |
26 # Add additional load paths for sweepers | 26 # Add additional load paths for sweepers |
27 config.load_paths += %W( #{RAILS_ROOT}/app/sweepers ) | 27 config.autoload_paths += %W( #{RAILS_ROOT}/app/sweepers ) |
28 | 28 |
29 # Force all environments to use the same logger level | 29 # Force all environments to use the same logger level |
30 # (by default production uses :info, the others :debug) | 30 # (by default production uses :info, the others :debug) |
31 # config.log_level = :debug | 31 # config.log_level = :debug |
32 | 32 |
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 | 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 email.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 |
51 config.action_mailer.perform_deliveries = false | 51 config.action_mailer.perform_deliveries = false |
52 | 52 |
53 config.gem 'rubytree', :lib => 'tree' | 53 config.gem 'rubytree', :lib => 'tree' |
54 config.gem 'coderay', :version => '~>0.9.7' | |
54 | 55 |
55 # Load any local configuration that is kept out of source control | 56 # Load any local configuration that is kept out of source control |
56 # (e.g. gems, patches). | 57 # (e.g. gems, patches). |
57 if File.exists?(File.join(File.dirname(__FILE__), 'additional_environment.rb')) | 58 if File.exists?(File.join(File.dirname(__FILE__), 'additional_environment.rb')) |
58 instance_eval File.read(File.join(File.dirname(__FILE__), 'additional_environment.rb')) | 59 instance_eval File.read(File.join(File.dirname(__FILE__), 'additional_environment.rb')) |