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
This commit is contained in:
parent
67fcd6eea7
commit
26c3e6ceed
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue