错误在Ubuntu 14.04

问题描述:

运行杰奇安装在Ubuntu 14.04哲基尔下面这个http://michaelchelen.net/81fa/install-jekyll-2-ubuntu-14-04/错误在Ubuntu 14.04

后,它显示了一些警告,但它表示,安装成功。

然后,当我尝试使用命令化身-v

它显示了这个

WARN检查版本:宝石:: Specification.reset中未解决的规格: 听(< 3.1〜 > 3.0)

WARN:清除未解决的规格。 如果这导致问题,请报告错误。 /home/ant-ed/.gem/ruby/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:35:in block in setup': You have already activated colorator 1.1.0, but your Gemfile requires colorator 0.1. Prepending bundle exec to your command may solve this. (Gem::LoadError) from /home/ant-ed/.gem/ruby/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:20:in map' from/home/ant-ed /.gem/ruby/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:20:in setup' from /home/ant-ed/.gem/ruby/2.3.0/gems/bundler-1.12.5/lib/bundler.rb:95:in setup' from /home/ant-ed/.gem/ruby/2.3.0/ gems/jekyll-3.2.0/lib/jekyll/plugin_manager.rb:36:require_from_bundler' from /home/ant-ed/.gem/ruby/2.3.0/gems/jekyll-3.2.0/exe/jekyll:9:in' from /home/ant-ed/.gem/ruby/2.3.0/bin/jekyll:22:in load' from /home/ant-ed/.gem/ruby/2.3.0/bin/jekyll:22:in'

我应该卸载jekyll并尝试重新安装吗?

切换到厂址位于和运行目录:

bundle install 
bundle exec jekyll -v 

Gemfile指定该bundle exec前缀将加载正确的宝石。

+1

我试过2个命令,但仍然显示相同的错误 –

+1

然后你可能有问题与系统之一的红宝石冲突。按照http://rvm.io的建议,在jekyll文件夹中安装'rvm'并重做'bundle install'。这应该有所帮助。 – mudasobwa