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

diff ruby version #1689

Open
chlgkrws opened this issue Nov 29, 2022 · 1 comment
Open

diff ruby version #1689

chlgkrws opened this issue Nov 29, 2022 · 1 comment

Comments

@chlgkrws
Copy link

i try to install slate refer to this(https://github.com/slatedocs/slate/wiki/Using-Slate-Natively)

when i input 'bundler install', throws error "nokogiri-1.13.4-x86_64-linux requires ruby version < 3.2.dev, >= 2.6, which is
incompatible with the current version, ruby 2.5.1p57"

how do I fix this?

#Drop support for Ruby 2.5
6208332

@MasterOdin
Copy link
Member

That wiki page was outdated in required Ruby version, I've updated it to accurately say that you'll need Ruby >= 2.6. I've also updated the supported version of Ubuntu to 20.04+ as that's the one that comes out of the box with a supported Ruby version. If you're using an older Ubuntu version, you'll need to install a newer Ruby version using something like rvm or a ppa (e.g. brightbox).

Alternatively, you could use slate 2.12.0 which should work on Ruby 2.5, but will have outdated version of nokogiri dependency which does have a security vulnerability reported against it, but is for a feature that's not used for slate so it should be fine. The other patches from 2.13.0 onwards should apply fine as well against the older version.

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