Since you can have more than one version of Rails installed on your system (you can check it using the gems list rails), your application should know which version it should use. It will not be very smart to “keep Rails updated to the latest version” and allow the application to use the latest version, because since the new version of Rails can break it very easily (each new version means some API changes). However, this constant does not matter if you “freeze” the version of Rails for which your application was created in the supplier’s folder. Btw. Rails freezing is good practice, as your application is then more independent of the environment.
source
share