Move require for 'rails/version' to the file that needs it