We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Ruby 2.0-p247, clicking on any kind of file results in this:
Puma caught this error: no implicit conversion of Array into String (TypeError) /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/mime-types-1.25/lib/mime/types.rb:296:in `match' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/mime-types-1.25/lib/mime/types.rb:296:in `simplified' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/mime-types-1.25/lib/mime/types.rb:653:in `[]' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/mime-types-1.25/lib/mime/types.rb:848:in `[]' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/heel-3.1.1/lib/heel/mime_map.rb:52:in `block in initialize' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/heel-3.1.1/lib/heel/mime_map.rb:51:in `each' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/heel-3.1.1/lib/heel/mime_map.rb:51:in `initialize' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/heel-3.1.1/lib/heel/rackapp.rb:42:in `new' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/heel-3.1.1/lib/heel/rackapp.rb:42:in `mime_map' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/heel-3.1.1/lib/heel/rackapp.rb:115:in `file_response' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/heel-3.1.1/lib/heel/rackapp.rb:137:in `call' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.5.2/lib/rack/builder.rb:138:in `call' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.5.2/lib/rack/urlmap.rb:65:in `block in call' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `each' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `call' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/puma-2.6.0/lib/puma/rack_patch.rb:13:in `call' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/puma-2.6.0/lib/puma/server.rb:486:in `handle_request' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/puma-2.6.0/lib/puma/server.rb:357:in `process_client' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/puma-2.6.0/lib/puma/server.rb:250:in `block in run' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/puma-2.6.0/lib/puma/thread_pool.rb:92:in `call' /Users/alex/.rvm/gems/ruby-2.0.0-p247/gems/puma-2.6.0/lib/puma/thread_pool.rb:92:in `block in spawn_thread'
The text was updated successfully, but these errors were encountered:
Thanks for reporting this, I'll get this integrated into the next release.
Sorry, something went wrong.
Looks like this is caused by the same usage of MIME::Type.from_array as indicated in #12. This should be fixed with 5381385
MIME::Type.from_array
Successfully merging a pull request may close this issue.
On Ruby 2.0-p247, clicking on any kind of file results in this:
The text was updated successfully, but these errors were encountered: