foreman: command not found

Solution 1:

Just got the same error: foreman command not found.
I managed to succeed removing my gem with:

sudo gem uninstall foreman

And re-install it back with rvm.

rvm gem install foreman

Good luck!

Solution 2:

I would check where gem installs executables into and add that directory to your PATH.

Solution 3:

gem install foreman 

was all I needed to do

However, when I followed the deb instructions on this page: http://theforeman.org/projects/foreman/wiki/Installation_instructions I had lots of issues...Eventually, I completely uninstalled before running gem install foreman. Then it worked like a charm.