updating ruby to 2, rails to 4