Those are the chef cookbooks I use in my projects, feel free to use it in case you also need some of them.
Just one or two were really created by myself, most of them were just customized.
I also include a tar file in this repo in case you want to set it with chef-solo.
If you want to use this with Rails projects, my default Vagrantfile is included in this project.
You just have to copy it to your Rails project and run vagrant provision. It should install all the environment and run rails s on your project.
To use it you just need Virtual Box (https://www.virtualbox.org/) and Vagrant (http://vagrantup.com/) installed.
If you have questions about Vagrant, check http://vagrantup.com/v1/docs/getting-started/
In case you want made some change in any of the files and want to regenerate the tar file to be downloaded, run the command above:
chef-solo.tar.gz --exclude='.git' --exclude='chef-solo.tar.gz' ./cookbooks