Fixed issues with ruby and fixed curl