Ani*_*wad 7 ruby rubygems jekyll jekyll-theme
我在尝试启动 Jekyll 服务器时遇到以下错误
错误:未初始化的常量
FFI::Platform::CPU
我尝试重新安装 Jekyll 服务器及其依赖项,但没有成功。有人可以帮我解决这个问题吗?谢谢。
我正在使用ubuntu=18.04,jekyll=3.8.6
anil@anil:~/customer-churn$ jekyll serve
Configuration file:
~/customer-churn/_config.yml
Source: ~/customer-churn
Destination: ~/customer-churn/_site
Incremental build: disabled. Enable with --incremental
Generating... done in 0.597 seconds.
jekyll 3.8.6 |
Error: uninitialized constant FFI::Platform::CPU
Run Code Online (Sandbox Code Playgroud)
bug*_*ead 11
我想,如果你安装时出现此问题杰基尔通过apt。在这种情况下, abundle update不会在apt remove. 尝试以下方法:
首先卸载Jekyll:
sudo apt remove jekyll*
Run Code Online (Sandbox Code Playgroud)
清理你的依赖库:
sudo apt autoremove
Run Code Online (Sandbox Code Playgroud)
然后在您的项目目录中运行:
bundle update
Run Code Online (Sandbox Code Playgroud)
积极的,那么jekyll serve应该为你工作。
我通过使用以下链接中给出的一些步骤重新安装 Jekyll 及其依赖项解决了这个问题 -
http://michaelchelen.net/81fa/install-jekyll-2-ubuntu-14-04/
我只想感谢所有在百忙之中给予我帮助和指导的人。