1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

default the logger output to $stderr rather than STDERR (closes #8347)

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2007-06-14 15:18:36 +00:00
parent d9bd858855
commit 325b510f4a
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
*SVN*
* Logger defaults to $stderr instead of STDERR [lhartley]
* Use cp -RPp instead of -a in the remote cache strategy
* Make the UploadError exception include an array of the hosts that failed [rob@inversepath.com]

View file

@ -11,7 +11,7 @@ module Capistrano
MAX_LEVEL = 3
def initialize(options={})
output = options[:output] || STDERR
output = options[:output] || $stderr
if output.respond_to?(:puts)
@device = output
else