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

lib/redmine/version.rb

index 5c213daa6dbdbb7e92494fbc137640342cad86bb..99f7663b55d031430dc737fbde281991729269eb 100644 (file)
@@ -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')