add build essential before rbenv for g++