The Problem
I can't install ruby gems properly, here's what I get trying to install and run chef:
$ gem install chef && chef
Successfully installed chef-11.6.0
Parsing documentation for chef-11.6.0
1 gem installed
bash: chef: command not found
My path is:
$ echo $PATH
/Users/mcarey/.rvm/gems/ruby-2.0.0-p0/bin:/Users/mcarey/.rvm/gems/ruby-2.0.0-p0@global/bin:/Users/mcarey/.rvm/rubies/ruby-2.0.0-p0/bin:/Users/mcarey/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/mcarey/.rvm/gems/ruby-2.0.0-p0/gems
Background/History
It was all working fine until I accidentally (long story short) created a tilde (~) directory and then tried to remove it with 'rm -R ~', this of course started deleting my home directory but once it hit the first protected file it asked for permission and I cancelled it. My old ~/.bash_profile was removed but I'm not sure what else went.
Any thoughts? Any extra info needed?