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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 On Jul 9, 8:53 am, Sam Kong <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> 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 > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 afterinstalling it. Sam -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---