ruby-protobuf / protobuf

A pure ruby implementation of Google's Protocol Buffers
https://github.com/ruby-protobuf
MIT License
463 stars 101 forks source link

ruby version compatibility #424

Closed ThomasSun001 closed 3 years ago

ThomasSun001 commented 3 years ago

Hi team, I'm currently using ruby 2.4.1, but for ruby-protobuf, it only support 2.5.0, I just noticed from the readme, so is there a way to use ruby version 2.4.1 to install and run ruby-protobuf?? thx!

film42 commented 3 years ago

The v2.5 is referring to google protobuf, although that is now out of date.

We do test against ruby 2.4 so you should be just fine to use this lib with ruby 2.4.1:

https://github.com/ruby-protobuf/protobuf/blob/03c841be846edd925ca6ac6747eca7ca358bb3c7/.circleci/config.yml#L46