fix gem packages are not installed