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

推荐订阅源

T
The Exploit Database - CXSecurity.com
F
Fortinet All Blogs
U
Unit 42
F
Full Disclosure
雷峰网
雷峰网
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
罗磊的独立博客
D
DataBreaches.Net
C
Check Point Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
O
OpenAI News
C
CXSECURITY Database RSS Feed - CXSecurity.com
aimingoo的专栏
aimingoo的专栏
S
Security @ Cisco Blogs
大猫的无限游戏
大猫的无限游戏
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
SegmentFault 最新的问题
NISL@THU
NISL@THU
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Hacker News
The Hacker News
Webroot Blog
Webroot Blog
Security Latest
Security Latest
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Google DeepMind News
Google DeepMind News
酷 壳 – CoolShell
酷 壳 – CoolShell
N
News | PayPal Newsroom
P
Proofpoint News Feed
B
Blog RSS Feed
MongoDB | Blog
MongoDB | Blog
C
Cybersecurity and Infrastructure Security Agency CISA
N
News and Events Feed by Topic
Google Online Security Blog
Google Online Security Blog
H
Help Net Security
Spread Privacy
Spread Privacy
T
Threat Research - Cisco Blogs
GbyAI
GbyAI
I
Intezer
Application and Cybersecurity Blog
Application and Cybersecurity Blog
M
MIT News - Artificial intelligence
Vercel News
Vercel News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
IT之家
IT之家
MyScale Blog
MyScale Blog
腾讯CDC

Jekyll

在 macOS Big Sur / Monterey 上适用的 Jekyll 安装过程 - V2EX 这可能是 2022 年最方便快捷的搭建个人博客的教程了--github pages+Jekyll 三步搞定无需命令行无需配环境 - V2EX 想把博客从 hexo 迁移到 Jekyll 了 - V2EX 一种让 Jekyll 使用 WebP 图片的实现方案 - V2EX 学习 Jekyll 日志贴 - V2EX 自荐一款自己写的 Jekyll 主题 - V2EX 分享一个不错的 jekyll 主题集合站 - V2EX Jekyll 博客换行问题 - V2EX docs.docker.com 用的 jekyll 主题能剥出来用吗? - V2EX Jekyll x Liquid: 文章置顶功能的实现 - V2EX 分享一套原创 Jekyll 主题: Project Gaia - V2EX jekyll 天坑啊. 一篇文章 5.6M .. 650 篇文章.. 就是 3.79G 啊 . 难怪本地生成用了 46 分钟啊.. - V2EX 大家有没有遇到过本地预览经常忽略新建的文档? - V2EX jekyll serve 一直过不了关 - V2EX jekyll 怎么添加一个主题 skinny-bones-jekyll? - V2EX 请教: jekyl 博客上传设置问题 - V2EX jekyll 主题汇总站 - V2EX 开始改用新的主题! - V2EX Jekyll 静态页面 md 格式怎么没有解析 - V2EX 来发一些你们自己原创的 Jekyll 主题吧 - V2EX Jekyll 的 markdown 解析真是蛋疼啊 - V2EX 分享一个 Jekyll 框架: Almace Scaffolding - V2EX 上次吐槽 Jekyll 纯静态,现在博客却已经由 Wordpress 迁移到 Jekyll,你们会骂我么? - V2EX Jekyll 输出特定栏目文章列表的方法 - V2EX jekyll 本地启动的问题 - V2EX 刚刚又剁手买了 JekyllWriter.com 这个域名,我没救了 - V2EX gitbook 生成的静态页面有错误,和 jekyll 有关么? - V2EX Jekyll 3.0 Released - V2EX 怎么替换 jekyll 的 markdown 渲染引擎呢? - V2EX Jekyll 以#为注释,那要怎么输出 RGB 颜色? - V2EX jekyll 解析 excel 或 cvs - V2EX Hexo 和 Jekyll 的主要差异是什么,各自的优缺点是什么? - V2EX Jekyll 搭建的博客,大家一般把图放在什么地方呢? - V2EX 2015 年新年知识点! 快速搭建 jekyll by jekyllnow - V2EX 如何才能将 Jekyll 部署在子目? - V2EX 推荐两款很好地 jekyll 主题,在 github 写博客吧 - V2EX 分享一个 Jekyll 主题 - V2EX jekyll 上传到 github 页面错乱八七,没有样式 - V2EX Jekyll 和 Jekyll-bootstrap 有什么区别?能否互通? - V2EX 运行在 GitHub 上的 Jekyll 博客怎么样能够添加文章分类? - V2EX 升级至 2.0.0 有关时区的注意事项 - V2EX Jekyll 2 默认主题在 Chrome/WebKit 上那个不太正常的 header 高度 - V2EX Jekyll 2 默认主题里的一个小问题 - V2EX Jekyll 2.0.0 - V2EX 在ubuntu上安装jekyll遇到了问题 - V2EX 吐槽Disqus - V2EX 分享个人Jekyll博客 - V2EX
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.