clayh53 / tufte-jekyll

Minimal Jekyll blog styled to resemble the look and layout of Edward Tufte's books
MIT License
620 stars 206 forks source link

Build fail (colorator?) #58

Closed davideriboli closed 7 years ago

davideriboli commented 7 years ago

Hi, I've just tried to build your theme under Ubuntu Xenial, using Jekyll 3.2.3 but this was the terminal output:

stormy@Stormbringer:~/GitHub/test$ jekyll build
WARN: Unresolved specs during Gem::Specification.reset:
      jekyll-watch (~> 1.1)
      rouge (~> 1.7)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
/usr/lib/ruby/vendor_ruby/bundler/runtime.rb:34: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 /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:19:in `setup'
    from /usr/lib/ruby/vendor_ruby/bundler.rb:92:in `setup'
    from /var/lib/gems/2.3.0/gems/jekyll-3.4.3/lib/jekyll/plugin_manager.rb:36:in `require_from_bundler'
    from /var/lib/gems/2.3.0/gems/jekyll-3.4.3/exe/jekyll:9:in `<top (required)>'
    from /usr/local/bin/jekyll:23:in `load'
    from /usr/local/bin/jekyll:23:in `<main>'
clayh53 commented 7 years ago

This sounds like a version mis-match to me. Let me check the Gemfile and make sure that there is not some specification that is too specific. This is a pretty vanilla theme and should compile easily.

C

On Apr 19, 2017, at 10:25 AM, Davide Riboli <notifications@github.com mailto:notifications@github.com> wrote:

Hi, I've just tried to build your theme under Ubuntu Xenial, using Jekyll 3.2.3 but this was the terminal output:

stormy@Stormbringer:~/GitHub/test$ jekyll build WARN: Unresolved specs during Gem::Specification.reset: listen (< 3.1, ~> 3.0) WARN: Clearing out unresolved specs. Please report a bug if this causes problems. /usr/lib/ruby/vendor_ruby/bundler/spec_set.rb:94:in block in materialize': Could not find blankslate-2.1.2.4 in any of the sources (Bundler::GemNotFound) from /usr/lib/ruby/vendor_ruby/bundler/spec_set.rb:87:inmap!' from /usr/lib/ruby/vendor_ruby/bundler/spec_set.rb:87:in materialize' from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:137:inspecs' from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:182:in specs_for' from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:171:inrequested_specs' from /usr/lib/ruby/vendor_ruby/bundler/environment.rb:18:in requested_specs' from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:13:insetup' from /usr/lib/ruby/vendor_ruby/bundler.rb:92:in setup' from /var/lib/gems/2.3.0/gems/jekyll-3.4.3/lib/jekyll/plugin_manager.rb:36:inrequire_from_bundler' from /var/lib/gems/2.3.0/gems/jekyll-3.4.3/exe/jekyll:9:in <top (required)>' from /usr/local/bin/jekyll:23:inload' from /usr/local/bin/jekyll:23:in `

'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/clayh53/tufte-jekyll/issues/58, or mute the thread https://github.com/notifications/unsubscribe-auth/AC7Tds6QFIICRLWbXhH_NSrTHUs1uB2iks5rxhlLgaJpZM4NBwlt.

davideriboli commented 7 years ago

If this can help my versions are:

The only command I've launched was: jekyll build

davideriboli commented 7 years ago

Found!

  1. I was missing a Javascript runtime = sudo apt install nodejs
  2. Commands jekyll build and jekyll serve still not working = using bundle exec jekyll build and bundle exec jekyll serve.

Now everything works.