I need you to come up with a way of using ruby's mechanize (not python or any other mechanize) to upload a pin from the local computer onto Pinterest. You should also make it be able to specify the caption for the pin.
I require all source code obviously.