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
This commit is contained in:
parent
8fbc24f62e
commit
53b7af73b1
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue