install ruby and some dependencies