ice_cube icon indicating copy to clipboard operation
ice_cube copied to clipboard

gempsec allows incompatible versions of ruby

Open scpike opened this issue 6 months ago • 0 comments

ice_cube 0.17.0+ starts using the new "anonymous block argument" feature of Ruby 3.1+ (https://rubyreferences.github.io/rubychanges/3.1.html#anonymous-block-argument). This syntax is incompatible with Ruby 3.0 and below, but the gemspec allows installing ice_cube with any version of Ruby. It's used for example here.

If you are still on Ruby 2.7 and are trying to upgrade, 0.16.4 is the version that is dual-compatible with both ruby 2.7 and 3.0.

Feel free to close this issue, I just wanted to document this here for anyone else who runs into the same thing in the future.

scpike avatar Aug 22 '24 17:08 scpike