Inserting(adding) images into pdf

Hi

     Is there any way to insert images into pdf through ror. I have
tried pdf:writer and used pd.image.Still I am not getting the result. It
is said that images are not supported by the pdfwriter.rb file I am
using.

Earlier I was not able to insert tables but including Simpletable.rb
file solved my problem.

So my doubt is there any extra file needed for inserting images?.

Any help will be greatly appreciated