asciidoctor / jekyll-asciidoc-quickstart

A template project for creating AsciiDoc-based websites using Jekyll.
https://asciidoctor.github.io/jekyll-asciidoc-quickstart/
MIT License
122 stars 158 forks source link

Gemfile is not up-to-date #25

Closed inecho closed 4 years ago

inecho commented 6 years ago

The Gemfile has not the current jekyll and jekyll-asciidoc versions, resulting in error message:

WARN: Unresolved specs during Gem::Specification.reset:
      eventmachine (>= 0.12.9)
      ffi (< 2, >= 0.5.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
/usr/lib/ruby/vendor_ruby/bundler/resolver.rb:354:in `block in verify_gemfile_dependencies_are_found!': Could not find gem 'jekyll-asciidoc (~> 2.0.1)' in any of the gem sources listed in your Gemfile or available on this machine. (Bundler::GemNotFound)
    from /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:330:in `each'
    from /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:330:in `verify_gemfile_dependencies_are_found!'
    from /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:199:in `start'
    from /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:183:in `resolve'
    from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:198:in `resolve'
    from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:137:in `specs'
    from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:182:in `specs_for'
    from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:171:in `requested_specs'
    from /usr/lib/ruby/vendor_ruby/bundler/environment.rb:18:in `requested_specs'
    from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:13:in `setup'
    from /usr/lib/ruby/vendor_ruby/bundler.rb:92:in `setup'
    from /home/mango/gems/gems/jekyll-3.8.3/lib/jekyll/plugin_manager.rb:50:in `require_from_bundler'
    from /home/mango/gems/gems/jekyll-3.8.3/exe/jekyll:11:in `<top (required)>'
    from /home/mango/gems/bin/jekyll:23:in `load'
    from /home/mango/gems/bin/jekyll:23:in `<main>'

to work locally with jekyll the Gemfile should look like:

source 'https://rubygems.org'

gem 'jekyll', '~> 3.8.3'
gem 'coderay', '~> 1.1.0'
gem 'rake-jekyll', '~> 1.1.0'

group :jekyll_plugins do
  gem 'jekyll-asciidoc', '~> 2.1.0'
end

maybe you could mention this in the wiki or/and in the "Edit content" section of the quickstart page. Cheers!

johncarl81 commented 6 years ago

Would you make a PR with this?