The RVM Best Practices state that, to connect a project to a specific Ruby version, you should specify that version in the project-specific rvmrc
file.
This SO answer states that, in most situations, you should use specify the Ruby version in the .ruby-version
file.
Heroku says you should specify the Ruby version in Gemfile
.
What is the correct way to specify a Ruby version, using RVM, if the app will be deployed on Heroku?