I was able to put in an EXIF XMP tag using the properties
image = Magick::Image.new(1, 1)
image['comment'] = 'Testing'
image.write('test.png')
And than I can read the data using the exiftool
:
exiftool test.png
...
Comment : Testing
...
Also, this site is useful for reading the EXIF image data.