inline_attachment in ActionMailer

Hi,

I need to embed images in email that I send from rails app. ActionMailer seems to support only part and attachment.(Is it true?) So I'm trying to use inline_attachment gem. My hosting server doesn't have the gem. (and I don't have the root privilege) I tried to unpack the gem (rake gems:unpack) on my computer after installing it. But it doesn't unpack (no error, though).

I added it to my environment.rb like config.gem 'inline_attachment'. I verified that the gem works in irb.

Why doesn't gems:unpack work?

Thanks.

Sam

Because it unpacks gems which are installed into your local directory structure so that you carry a copy with your project. Unpacking will do nothing if you dont have the gem installed already.

j

Hi Wolas!

"Wolas!" wrote:

Because it unpacks gems which are installed into your local directory structure so that you carry a copy with your project. Unpacking will do nothing if you dont have the gem installed already.

I mensioned that I installed it on my computer.

I tried to unpack the gem (rake gems:unpack) on my computer after

installing it.

Sam