惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
腾讯CDC
Jina AI
Jina AI
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
Apple Machine Learning Research
Apple Machine Learning Research
GbyAI
GbyAI
WordPress大学
WordPress大学
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
小众软件
小众软件
M
MIT News - Artificial intelligence
MyScale Blog
MyScale Blog
D
Docker
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
月光博客
月光博客
L
LangChain Blog
F
Fortinet All Blogs
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky
C
Check Point Blog
U
Unit 42
人人都是产品经理
人人都是产品经理

Jekyll

在 macOS Big Sur / Monterey 上适用的 Jekyll 安装过程 这可能是 2022 年最方便快捷的搭建个人博客的教程了--github pages+Jekyll 三步搞定无需命令行无需配环境 想把博客从 hexo 迁移到 Jekyll 了 一种让 Jekyll 使用 WebP 图片的实现方案 学习 Jekyll 日志贴 自荐一款自己写的 Jekyll 主题 分享一个不错的 jekyll 主题集合站 Jekyll 博客换行问题 docs.docker.com 用的 jekyll 主题能剥出来用吗? Jekyll x Liquid: 文章置顶功能的实现 分享一套原创 Jekyll 主题: Project Gaia jekyll 天坑啊. 一篇文章 5.6M .. 650 篇文章.. 就是 3.79G 啊 . 难怪本地生成用了 46 分钟啊.. 大家有没有遇到过本地预览经常忽略新建的文档? jekyll serve 一直过不了关 jekyll 怎么添加一个主题 skinny-bones-jekyll? 请教: jekyl 博客上传设置问题 jekyll 主题汇总站 开始改用新的主题! Jekyll 静态页面 md 格式怎么没有解析 来发一些你们自己原创的 Jekyll 主题吧 Jekyll 的 markdown 解析真是蛋疼啊 分享一个 Jekyll 框架: Almace Scaffolding 上次吐槽 Jekyll 纯静态,现在博客却已经由 Wordpress 迁移到 Jekyll,你们会骂我么? Jekyll 输出特定栏目文章列表的方法 jekyll 本地启动的问题 刚刚又剁手买了 JekyllWriter.com 这个域名,我没救了 gitbook 生成的静态页面有错误,和 jekyll 有关么? Jekyll 3.0 Released 怎么替换 jekyll 的 markdown 渲染引擎呢? Jekyll 以#为注释,那要怎么输出 RGB 颜色?
Installing Jekyll on macOS Ventura
Livid · 2023-01-05 · via Jekyll

I have been following this tutorial by Sean Boots on how to install Jekyll on previous versions of macOS. It worked really well and provided a smooth installation process. However, since the latest version of macOS (Ventura) still ships with Ruby 2.6, some Gems started to complain about that. So, I found a new method that uses the excellent rbenv project to install a newer version of Ruby.

1. Install rbenv with Homebrew.

brew install rbenv ruby-build

Add this to ~/.zshrc if you are using zsh:

eval "$(rbenv init - zsh)"

2. Change to your Jekyll blog's work directory, and install a newer version of Ruby:

rbenv install 3.1.3

3. Activate it for your Jekyll:

rbenv local 3.1.3

Check if you have got the desired version:

ruby -v

It should output something like this:

ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [arm64-darwin22]

If you see an older version like this:

ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin22]

Check previous steps.

4. Install the two essential gems:

gem install bundler jekyll

5. Set bundle to use a local folder inside your website:

bundle config set --local path 'vendor/bundle'

6. Install the rest of gems:

bundle install

If you encounter any issues with any Gems, try deleting the Gemfile.lock and running the command again.

7. Exclude the vendor folder in your Jekyll config file, for example:

exclude:
- .ruby-gemset
- .ruby-version
- Gemfile
- Gemfile.lock
- Makefile
- README.md
- vendor/

You will also need to add the following lines into .gitignore:

vendor/
.bundle/

8. Your Jekyll installation is now set up and ready to use. To launch a live preview, try running the following command:

bundle exec jekyll serve --watch

I hope you are enjoying the ride. However, if you found the process complex and difficult, you are not alone. That is also part of the reason I started working on Planetable.xyz, a static site generator with a graphical interface and a built-in IPFS node. With the Planet app, you don't need any command line knowledge to start blogging and self-hosting on your Mac. You don't even need an account or cloud because Planet has a built-in IPFS node that can help you publish your blog directly to the Internet as an InterPlanetary Name. You can later link that InterPlanetary Name (IPNS) to your Ethereum Name (.eth name). Since both IPFS and ENS are not controlled by any single entity, you can publish your blog in a fully decentralized way.