ruby 2.1 install and some fixes