Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1743421
  • 博文数量: 297
  • 博客积分: 285
  • 博客等级: 二等列兵
  • 技术积分: 3006
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-06 22:04
个人简介

Linuxer, ex IBMer. GNU https://hmchzb19.github.io/

文章分类

全部博文(297)

文章存档

2020年(11)

2019年(15)

2018年(43)

2017年(79)

2016年(79)

2015年(58)

2014年(1)

2013年(8)

2012年(3)

分类: Html/Css

2017-11-29 11:47:33

1. kali linux 安装jekyll完jekyll后,使用jekyll server 命令会报错

/usr/lib/ruby/vendor_ruby/bundler/spec_set.rb:87:in `block in materialize': Could not find i18n-0.8.6 in any of the sources (Bundler::GemNotFound)

解决方案:
<1>. 我装了很多的i18n
apt-get install ruby-i18n-inflector-rails ruby-i18n ruby-rails-i18n

gem list |grep i18n
能看到i18n已经装上了,但是版本提示不正确,干脆还是用bundle吧。

<2>. 使用bundle 解决掉问题
gem install bundler
bundle install
jekyll server

Last:
操作系统的repo和软件的repo将来会使得计算机更加复杂,君不见python,ruby,php 都可以自己管理软件了,而操作系统也有apt/yum,
而这些软件版本不同,处理这些软件配合变得越发的困难。


2. git 删除了本地文件或者后要使用`git add .` 否则`git status 会看到Changes not staged for commit:`, 然后再commit.


3. .gitignore 文件要准备一个,排除本地jekyll生成的目录 _site.
阅读(1140) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~