upgrade ruby and rails versions, and add some gems in order to check the code quality