我是Ruby和Jekyll的新手。最近我试图在我的GitLab Pages实例上安装Jekyll Multiple Languages Plugin。我已经设法成功添加 “创业板安装哲基尔多语言,插件捆绑 安装”jekyll-multiple-languages-plugin无法找到
到.gitlab-ci.yml但是当我尝试添加
gems:
- jekyll-multiple-languages-plugin
成_config.yml为了使用它的网站上我的提交失败,出现以下错误:
Using jekyll-watch 1.5.0
Using jekyll 3.4.3
Bundle complete! 3 Gemfile dependencies, 20 gems now installed.
Bundled gems are installed into /usr/local/bundle.
$ jekyll build -d public
Configuration file: /builds/myusername/forty-jekyll-theme/_config.yml
Dependency Error: Yikes! It looks like you don't have jekyll-multiple-languages-plugin 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-multiple-languages-plugin' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/ ! jekyll 3.4.3 | Error: jekyll-multiple-languages-plugin
ERROR: Job failed: exit code 1
我已经使用这个方法,因为任何试图编辑Gemfile中结束了在犯的错误。我也尝试过除了加入软件包安装之外的所有步骤。在这种情况下,我得到了同样的错误,但最开始的样子:
18 gems installed
$ gem install jekyll-multiple-languages-plugin
Successfully installed jekyll-multiple-languages-plugin-1.5.1
1 gem installed
$ jekyll build -d public
我没能找到解决它的堆栈溢出,也没有其他网站的方式。 For example this did not help