use gemset_create as a function
fix creating gemsets, remove duplicated code that was getting in our way