Comments (3)
Update: The solution I found was to update jekyll-admin to the latest version:
gem 'jekyll-admin', '~> 0.11.1'
Also relevant
I got the following error when I tried launching Jekyll Admin on rack version 3.0.10:
internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb:37:in `require': cannot load such file -- rack/handler (LoadError)
After searching, I found this post saying that:
As of version 3.0
Rack::Handler
was removed fromrack
and pulled out into its own gem (rackup
).
To fix the error, add gem 'rackup'
to the gemfile:
gem 'rack'
gem 'rackup'
from jekyll-admin.
Update
Upon further local testing, it seems that Jekyll Admin has trouble allowing me to change and edit files when using the rack ~> 3.0
and rackup
gems.
Respective versions that caused this bug to happen are as follows:
- Jekyll Admin 0.11.1
- Rack 3.0.10
- Rackup 2.1.0
Rolling back rack
to a version below 3.0 (I used version 1.6.13
) and hence removing the rackup gem seems to solve the problem. However, Jekyll Admin still says that it "could not fetch the config" even if the _config.yml
file was successfully updated. Just like the issue linked, it has the exact same issue when updating any other file in the site.
Also to note
Regardless of whether Jekyll Admin is using gem "rack", "< 3.0"
or gem "rack", "~> 3.0"
paired with gem "rackup"
, the homepage configuration no longer works, instead always defaulting to pages
. No matter what you set it as in _config.yml
:
jekyll_admin:
homepage: "posts"
The above configuration does not work.
from jekyll-admin.
from jekyll-admin.
Related Issues (20)
- Feature Request: Add Support For [[wikilink]]ing (Bidirectional Links/Internal Links/etc.) HOT 1
- No matter which version I try, Jekyll admin cannot run correctly in Jekyll docker. 403 erro HOT 3
- How to launch Jekyll Admin as a seperate service HOT 4
- README.md not displayed in jekyll admin HOT 1
- Feature Request: Post editing file upload and folder creation HOT 3
- Feature | vim key bindings and line number in the editor
- Gem not updated for one and half years HOT 4
- Git Hub hosting errors HOT 5
- Styles in render previews HOT 1
- Advice for extending jekyll-admin? HOT 1
- Jed
- Files are displayed duplicated after saving HOT 3
- Jekyll blankpage HOT 3
- This repo is open to contributions? if yes I would like to help HOT 5
- Admin saving to `_posts` in root instead of custom collection folder `collections_dir` HOT 1
- ./scripts/bootstrap doesn't work HOT 5
- incompatible with sinatra 4.0 / rack 3.0 HOT 3
- Homepage configuration no longer works
- Undefined method 'rewind' - pages cannot be added HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-admin.