fix some gem updating in Ubuntu 14.04