String matching with C++ PCRE

no such file to load — mkmf (LoadError)

Ever get this error when installing a gem?

It happens when you don’t have the development library installed. Easy enough to fix, just install ruby1.9-dev.

For ubuntu:

Ruby utility script to send email

Someone over at MUDBytes asked about sending emails from within their game. They were looking to do this from C++, which as we all know is a pain in the ass.

I wrote up this quick utility script in ruby for sending emails easily, without the risk of passing stuff to the command line.


This is an easy way of sending emails, and can be configured to authenticate with a server.