Gas prices rise for eighth week