From 26c3e6ceed48530bd4fc088c764be857bbdc9f44 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 17 Jun 2011 01:18:52 +0000 Subject: [PATCH] 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 --- lib/redmine/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')