2017-12-19 8 views
-3

私のコンピュータ上でhttps://github.com/daattali/beautiful-jekyll.gitのプロジェクトをクローンすると、ジキルはプロジェクトを開始しますが、何らかのエラーが発生します。ジキルを使ってローカル開発をしたいのですが?地方開発を行うにはどうすればよいですか?

エラーは次のとおりです。

WARN: Unresolved specs during Gem::Specification.reset: 
     jekyll-watch (~> 1.1) 
     rouge (< 3, >= 1.7) 
     rb-fsevent (>= 0.9.4, ~> 0.9) 
     rb-inotify (>= 0.9.7, ~> 0.9) 
WARN: Clearing out unresolved specs. 
Please report a bug if this causes problems. 
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:313:in `check_for_activated_spec!': You have already activated public_suffix 3.0.1, but your Gemfile requires public_suffix 2.0.5. Prepending `bundle exec` to your command may solve this. (Gem::LoadError) 
     from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:31:in `block in setup' 
     from C:/Ruby24-x64/lib/ruby/2.4.0/forwardable.rb:229:in `each' 
     from C:/Ruby24-x64/lib/ruby/2.4.0/forwardable.rb:229:in `each' 
     from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:26:in `map' 
     from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-`enter code here`1.16.0/lib/bundler/runtime.rb:26:in `setup' 
     from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler.rb:107:in `setup' 
     from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/jekyll-3.6.2/lib/jekyll/plugin_manager.rb:50:in `require_from_bundler' 
     from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/jekyll-3.6.2/exe/jekyll:11:in `<top (required)>' 
     from C:/Ruby24-x64/bin/jekyll:23:in `load' 
     from C:/Ruby24-x64/bin/jekyll:23:in `<main>' 
+3

エラーは何ですか? – jhpratt

+0

ようこそStackOverflowへ!これまでに何か試しましたか? StackOverflowはあなた自身の問題を最初に解決しようとしています。質問を更新して、あなたが直面している特定の問題を[最小で、完全で、検証可能な例で]示しています(http://stackoverflow.com/help/mcve)。詳細については、[良い質問をする方法](http://stackoverflow.com/help/how-to-ask)を参照し、[サイトの見学]を受けてください(http://stackoverflow.com/tour )。 –

+1

「何らかのエラー」はあまり役に立ちません。あなたの質問を編集し、正確なエラーメッセージを追加してください。 – Chris

答えて

0

私は私の質問を解決しました。 まず、Gemfileファイルにコードを追加する必要があります。 コードは、次に

gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw] 

です:あなたが開始するbundle exec jekyll serveを使用しています。その後、ローカル開発を使用することができます。

関連する問題