If you choose Ritual as your secondary...
The True Darkness
Do you still get a pet? or does Ritualist have to be your main?
McMullen
It's rangers that can charm pets, not ritualists 
But having said that, it doesn't matter if your ranger primary or secondary as long as you have the skill charm animal.

But having said that, it doesn't matter if your ranger primary or secondary as long as you have the skill charm animal.
Sophitia Leafblade
I think you mean Ranger, but yes u can be a secondary Ranger and have a pet, u must have charm animal equiped for the pet to join u in explorable areas/missions once u have charmed it with the same skill.