Technically an RCD will operate without any form of earth path being installed. It operates. as stated in other answers, by monitoring the phase and neutral and reacting to an imbalance between them. Normally this imbalance is as a result of an "earth fault" be it to a back box, cpc, or as a result of external influences like moisture. It is possible to have a created imbalance, for example where wall lights have been installed and the live is taken from the lighting circuit and the neutral is taken from a socket on the final ring circuit protected by an RCD (16th edition style split load board with protected and unprotected ways). By switching the wall lights on an imbalance is created on the final ring circuit which will trip the RCD. Whilst not a common fault it is a typical "lash up" job by a "Barry the Bodger".