I wrote the article in both English and Japanese of how to set up Pd vanilla 0.47.0+deken+Gem on Mac OSX in Puredata Japan web. Because I was stuck a bit for loading Gem for working.
hope it would be some help.
English
http://puredatajapan.info/?p=2073