update rubygems, install node, install rails