edit_json.rb: 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/lib/ruby/gems/1.8/gems/json-1.4.6/bin/edit_json.rb - from package: rubygem-json

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