send attached tar.gz file on rails email

How to send attached tar.gz file on ruby mail sending. If anyone aware
already, please let me know.


Better to use pastie ( and post url here.


You could either look into sending it as a MIME attachment (see the
ActionMailer docs), or put it in a subdirectory of public/ on your app
server and include a URL.

However, you should also consider that unless your recipients are OSX/
Linux users, they're going to need extra software to open the file, as
Windows doesn't support those formats natively.

--Matt Jones