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

Error when running Jekyll #5

Closed
amirgon opened this issue Feb 19, 2019 · 5 comments
Closed

Error when running Jekyll #5

amirgon opened this issue Feb 19, 2019 · 5 comments

Comments

@amirgon
Copy link
Contributor

amirgon commented Feb 19, 2019

The blog uses Jekyll to convert the .md files to a webpage. You can easily run Jekyll offline to check your post before creating the Pull request

@kisvegabor I tried installing the latest version of Ruby and Jekyll according to the link you provided.
When running bundle exec jekyll serve in blog, I get the following error:

Bundler could not find compatible versions for gem "bundler":
  In Gemfile:
    bundler (~> 1.12)

  Current Bundler version:
    bundler (2.0.1)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?

Could not find gem 'bundler (~> 1.12)' in any of the relevant sources:
  the local ruby installation

My Bundler version:

$ gem list bundler

*** LOCAL GEMS ***

bundler (2.0.1, default: 1.17.3)

I really know nothing about Ruby and Jekyll. Could you help?

@kisvegabor
Copy link
Member

I also don't know too much about it. You are also on Linux, right?

I tried a lot of things when set-up the blog so maybe there is an extra command which is still required.

Have look at this: https://stackoverflow.com/questions/49848116/bundler-cant-resolve-the-correct-dependent-version-of-a-gem-thats-manually-i?rq=1

If it doesn't solve the issue I'll set-up a virtual machine to test it.

@amirgon
Copy link
Contributor Author

amirgon commented Feb 20, 2019

Ok.
After some digging, I found how to install the correct version of Bundler and use it on Blog:

gem install bundler -v 1.12
bundle _1.12_ install

Worth updating the README...

Closing.

@amirgon amirgon closed this as completed Feb 20, 2019
@kisvegabor
Copy link
Member

Great!

As it's working here I can't test it right now. Can you add the required hint to the REAMDE?

@amirgon
Copy link
Contributor Author

amirgon commented Feb 21, 2019

Can you add the required hint to the REAMDE?

Sure, I'll add it when I push my post about lvgl+micropython.

@kisvegabor
Copy link
Member

Great, thank you!

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

No branches or pull requests

2 participants