update rails to 4.1.6 and ruby to 2.1.1