Notes on how I setup chef-solo. Lots of different sites/forums were used to piece this information together. Want to keep a record of how I did this so I never have to spend hours figuring it out again :)
Did the following on Ubuntu 12.04. I prefer to use RVM where possible.
-
Install Git
-
Install latest 1.9. For now 2.0 seems to be problematic and incompatible with a couple of key Gems
-
install bundler pry, pry-docs, vagrant into the global gemset
git/my-chef-repo# gem install bundler pry pry-docs vagrant
-
Create a Git dev folder. In my case its '~/development/git'
-
Create a folder under the git dev dir called 'my-chef-solo-repo'
-
initialize this folder for git use
git/my-chef-repo# git init .
-
add ruby version files rvm use 1.9.3@global --ruby-version
-
configure .gitignore file. See another files attached.