Manage a Cookbook or an Application's Cookbook dependencies
$ gem install berkshelf
See berkshelf.com for up-to-date usage instructions.
Install the latest version of Bundler
$ gem install bundler
Clone the project
$ git clone git://github.com/RiotGames/berkshelf.git
$ cd berkshelf $ bundle install
Bundler will install all gems and their dependencies required for testing and developing.
Simply copy the
spec/knife.rb, and point it at a
chef server. Berkshelf tests may upload and destroy cookbooks on your chef
server, so be sure to configure a server safe for this task.
$ bundle exec guard start
See here for a quick way to get a testing chef server up.