You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
As part of the upgrade process, I noticed that my "mounted apps" using Sinatra are now broken.
A common example would be Sidekiq::Web (a web interface for your sidekiq queue).
It is mounted in the routes file like:
require'sidekiq/web'mountSidekiq::Web=>'/sidekiq'
And the error that you get when visiting that page is:
NoMethodError at /sidekiq/
undefined method `endpoint=' for nil:NilClass
file: sinatra.rb location: block in dispatch! line: 13
Here's the backtrace if it helps:
I assume the problem is that I'm only using the Rails initialization steps, but I'll also need to somehow include the Rack steps for these mounted Rack apps.