Open cabello opened 6 years ago
I got the same error! None is here to give a hand?
@TuxmAL which version of Sinatra and the gem are you using?
Hi @cabello,
I'm using:
and I have to admit that I had not so much time to play around with this issue.
Hi @TuxmAL check if my changes will fix your issues.
try with this:
gem 'sinatra-rake-routes', github: 'scicco/sinatra-rake-routes', branch: 'sinatra2.0'
Sorry for the delay, @scicco. I made a test on a project of mine: it seems to work fine --at least the error message didn't appear ;-) -- and the output covers all the route of my app (as you can see):
GET
/Customer.json
/Dutycycle.json
/openapi.json
/openapi.yaml
/payments/v1/alive
/payments/v1/ping
/payments/v1/pong
/payments/v1/transaction
HEAD
/Customer.json
/Dutycycle.json
/openapi.json
/openapi.yaml
/payments/v1/alive
/payments/v1/ping
/payments/v1/pong
/resources.json
POST
/payments/v1/customer
OPTIONS
/payments/v1/transaction
Thank you for your patience and for your help.
@scicco Wanna propose a pull request? We can review and merge it :)