> Running two production applications on 5.1.5.
I believe there are security vulnerabilities in that version. consider updating to a secure version: 5.1.7 is the latest revision of the 5.1.x series.
https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6...