The best tool for a ramdisk on linux is simply adding the following line to your /etc/fstab. Create the new mount directory first of course.
mkdir -p /mnt/ramdisk sudo echo "tmpfs /mnt/ramdisk tmpfs defaults,size=8192M 0 0" >> /etc/fstab sudo mount -a