Package: rails / 2.3.5-1.2+squeeze8

debian-changes-2.3.5-1.2 Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Description: Upstream changes introduced in version 2.3.5-1.2
 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 rails (2.3.5-1.2) unstable; urgency=high
 .
   * Non-maintainer upload.
 .
   [ Laurent Bigonville ]
   * Fix documentation about default listening address (Closes: #583149)
 .
   [ Gunnar Wolf ]
   * Modified a string that recommends the user to do Very Bad Things
     (Closes: #603048)
 .
 The person named in the Author field signed this changelog entry.
Author: Mehdi Dogguy <mehdi@debian.org>
Bug-Debian: http://bugs.debian.org/583149
Bug-Debian: http://bugs.debian.org/603048

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- rails-2.3.5.orig/railties/lib/initializer.rb
+++ rails-2.3.5/railties/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
--- rails-2.3.5.orig/railties/lib/commands/server.rb
+++ rails-2.3.5/railties/lib/commands/server.rb
@@ -25,7 +25,7 @@ ARGV.clone.options do |opts|
   opts.on("-p", "--port=port", Integer,
           "Runs Rails on the specified port.", "Default: 3000") { |v| options[:Port] = v }
   opts.on("-b", "--binding=ip", String,
-          "Binds Rails to the specified ip.", "Default: 0.0.0.0") { |v| options[:Host] = v }
+          "Binds Rails to the specified ip.", "Default: 127.0.0.1") { |v| options[:Host] = v }
   opts.on("-c", "--config=file", String,
           "Use custom rackup configuration file") { |v| options[:config] = v }
   opts.on("-d", "--daemon", "Make server run as a Daemon.") { options[:detach] = true }