foodcritic: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/foodcritic - from package: foodcritic

You may install the required package with command apt-get install {package}
Error in other languages:
foodcritic: bevel nie gevind nie
foodcritic: comandă negăsită
foodcritic: comando não encontrado
foodcritic: commande introuvable
foodcritic: command not found
foodcritic: käsku ei ole
foodcritic: không tìm thấy lệnh
foodcritic: komanda nerasta
foodcritic: Kommando nicht gefunden.
foodcritic: kommandot finns inte
foodcritic: komut yok
foodcritic: nie znaleziono polecenia
foodcritic: níor aimsíodh an t-ordú
foodcritic: no se encontró la orden
foodcritic: no s'ha trobat l'ordre
foodcritic: opdracht niet gevonden
foodcritic: parancs nem található
foodcritic: perintah tidak ditemukan
foodcritic: príkaz nenájdený
foodcritic: příkaz nenalezen
foodcritic: команда не найдена
foodcritic: командата не е открита
foodcritic: 命令找不到
foodcritic: コマンドが見つかりません