Resolving gems issues