Inline_attachment not working properly?

We are using the inline_attachment gem for emails. This gem overloads the image_tag method. However, we get an error whenever we send it a full URL, such as comes back from the AWS-S3 (Amazon) gem.

image_tag( 'http://www.test.com/foobar.jpg’)

results in the following error message

Error emailing discussion: No such file or directory - /Users/SteveK/ development/OnePlace/Home/publichttp://www.test.com/foobar.jpg

As you can see, the inline_attachment gem incorrectly assumes that it needs to add the RAILS_ROOT path to the beginning. This is not the issue with the standard rails version of image_tag.

Has anyone found a work around / fix? Is there something that I am doing wrong?

Steve