fine-tuned installer (still have to figure out why does Gem rebuild every time)