redis-rb / redis-client

Simple low level client for Redis 6+
MIT License
124 stars 60 forks source link

Fix symbol missing build error on M1 on Ruby 3.2.0 #79

Closed stanhu closed 1 year ago

stanhu commented 1 year ago

_ruby_abi_version is only exported on Ruby development builds. As noted in https://github.com/redis-rb/redis-client/issues/58#issuecomment-1367667097, this can best be determined by RUBY_PATCHLEVEL: it's -1 for development builds, and >=0 for released versions.