Upgrade ruby to 2.1.1

Also add some comments.