Integrating .ruby-version into your Rails Gemfile ruby

Integrating .ruby-version into your Rails Gemfile

Stop declaring your Ruby version twice: with a recent Bundler your Gemfile can read .ruby-version directly using ruby file: ".ruby-version". The one-line setup, the required Bundler upgrade, and how it keeps rbenv, RVM, or asdf and Rails in sync.

Jul 22, 2024