Open ekan opened 10 years ago
The downloaded file was too big to be stored directly in a string, so it was stuffed into a Tempfile. That's just how the open() call works in ruby. The Tempfile is an IO object, not a string with a path to the location. You'll need to get the filename out of the Tempfile and pass it to the tumblr_client method.
Just bundle updated to the latest gem (0.8.1), now I can't post to Tumblr. Here's my code to post:
And I'm getting this error, from the mime-type gem:
Here's the code from the gem:
Any ideas?