Ruby memory buffer for Redis commands