After Yosemite, can't print; CUPS error_log: "/bin/bash: gs: command not found"
If you look in your console, you'll probably see a message about sandboxd preventing gs from running. Just add this line to the end of /etc/cups/cups-files.conf:


  Sandboxing Relaxed


then type:

sudo launchctl stop org.cups.cupsd