I'm trying to use Ransack on RoR app. https://github.com/activerecord-hackery/ransack
Unfortunately latest ransack only support ruby 2.6+. Mine is 2.5.8. So what should I do? Any available version is there on Ransack?
You can use an older version, namely 2.4.1
.
If you look on rubygems.org
, you can quickly see the minimum required ruby version for each version of the gem:
However, you shouldn't even ordinarily need to check this manually!! If you run bundler update ransack
on a project, it will automatically fetch the latest compatible version of the gem, given all your other dependencies.