2016-08-19 285 views
0

我想通過以下these steps錯誤運行傑奇

這裏安裝化身爲錯誤:

Hussains-iMac:~ Hussain$ jekyll serve 
/usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs': Could not find 'jekyll' (>= 0.a) among 26 total gem(s) (Gem::LoadError) 
Checked in 'GEM_PATH=/Users/Hussain/.gem/ruby/2.3.0:/usr/local/lib/ruby/gems/2.3.0:/usr/local/Cellar/ruby/2.3.1/lib/ruby/gems/2.3.0', execute `gem env` for more information 
from /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/rubygems/dependency.rb:328:in `to_spec' 
from /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem' 
from /usr/local/bin/jekyll:22:in `<main>' 

爲什麼會收到錯誤以及如何解決它?

+0

鼓勵與外部資源的鏈接,但請在鏈接的周圍添加上下文,以便您的同行用戶瞭解它是什麼以及它爲什麼在那裏。如果目標網站無法訪問或永久離線,請始終引用重要鏈接中最相關的部分 – pableiros

回答

0

請提供更多信息。你跑gem install bundler?您是否使用jekyll new創建了新網站?你運行了bundle install嗎?什麼是jekyll -v的輸出?