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

Drop support for ruby 2.0 #832

Merged
merged 2 commits into from Dec 5, 2016
Merged

Drop support for ruby 2.0 #832

merged 2 commits into from Dec 5, 2016

Conversation

dylanahsmith
Copy link
Contributor

@fw42 & @pushrax please review

https://www.ruby-lang.org/en/downloads/ says ruby 2.0 is no longer maintained, so I don't think we should support it for liquid v4.

Motivation

ruby 2.1 added Exception#cause which I would like to assume it available for a PR I'm going to open up to add a Liquid::InternalError that will wrap non-Liquid::Error exceptions. This way we can attach the template_name and line_number to the error and still have the original exception available through the cause method for error reporting and logging.

@kainjow
Copy link
Contributor

kainjow commented Dec 2, 2016

You'll probably want to add notes for macOS users on how to upgrade Ruby since Sierra still ships with 2.0.

@dylanahsmith
Copy link
Contributor Author

I don't think it is generally recommended to install gems into the system ruby anyways. It can't be upgraded because parts of the system probably depend on that version. For reference, rails requires ruby version >= 2.2.2.

It is no longer maintained upstream
Travis doesn't have a ruby 2.3 alias, so the latest 2.3.x version is
specified instead.
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 this pull request may close these issues.

None yet

4 participants