I fought that demon myself for quite a while. /dev/tty/ACM0 only appears when the Pi can see the RAMPS via USB. Not sure what causes it to not detect it at times. Restarting OctoPrint seems to resolve it most times, occasionally I have had to reboot the Pi itself.