简体   繁体   English

随RVM安装的Jekyll上缺少主题文件

[英]Missing theme file on Jekyll installed with RVM

I've error when i install Jekyll on MacOS 10.13.2 with 'gem install jekyll' command: 在MacOS 10.13.2上使用'gem install jekyll'命令安装Jekyll时出现错误:

ERROR: While executing gem ... (Gem::FilePermissionError) 

To solve this problem i am installed RVM and install Jekyll with RVM. 为了解决这个问题,我安装了RVM并使用RVM安装Jekyll。 Jekyll runs perfectly. Jekyll运行完美。 But i've some critical problem here. 但是我这里有一些关键问题。 Jekyll comes with default theme named 'Minima'. Jekyll带有默认主题“ Minima”。 I want to customize theme, but i check site file, includes file is not here. 我想自定义主题,但是我检查站点文件,包括文件不在此处。 So can't customize theme. 因此无法自定义主题。

To find the includes file i use that command on the terminal: 要查找包含文件,我在终端上使用该命令:

which gem minima

Output: 输出:

/Users/bekircem/.rvm/rubies/ruby-2.4.1/bin/gem

So i can't access to includes and other similiar files. 所以我无法访问包含和其他类似文件。

How can i fix that problem? 我该如何解决这个问题? Any suggestions? 有什么建议么?

Ok. 好。 I found a solution . 我找到了解决方案 Detailed description on the Jekyll.org about theme defaults. Jekyll.org上有关主题默认设置的详细说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM