2015-10-30 6 views
34
Configuration file: /Users/andrechristoga/Documents/type-theme/_config.yml 
     Deprecation: You appear to have pagination turned on, but you haven't included the `jekyll-paginate` gem. Ensure you have `gems: [jekyll-paginate]` in your configuration file. 
      Source: /Users/andrechristoga/Documents/type-theme 
     Destination: /Users/andrechristoga/Documents/type-theme/_site 
Incremental build: disabled. Enable with --incremental 
     Generating... 
    Dependency Error: Yikes! It looks like you don't have pygments or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- pygments' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/! 
    Liquid Exception: pygments in /Users/andrechristoga/Documents/type-theme/_posts/2014-11-28-markdown-and-html.md 
      ERROR: YOUR SITE COULD NOT BE BUILT: 
        ------------------------------------ 
        pygments 

これらは、jekyll serveと入力したときのメッセージです。ジキルサービスが動作しませんでした:あなたにピグメントやその依存関係のいずれかがインストールされていないようです。

+2

install pygments: 'gem install pygments.rb' – fcalderan

答えて

64

私は同じ問題がありましたが、pygments gemのインストールを修正しました。

gem install pygments.rb 

これを私のGemfileに追加します。あなたがsudo gem install pygments.rbまたはgem install pygments.rbが、それはない

を働くかもしれコマンドを使用している場合

gem 'pygments.rb' 
+0

私のjekyllテンプレートで私は' Gemfile'を持っていませんでした。 –

-1

だから、ルートを試すことができます。

su root 
gem install pygments.rb 

この私の問題を修正します。

+1

gemにrootを使うのはお勧めしません。http://stackoverflow.com/questions/2119064/ sudo-gem-install-or-gem-install-and-gem-locations – ozOli

-1

Windowsユーザーの場合、管理者としてCLIを実行できます。これは役に立ちます。

関連する問題