--- a/config/boot.rb
+++ b/config/boot.rb
@@ -1,7 +1,8 @@
 # Don't change this file!
 # Configure your app in config/environment.rb and config/environments/*.rb
 
-RAILS_ROOT = "/usr/share/redmine" unless defined?(RAILS_ROOT)
+RAILS_ROOT = File.expand_path("#{File.dirname(__FILE__)}/..") unless defined?(RAILS_ROOT)
+
 
 module Rails
   class << self

