[Jekyll] Record the problems encountered when starting the server

Problem Description

Insert picture description here
Start error:
Insert picture description here

Online solutions

一、gem install bundler

Insert picture description here
---- Unresolved issues
Insert picture description here

二、bundle install

---- Unresolved issues
Insert picture description here

三、bundle exec jekyll serve

Insert picture description here
Insert picture description here
—Unresolved issues
Insert picture description here

Fourth, use the automatically generated Gemfile.lock to replace the file of the problematic project

I was inspired by this post suddenly, Insert picture description here
so how to automatically generate it:

// Install Jekyll and Bundler gems
gem install jekyll bundler via RubyGems

// Create a new Jekyll site on
./myblog jekyll new myblog

// Switch to the new directory
cd myblog

// Build site
bundle exec jekyll serve on the preview server

// Now browse http: // localhost: 4000

Simply put: jekyll new myblog

Insert picture description here
Replace these two files in the wrong project.

Ok

Published 226 original articles · praised 509 · 530,000 views

Guess you like

Origin blog.csdn.net/q764424567/article/details/104054208