README.md in appbundle-updater-0.0.1 vs README.md in appbundle-updater-0.0.2

- old
+ new

@@ -7,10 +7,16 @@ * A ChefDK or Chef Client installation in the standard location. * You need to have the `git` command in your PATH. ## Usage Examples +Install as a gem: + +``` +gem install appbundle-updater +``` + Updating chef in the /opt/chefdk bundle to master: ``` sudo appbundle-updater chefdk chef master ``` @@ -45,9 +51,25 @@ ```powershell & appbundle-updater chefdk test-kitchen master ``` If you don't want "master" you can use any other git tag/branch/sha/etc that git understands. + +## Execution and Target rubies + +This does not need to be installed into the embedded ruby that you are doing the update on. + +You can install this into an rvm gemset as a local user (for example) and run: + +``` +rvmsudo appbundle-updater chef chef master +``` + +It will invoke appbundle-updater via rvm (using your user ruby+gemset under sudo), but will +correctly break the bundle and setup the PATH in order to manipulate your /opt/chefdk or +/opt/chef ruby environment. + +Only tested with RVM, but chruby and rbenv are usually simpler and easier. ## <a name="development"></a> Development * Source hosted at [GitHub][repo] * Report issues/questions/feature requests on [GitHub Issues][issues]