Patch #1892 ยป boot.rb.patch
config/boot.rb | ||
---|---|---|
1 | 1 |
# Don't change this file! |
2 | 2 |
# Configure your app in config/environment.rb and config/environments/*.rb |
3 | 3 | |
4 |
RAILS_ROOT = "/usr/share/redmine" unless defined?(RAILS_ROOT) |
|
4 |
RAILS_ROOT = File.expand_path("#{File.dirname(__FILE__)}/..") unless defined?(RAILS_ROOT) |
|
5 | ||
5 | 6 | |
6 | 7 |
module Rails |
7 | 8 |
class << self |