From 53b7af73b1a391c80512fb5ed5835468114c4c87 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 17 Jun 2011 01:19:50 +0000 Subject: [PATCH] scm: replace RAILS_ROOT to Rails.root at lib/redmine/scm/adapters/abstract_adapter.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6085 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/scm/adapters/abstract_adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index 178db4aa0..17fbff961 100644 --- a/lib/redmine/scm/adapters/abstract_adapter.rb +++ b/lib/redmine/scm/adapters/abstract_adapter.rb @@ -212,7 +212,7 @@ module Redmine end if Rails.env == 'development' # Capture stderr when running in dev environment - cmd = "#{cmd} 2>>#{RAILS_ROOT}/log/scm.stderr.log" + cmd = "#{cmd} 2>>#{Rails.root}/log/scm.stderr.log" end begin if RUBY_VERSION < '1.9'