5 ms·
Does anyone know if there's a tool out there similar to https://railsbump.org/ https://railsbump.org/ that would allow me to quickly check how many of the gems
by m12k 5y ago
Does anyone know if there's a tool out there similar to https://railsbump.org/ https://railsbump.org/ that would allow me to quickly check how many of the gems I depend on are compatible with ruby 3? I know ruby 3.0.x has been the recommended ruby version since rails 6.1, but I'm not sure if that means that a gem that is 6.1-compatible is necessarily also ruby 3 compatible (since rails 6.1 still supports ruby versions as old as 2.5.0)
- tibbon 5y agoRust has spoiled me. I truly wish this was just built into bundler. I should be able to just update the version, run bundle install, and know what is supported. Many dependencies have minimum, but not maximum versions specified. Most bugs have to be found at runtime (or via testing, which causes a runtime). Again, Rust has spoiled me because if cargo build compiles, then it’s almost certainly ok.
- ksec 5y ago>I truly wish this was just built into bundler. Interesting. Has anyone ever purposed this?
- judofyr 5y agoGems can already specify which version of Ruby they depend on: https://guides.rubygems.org/specification-reference/#required_ruby_version https://guides.rubygems.org/specification-reference/#require.... In practice you may not fully depend on it because people often write too permissive ranges (i.e. >= 2.7) and there has been some breaking changes between minor versions of Ruby 2.x so even if people write "~> 2.7" it may still be broken.