I have had a ganglion on the back of my left hand a few times - a good hard whack with the spine of a hardback book does the trick, once you can get round the absurdity of deliberately causing yourself pain.
I wouldn't recommend a bible; many are leather or paper bound and not really heavy or solid enough.
That said, of course, I wouldn't want to contradict Salu. You can't just go whacking it until you know what it is for sure.