I am working on a RoR application. The rails version of this application is 5. I am trying to update the gems of engines that I have copied from the same project having Rails 4.