thor: 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/thor - from package: rubygem-thor
/usr/lib/ruby/gems/1.8/gems/thor-0.18.1/bin/thor - from package: rubygem-thor

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

On Debian possible default full paths are:

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

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