Skip to content

Not compatible with 'mount Resque::Server' in routes #21

@rochers

Description

@rochers

I am getting a hard Rack error when I try to access my resque web interface:


NoMethodError at /resque/web
undefined method `split' for nil:NilClass

Ruby /Users/rocher/.rvm/gems/ruby-2.1.0/gems/font_assets-0.1.10/lib/font_assets/middleware.rb: in extension, line 61
Web GET localhost.dev/resque/web
Jump to:
GETPOSTCookiesENV
Traceback (innermost first)

/Users/rocher/.rvm/gems/ruby-2.1.0/gems/font_assets-0.1.10/lib/font_assets/middleware.rb: in extension
"." + path.split("?").first.split(".").last...
/Users/rocher/.rvm/gems/ruby-2.1.0/gems/font_assets-0.1.10/lib/font_assets/middleware.rb: in set_headers!
if ext = extension(path) and font_asset?(ext)...


The line in my routes.rb is:
mount Resque::Server, at: '/resque/web'

Any thoughts on a workaround / root cause or should I fork and fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions