erubis: 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 CentOS possible default full paths are:

/usr/bin/erubis - from package: rubygem-erubis
/usr/lib/ruby/gems/1.8/gems/erubis-2.6.5/bin/erubis - from package: rubygem-erubis

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/erubis - from package: ruby-erubis

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