Ruby Version Manager allows us to use an .rvmrc file in each project to set up which ruby version and gem set to load. Should this file be checked in to source control? Or does this presume too much about other developers’ working environment?
Ruby Version Manager allows us to use an .rvmrc file in each project to
Share
Source Control Management is mainly about reproducibility: are you able to reproduce a version of a development effort based on what you have stored in your SCM?
If that
.rvmrcfile is needed for any developer on your project to be able to work (with the right artifacts), then yes, you should versioned it.As mentioned in RVM Best Practices:
Other developers can turn of use of gemsets on their RVM with:
This will make them use default gemset always.