resolve gem dependency