Proper check for gem availability