Update Ruby version to 2.1.3. Update Rails version to 4.1.6. Update gems.