rubypathrubygemsappfog

appfog gem install — command not found


I have a Rails app that I want to upload to AppFog. Installed the command line tool with gem install af successfully but when I want to execute it gives me the error:

~$ af login
-bash: af: command not found

So I went to my rbenv directory and it's there:

~$ cd .rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/
af-0.3.18.7/

Is this a path problem? How do I fix this?


Environment:


Solution

  • It appears that restarting my OS (or maybe it's the terminal?) solved this problem.