Fix generating secrets.yml.
Update some gems to fix the tests.