updated gems, added error handling in set_locale redirect