Bundler 2.4.20 understands .ruby-version files
Gemfiles have a ruby
line that specifies a Ruby version, and most projects also have a .ruby-version
file that duplicates this value. The good news is that now you can DRY this up with Bundler 2.4.20’s new Gemfile syntax, like this: ruby file: ".ruby-version"
. The asdf .tool-versions
file is also supported. https://mattbrictson.com/blog/bundler-ruby-file
Post a comment