[DRE-commits] [SCM] rails-2.3.git branch, debian-sid, updated. 0288d3496b551d2b35d0233f10713cb4d65bf2d6

Ondřej Surý ondrej at sury.org
Fri Jun 10 14:27:39 UTC 2011


The following commit has been merged in the debian-sid branch:
commit 0b246c0f6aa41a3358cd5b75f053eb8f0f81077d
Author: Gunnar Wolf <gwolf at debian.org>
Date:   Tue Jun 7 15:10:09 2011 +0200

    Modified a string that recommends the user to do Very Bad Things
    
    Signed-off-by: Ondřej Surý <ondrej at sury.org>

diff --git a/debian/patches/0004-dont_recommend_very_bad_things.patch b/debian/patches/0004-dont_recommend_very_bad_things.patch
new file mode 100644
index 0000000..f1996ac
--- /dev/null
+++ b/debian/patches/0004-dont_recommend_very_bad_things.patch
@@ -0,0 +1,11 @@
+--- a/lib/initializer.rb
++++ b/lib/initializer.rb
+@@ -492,7 +492,7 @@ Run `rake gems:install` to install the m
+           logger = ActiveSupport::BufferedLogger.new(STDERR)
+           logger.level = ActiveSupport::BufferedLogger::WARN
+           logger.warn(
+-            "Rails Error: Unable to access log file. Please ensure that #{configuration.log_path} exists and is chmod 0666. " +
++            "Rails Error: Unable to access log file. Please ensure that #{configuration.log_path} exists and is write-accessible to UID #{Process.euid}, GID #{Process.egid}. " +
+             "The log level has been raised to WARN and the output directed to STDERR until the problem is fixed."
+           )
+         end
diff --git a/debian/patches/series b/debian/patches/series
index 3595096..a675b0c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-remove_require_rubygems.patch
 0003-change_default_listen_address.patch
+0004-dont_recommend_very_bad_things.patch

-- 
rails-2.3.git



More information about the Pkg-ruby-extras-commits mailing list