fix gem and dependencies