Why do I get "foreman: command not found" only in a directory *with* a Procfile? -


i on centos. i've installed foreman yum

in home directory, no procfile get:

$ foreman start error: procfile not exist. 

however when cd directory has procfile, example:

cd ~/supersender 

then foreman command unavailable, i.e. forem [tab][[tab] not complete ,

$ foreman start -bash: foreman: command not found 

i had same problem earlier. in 1 recent project folder, able run 'foreman start', in older folder got:

$ foreman start -bash: foreman: command not found 

i suppose adding 'foreman' path should work too, following commands work me:

$ sudo gem uninstall foreman $ sudo gem install foreman $ foreman /users/liwen/.rvm/rubies/ruby-2.2.3/bin/foreman 

i still not know discrepancy in seeing 'foreman' between recent the old folders earlier, above works me.


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -