I had a similar problem. I had the installation of heroku gem on different versions of ruby, and despite the fact that I installed the hero toolbelt from this package downloaded from my site, I still got:
rbenv: heroku: command not found
I found that after I removed the gem from all my ruby ββversions, I had to run:
rbenv rehash
After that, I found that everything works fine. I found this from this stackoverflow answer:
ruby - heroku: command not found
source share