You need to access your application support folder then find Sketchup in there. Its a hidden file so the easiest way to access it is to right click your finder icon and click 'go to folder...' then input, " ~/Library/Application Support"
Find sketchup, find the folder, 'plugins' within it and then paste your .rb into there. Start sketchup again and the extension should be visible.