Update ruby, rails and gems.

See #75 for upgrade instructions