我是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