cucumber: 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/cucumber - from package: cucumber

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