Jekyll服务中的rb-fsevent(> = 0.9.4,〜> 0.9)错误 - 手表

时间:2016-12-27 00:03:16

标签: jekyll

我在执行<div class="match_container" *ngFor="let tipp of tippsmodelview; let i = index;"> <div class="matchbody-col3"> {{(tipp.matchsub.team2sub | async)?.teamname}} </div> </div>

时遇到了错误
Jekyll serve --watch

我使用了WARN: Unresolved specs during Gem::Specification.reset: rb-fsevent (>= 0.9.4, ~> 0.9) WARN: Clearing out unresolved specs. Please report a bug if this causes problems. /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/definition.rb:179:in `rescue in specs': Your bundle is locked to minima (1.0.1), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of minima (1.0.1) has removed it. You'll need to update your bundle to a different version of minima (1.0.1) that hasn't been removed in order to install. (Bundler::GemNotFound) from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/definition.rb:173:in `specs' from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/definition.rb:233:in `specs_for' from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/definition.rb:222:in `requested_specs' from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:118:in `block in definition_method' from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/runtime.rb:19:in `setup' from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler.rb:99:in `setup' from /usr/local/lib/ruby/gems/2.3.0/gems/jekyll-3.3.1/lib/jekyll/plugin_manager.rb:36:in `require_from_bundler' from /usr/local/lib/ruby/gems/2.3.0/gems/jekyll-3.3.1/exe/jekyll:9:in `<top (required)>' from /usr/local/bin/jekyll:23:in `load' from /usr/local/bin/jekyll:23:in `<main> 并获得了以下更新

bundle update

当我执行Amar@Mac:~/Documents/www/jekyll-blog/amardhillon.com$ bundle update Fetching gem metadata from https://rubygems.org/................ Fetching version metadata from https://rubygems.org/... Fetching dependency metadata from https://rubygems.org/.. Resolving dependencies... Using colorator 1.1.0 Using ffi 1.9.14 Using forwardable-extended 2.6.0 Your user account isn't allowed to install to the system Rubygems. You can cancel this installation and run: bundle install --path vendor/bundle to install the gems into ./vendor/bundle/, or you can enter your password and install the bundled gems to Rubygems using sudo. Password: Installing sass 3.4.23 (was 3.4.22) Using rb-fsevent 0.9.8 (was 0.9.7) Using kramdown 1.13.1 (was 1.12.0) Using liquid 3.0.6 Using mercenary 0.3.6 Using rouge 1.11.1 Using safe_yaml 1.0.4 Installing minima 2.0.0 (was 1.0.1) Using bundler 1.13.6 Using rb-inotify 0.9.7 Using pathutil 0.14.0 Using jekyll-sass-converter 1.5.0 (was 1.4.0) Using listen 3.0.8 Using jekyll-watch 1.5.0 Using jekyll 3.2.1 Bundle updated! 时再次出现这种情况,然后出现同样的错误。非常感谢任何帮助。

1 个答案:

答案 0 :(得分:2)

使用sudo gem install rb-fsevent

安装了

gem