Skip to content

"Incompatible character encodings: ASCII-8BIT and UTF-8" somewhere in Rack's libraries #922

Closed
@LavirtheWhiolet

Description

Here is the Rackup file to reproduce:

# Here is the workaround:
=begin
require 'puma'
class Puma::Configuration
  def inspect
    "(not available)"
  end
end
=end

run(lambda { |env| ['200', {'Content-Type' => 'text/html'}, ["Hi!"]] })

This is in Ruby 1.9.3.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions