summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-10 03:06:31 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-10 03:06:31 +0000
commitbff55e030fa3dcd4ac24ec481a67d6f327d67797 (patch)
treed677dd682b9de6e3eb23f51f71d8e5bfa26ccd96
parent107f33b2205829c0ef07216255b4ec0e9b8f6730 (diff)
shorter is better
-rwxr-xr-xbin/unicorn_rails6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/unicorn_rails b/bin/unicorn_rails
index 219f962..2f88bc1 100755
--- a/bin/unicorn_rails
+++ b/bin/unicorn_rails
@@ -154,10 +154,10 @@ def rails_builder(daemonize)
         if map_path != '/'
           # patches + tests welcome, but I really cbf to deal with this
           # since all apps I've ever dealt with just use "/" ...
-          $stderr.puts "relative URL roots may not work for older Rails"
+          warn "relative URL roots may not work for older Rails"
         end
-        $stderr.puts "LogTailer not available for Rails < 2.3" unless daemonize
-        $stderr.puts "Debugger not available" if $DEBUG
+        warn "LogTailer not available for Rails < 2.3" unless daemonize
+        warn "Debugger not available" if $DEBUG
         require 'unicorn/app/old_rails'
         map(map_path) do
           use Unicorn::App::OldRails::Static