]> source.dussan.org Git - redmine.git/commitdiff
scm: replace RAILS_ROOT to Rails.root at lib/redmine/scm/adapters/abstract_adapter.rb.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 17 Jun 2011 01:19:50 +0000 (01:19 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 17 Jun 2011 01:19:50 +0000 (01:19 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6085 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/abstract_adapter.rb

index 178db4aa0dd5fd8ede95186b149ca6838ab0bea4..17fbff961ade8c0d986ed5c25822596e85e24649 100644 (file)
@@ -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'