Update ruby to 2.1.3 and update Rails to 4.1.6