update loadGem method
merge