updating rails version, and adding debugging gems