You don't. The Web-based Sketchup version do not have any way to implent Ruby scripts at this time.