update rails to 4.1.8 and ruby to 2.1.5