diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-06-17 01:19:50 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-06-17 01:19:50 +0000 |
commit | 53b7af73b1a391c80512fb5ed5835468114c4c87 (patch) | |
tree | ec96f268c361ced95a83fff4ef66e22a53ea304c /lib | |
parent | 8fbc24f62ed9cda4e83a16de738eb1a0f7ca1243 (diff) | |
download | redmine-53b7af73b1a391c80512fb5ed5835468114c4c87.tar.gz redmine-53b7af73b1a391c80512fb5ed5835468114c4c87.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/scm/adapters/abstract_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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' |