hi Gaurav;
the xorcist gem does not need any external dependencies, which would usually be helped by installing packages through the OS like Daniela said.
Rather, there seems to be a more general issue installing gems (lack of space, permissions, etc).
Can you show more of the error message when it happens?