Adding Swap to Ubuntu 16.04

ROR or even simple WordPress project is now require a minimum of 1GB memory of a vps, although some vps start selling 1GB at $5 such as Vultr, Linode BUT…