Heroku has replied on people specifying a Ruby version in their Gemfile for a LONG time. We’ve never required it in the Gemfile.lock, until today.
We recently rolled out new Bundler versions which come with some new behavior. If you’re using Bundler 2.4+ you are required to have RUBY VERSION in your Gemfile.lock.