[bug] escape strings when installing gems