summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-06-17 01:18:52 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-06-17 01:18:52 +0000
commit26c3e6ceed48530bd4fc088c764be857bbdc9f44 (patch)
treed96e6298cdaa8544637d66061cda753acafd2b83
parent67fcd6eea7c4827d33e2ddbd0519b2120097c3b3 (diff)
downloadredmine-26c3e6ceed48530bd4fc088c764be857bbdc9f44.tar.gz
redmine-26c3e6ceed48530bd4fc088c764be857bbdc9f44.zip
replace RAILS_ROOT to Rails.root at lib/redmine/version.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6083 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--lib/redmine/version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/version.rb b/lib/redmine/version.rb
index 5c213daa6..99f7663b5 100644
--- a/lib/redmine/version.rb
+++ b/lib/redmine/version.rb
@@ -14,7 +14,7 @@ module Redmine
def self.revision
revision = nil
- entries_path = "#{RAILS_ROOT}/.svn/entries"
+ entries_path = "#{Rails.root}/.svn/entries"
if File.readable?(entries_path)
begin
f = File.open(entries_path, 'r')