annotate .svn/pristine/d5/d52cd894471c60da0fd08878344d5bd7680a2e5a.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration

Fix failure to interpret Javascript when autocompleting members for project
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 11 Sep 2014 10:24:38 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 # Be sure to restart your web server when you modify this file.
Chris@909 2
Chris@909 3 # Uncomment below to force Rails into production mode when
Chris@909 4 # you don't control web/app server and can't set it the proper way
Chris@909 5 # ENV['RAILS_ENV'] ||= 'production'
Chris@909 6
Chris@909 7 # Specifies gem version of Rails to use when vendor/rails is not present
Chris@909 8 RAILS_GEM_VERSION = '2.3.14' unless defined? RAILS_GEM_VERSION
Chris@909 9
Chris@909 10 if RUBY_VERSION >= '1.9'
Chris@909 11 Encoding.default_external = 'UTF-8'
Chris@909 12 end
Chris@909 13
Chris@909 14 # Bootstrap the Rails environment, frameworks, and default configuration
Chris@909 15 require File.join(File.dirname(__FILE__), 'boot')
Chris@909 16
Chris@909 17 # Load Engine plugin if available
Chris@909 18 begin
Chris@909 19 require File.join(File.dirname(__FILE__), '../vendor/plugins/engines/boot')
Chris@909 20 rescue LoadError
Chris@909 21 # Not available
Chris@909 22 end
Chris@909 23
Chris@909 24 Rails::Initializer.run do |config|
Chris@909 25 # Settings in config/environments/* take precedence those specified here
Chris@909 26
Chris@909 27 # Skip frameworks you're not going to use
Chris@909 28 # config.frameworks -= [ :action_web_service, :action_mailer ]
Chris@909 29
Chris@909 30 # Add additional load paths for sweepers
Chris@909 31 config.autoload_paths += %W( #{RAILS_ROOT}/app/sweepers )
Chris@909 32
Chris@909 33 # Force all environments to use the same logger level
Chris@909 34 # (by default production uses :info, the others :debug)
Chris@909 35 # config.log_level = :debug
Chris@909 36
Chris@909 37 # Enable page/fragment caching by setting a file-based store
Chris@909 38 # (remember to create the caching directory and make it readable to the application)
Chris@909 39 # config.action_controller.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache"
Chris@909 40
Chris@909 41 # Activate observers that should always be running
Chris@909 42 # config.active_record.observers = :cacher, :garbage_collector
Chris@909 43 config.active_record.observers = :message_observer, :issue_observer, :journal_observer, :news_observer, :document_observer, :wiki_content_observer, :comment_observer
Chris@909 44
Chris@909 45 # Make Active Record use UTC-base instead of local time
Chris@909 46 # config.active_record.default_timezone = :utc
Chris@909 47
Chris@909 48 # Use Active Record's schema dumper instead of SQL when creating the test database
Chris@909 49 # (enables use of different database adapters for development and test environments)
Chris@909 50 # config.active_record.schema_format = :ruby
Chris@909 51
Chris@909 52 # Deliveries are disabled by default. Do NOT modify this section.
Chris@909 53 # Define your email configuration in configuration.yml instead.
Chris@909 54 # It will automatically turn deliveries on
Chris@909 55 config.action_mailer.perform_deliveries = false
Chris@909 56
Chris@909 57 config.gem 'rubytree', :lib => 'tree'
Chris@909 58 config.gem 'coderay', :version => '~>1.0.0'
Chris@909 59
Chris@909 60 # Load any local configuration that is kept out of source control
Chris@909 61 # (e.g. gems, patches).
Chris@909 62 if File.exists?(File.join(File.dirname(__FILE__), 'additional_environment.rb'))
Chris@909 63 instance_eval File.read(File.join(File.dirname(__FILE__), 'additional_environment.rb'))
Chris@909 64 end
Chris@909 65 end