Web jekyll serve显示出一个依赖性错误

Web jekyll serve显示出一个依赖性错误,web,jekyll,blogs,github-pages,Web,Jekyll,Blogs,Github Pages,在尝试在我的一个网站文件夹上运行Jekyll Service时,出现以下错误 Dependency Error: Yikes! It looks like you don't have jekyll-sitemap or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error mess

在尝试在我的一个网站文件夹上运行Jekyll Service时,出现以下错误

 Dependency Error: Yikes! It looks like you don't have jekyll-sitemap 
or one of its dependencies installed. In order to use Jekyll as 
currently configured, you'll need to install this gem. The full error 
message from Ruby is: 'cannot load such file -- jekyll-sitemap' If you 
run into trouble, you can find helpful resources at 
http://jekyllrb.com/help/! 

如何安装jekyll站点地图

要安装缺少的依赖项: 运行
gem install jekyll sitemap
,然后再次尝试运行jekyll服务器

另一个选项是,如果您有一个名为
Gemfile
的文件,请确保它在基本文件夹中有一个gem
jekyll sitemap
,运行
bundle install
,然后运行bundle exec jekyll service


还要检查此相关项。

以安装缺少的依赖项: 运行
gem install jekyll sitemap
,然后再次尝试运行jekyll服务器

另一个选项是,如果您有一个名为
Gemfile
的文件,请确保它在基本文件夹中有一个gem
jekyll sitemap
,运行
bundle install
,然后运行bundle exec jekyll service

还要检查这个相关的