##// END OF EJS Templates
scm: catch all exceptions to get scm command version in repository model (#8510)....
scm: catch all exceptions to get scm command version in repository model (#8510). If scm command does not exist, Linux jruby 1.6.2 (ruby-1.8.7-p330) raises java.io.IOException in production environment. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5999 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r761:b64e89daec8f
r5879:ee2236f5bdc0
Show More
demo.rb
21 lines | 803 B | text/x-ruby | RubyLexer
# Settings specified here will take precedence over those in config/environment.rb
# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests
config.cache_classes = true
# Use a different logger for distributed setups
# config.logger = SyslogLogger.new
config.log_level = :info
# Full error reports are disabled and caching is turned on
config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching = true
# Enable serving of images, stylesheets, and javascripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"
# Disable mail delivery
config.action_mailer.perform_deliveries = false
config.action_mailer.raise_delivery_errors = false