Fixed error for missing gem cache dir