ruby reading files from S3 with open-URI
问题 I'm having some problems reading a file from S3. I want to be able to load the ID3 tags remotely, but using open-URI doesn't work, it gives me the following error: ruby-1.8.7-p302 > c=TagLib2::File.new(open(URI.parse("http://recordtemple.com.s3.amazonaws.com/music/745/original/The%20Stranger.mp3?1292096514"))) TypeError: can't convert Tempfile into String from (irb):8:in `initialize' from (irb):8:in `new' from (irb):8 However, if i download the same file and put it on my desktop (ie no need