fix git clone hang and set up ruby 1.9.3 environment