mirror of
https://github.com/github/rails.git
synced 2026-01-30 00:38:00 -05:00
Explicitly convert the buffer array to a string before writing to head off compatibility issues with outputs that don't fully quack like an IO.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7734 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -91,7 +91,7 @@ module ActiveSupport
|
||||
end
|
||||
|
||||
def flush
|
||||
@log.write(@buffer.slice!(0..-1)) unless @buffer.empty?
|
||||
@log.write(@buffer.slice!(0..-1).to_s) unless @buffer.empty?
|
||||
end
|
||||
|
||||
def close
|
||||
|
||||
Reference in New Issue
Block a user