Proper gem activation conditions