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.
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.
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.