Skip to content

Commit

Permalink
Patch to ruby-openid-2.1.2 to make it work with phusion passenger (th…
Browse files Browse the repository at this point in the history
…anks bitsweat)

bitsweat: STDERR is a constant that always points the original IO stream
bitsweat: whereas $stderr is free to be twiddled around, redirected, etc
bitsweat: most places you see STDERR should be $stderr
  • Loading branch information
xaviershay committed Dec 13, 2008
1 parent 8077d3b commit ca1cd2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/ruby-openid-2.1.2/lib/openid/util.rb
Expand Up @@ -71,7 +71,7 @@ def Util.append_args(url, args)
url << Util.urlencode(args)
end

@@logger = Logger.new(STDERR)
@@logger = Logger.new($stderr)
@@logger.progname = "OpenID"

def Util.logger=(logger)
Expand Down

0 comments on commit ca1cd2a

Please sign in to comment.