chef

https://github.com/opscode/chef

Ruby

A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.

BuildChef#properly_reinstall_git_and_path_sourced_gems

Some gems we installed don't end up in the `gem list` due to the fact that
they have git sources (`gem 'chef', github: 'chef/chef'`) or paths (`gemspec`
or `gem 'chef-config', path: 'chef-config'`). To get them in there, we need
to go through these gems, run `rake install` from their top level, and
then delete the git cached versions.

Once we finish with all this, we update the Gemfile that will end up in the
top-level install so that it doesn't have git or path references anymore.

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open omnibus/files/chef/build-chef.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-BuildChef-properly_reinstall_git_and_path_sourced_gems-for-pr


# Commit to git

git add omnibus/files/chef/build-chef.rbgit commit -m "better docs for BuildChef#properly_reinstall_git_and_path_sourced_gems"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-BuildChef-properly_reinstall_git_and_path_sourced_gems-for-pr

hub pull-request


# Celebrate!