huacnlee / rucaptcha

Captcha Gem for Rails, which generates captcha image by Rust.
https://huacnlee.github.io/rucaptcha
MIT License
693 stars 133 forks source link

install issue on Debian Bullseye #105

Open cernyjakub opened 1 year ago

cernyjakub commented 1 year ago

When trying to install this gem, I get:

rucaptcha-3.2.1-x86_64-linux requires ruby version < 3.3.dev, >= 3.1, which is incompatible with the current version, 2.7.4

However, the .gemspec file states that 2.7 should be supported.

Did anyone else experience this?

huacnlee commented 1 year ago

Thanks, just updated.

https://github.com/huacnlee/rucaptcha/commit/f7ce8027c31577ef762c8fcacaad8c2b647de724

cernyjakub commented 1 year ago

Why is the ruby requirement so high? After patching the Gemfile.lock and adding PLATFORMS x86_64-linux I was able to install it on bullseye and it runs on ruby 2.7.4 just fine.

I think it would be cool to keep compatibility with 2.7 for few more months, not all production servers are upgraded afaik.