Converting processwatch into a ruby gem