source z and add ruby gcc dependency