move gemset empty to select ruby list, update #3170
update tests for #3170