Apologies as I'm fairly certain it is nothing to do with Ruby, but hopefully someone might have an idea. It's very strange, this file is served as text/plain, but I've checked in the mime.types for nginx and image/svg+xml is clearly there. Any other ideas? http://opening-times.co.uk/images/clock_anim.svg Thanks, Julian