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

docs: Help update Jekyll #7553

Closed
muromtsev opened this issue Mar 2, 2019 · 3 comments
Closed

docs: Help update Jekyll #7553

muromtsev opened this issue Mar 2, 2019 · 3 comments

Comments

@muromtsev
Copy link

Hi. There is a repository with a blog. So, recently I started to swear at what needs to be updated Jekyll.
How to do it?
http://prntscr.com/ms9ret

@ashmaroli
Copy link
Member

Run bundle update in your terminal to update all outdated gems in your project.
Run bundle update jekyll in your terminal to just update Jekyll.

@DirtyF
Copy link
Member

DirtyF commented Mar 2, 2019

@muromtsev Most of the times, you just need to run bundle update.

See https://bundler.io/v2.0/man/bundle-update.1.html if you want to know more.

Be aware that the corresponding update will depend on the versions declared in your Gemfile:

gem "jekyll", "3.8.5" # stick to a specific version
gem "jekyll" # versionless, will update to latest version
gem "jekyll", ">= 3.7" # optimistic
gem "jekyll", "~>3" # pessimistic, don't upgrade to next major version, that might break compatibility

See https://guides.rubygems.org/patterns/#pessimistic-version-constraint to learn about semantic versioning and version constraint.

@jekyll/documentation Should we add a section on updating gems? (even if there's nothing specific to Jekyll)

@muromtsev
Copy link
Author

Thank you for your reply.
There was a console error
in find_spec_for_exe cant find with exutable bundle
Corrected. Updated. Thank!

@DirtyF DirtyF closed this as completed May 4, 2019
@jekyll jekyll locked and limited conversation to collaborators May 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants