Problem Description
Start error:
Online solutions
一、gem install bundler
---- Unresolved issues
二、bundle install
---- Unresolved issues
三、bundle exec jekyll serve
—Unresolved issues
Fourth, use the automatically generated Gemfile.lock to replace the file of the problematic project
I was inspired by this post suddenly,
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
Replace these two files in the wrong project.
Ok