Updated gem file and deleted the database.yml (should not be there in git repo)
Added mysql gem and fixed the issue with devise secret key