pdf_text: 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/pdf_text - from package: rubygem-pdf-reader
/usr/lib/ruby/gems/1.8/gems/pdf-reader-1.1.1/bin/pdf_text - from package: rubygem-pdf-reader

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