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

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -