fix gem file and installed foundation