I’m trying to use an older version of Ruby but I keep getting a parser compatibility error
App 36588 stderr: warning: parser/current is loading parser/ruby22, which recognizes
App 36588 stderr: warning: 2.2.5-compliant syntax, but you are running 2.2.1.
App 36588 stderr: warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
I managed to fix this by updating my ruby and rails versions but I actually really need to be using the older version as I am contributing to a larger project. Is there a way to fix this without updating?