Here's what we are doing:
rg = RestGraph.new(:access_token => '...')
rg.post('me/photos',
:message => 'The Message',
:source => File.open('path/to/the/image'))
Hope this would help, and please let me know
if you have any other questions.
Cheers,