Load keys from secrets.yml and upgrade to rails 4.1