-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
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
incompatible with sinatra 4.0 / rack 3.0 #705
Comments
Github Dependabot sent me multiple security alerts regarding |
@namiwang unfortunately your fix (adding
I managed to get both admin and saving files working by downgrading sinatra:
Edit: issue mentioned here too #709 |
I've had similar but not identical issues today after forking from an old jekyll theme, switching on dependabot, and it asking for some massive version leaps in both
Thanks @yuanworks : after trying various other fix suggestions from around the internet, downgrading sinatra to 3.x (3.2.0 specifically) did the trick for me. I am not normally a ruby person and a little lost in this dependency mire, but commenting in case this helps anyone else out. |
Here's the answer (most likely). You need to add the
|
@yuanworks You would also need to replace your line that looks like this:
with a line that looks like this:
where
Note: it will still run |
This worked for me thank you. @philosophicles |
After upgrading
sinatra
(whichjekyll-admin
depends on) to 4.0, got the following error when staring serverThe root cause is
sinatra
4 dropped support forrack
2refs:
A workaround is to add
gem "rackup"
toGemfile
.A simple fix would be limiting
spec.add_dependency "sinatra", ">= 1.4", "< 4.0"
ingemspec
, or addingrackup
as a direct dependency.The text was updated successfully, but these errors were encountered: