[DRE-commits] r2988 - packages-wip/redmine/trunk/debian/patches
rnhurt-guest at alioth.debian.org
rnhurt-guest at alioth.debian.org
Fri Sep 12 18:48:20 UTC 2008
Author: rnhurt-guest
Date: 2008-09-12 18:48:19 +0000 (Fri, 12 Sep 2008)
New Revision: 2988
Added:
packages-wip/redmine/trunk/debian/patches/config.patch
Modified:
packages-wip/redmine/trunk/debian/patches/series
Log:
Created a patch for boot.rb so that RAILS_ROOT will work with symlinked paths.
Added: packages-wip/redmine/trunk/debian/patches/config.patch
===================================================================
--- packages-wip/redmine/trunk/debian/patches/config.patch (rev 0)
+++ packages-wip/redmine/trunk/debian/patches/config.patch 2008-09-12 18:48:19 UTC (rev 2988)
@@ -0,0 +1,11 @@
+--- a/config/boot.rb
++++ b/config/boot.rb
+@@ -1,7 +1,7 @@
+ # Don't change this file!
+ # Configure your app in config/environment.rb and config/environments/*.rb
+
+-RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT)
++RAILS_ROOT = "/usr/share/redmine" unless defined?(RAILS_ROOT)
+
+ module Rails
+ class << self
Modified: packages-wip/redmine/trunk/debian/patches/series
===================================================================
--- packages-wip/redmine/trunk/debian/patches/series 2008-09-09 13:52:12 UTC (rev 2987)
+++ packages-wip/redmine/trunk/debian/patches/series 2008-09-12 18:48:19 UTC (rev 2988)
@@ -1,2 +1,3 @@
dispatch-env.patch
dispatch-config.patch
+config.patch
More information about the Pkg-ruby-extras-commits
mailing list