updating gemfile, bumping rails to ~> 3.1.10

This change updates the Gemfile to address a critical Rails security vulnerability.