Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gemfile is not up-to-date #25

Closed
inecho opened this issue Aug 16, 2018 · 1 comment · Fixed by #26
Closed

Gemfile is not up-to-date #25

inecho opened this issue Aug 16, 2018 · 1 comment · Fixed by #26

Comments

@inecho
Copy link

inecho commented Aug 16, 2018

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
Copy link
Member

Would you make a PR with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants