Fix applied for Heroku Ruby 4 deploy