<commit_before># Brew Bundle

Bundler for non-Ruby dependencies from Homebrew

[![Code Climate](https://codeclimate.com/github/Homebrew/homebrew-bundle/badges/gpa.svg)](https://codeclimate.com/github/Homebrew/homebrew-bundle)
[![Coverage Status](https://coveralls.io/repos/Homebrew/homebrew-bundle/badge.svg)](https://coveralls.io/r/Homebrew/homebrew-bundle)
[![Build Status](https://travis-ci.org/Homebrew/homebrew-bundle.svg)](https://travis-ci.org/Homebrew/homebrew-bundle)

## Requirements

[Homebrew](http://github.com/Homebrew/homebrew) is used for installing the dependencies, it only works on OS X and so does this tool.

[brew tap](https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/brew-tap.md) is new feature in Homebrew 0.9, adds more GitHub repos to the list of available formulae.

[Homebrew Cask](http://github.com/caskroom/homebrew-cask) is optional and used for installing Mac applications.

## Install

You can install as a Homebrew tap:

    $ brew tap Homebrew/bundle

## Usage

Create a `Brewfile` in the root of your project:

    $ touch Brewfile

Then list your Homebrew based dependencies in your `Brewfile`:

    tap 'caskroom/cask'
    tap 'telemachus/brew', 'https://telemachus@bitbucket.org/telemachus/brew.git'
    brew 'emacs', args: ['with-cocoa', 'with-gnutls']
    brew 'redis', restart_service: true
    brew 'mongodb'
    brew 'sphinx'
    brew 'imagemagick'
    brew 'mysql'
    cask 'google-chrome'

You can then easily install all of the dependencies with one of the following commands:

    $ brew bundle

If a dependency is already installed and there is an update available it will be upgraded.

### Dump

You can create a `Brewfile` from all the existing Homebrew packages you have installed with:

    $ brew bundle dump

The `--force` option will allow an existing `Brewfile` to be overwritten as well.

### Cleanup<commit_msg>Readme: add example of using system.<commit_after># Brew Bundle

Bundler for non-Ruby dependencies from Homebrew

[![Code Climate](https://codeclimate.com/github/Homebrew/homebrew-bundle/badges/gpa.svg)](https://codeclimate.com/github/Homebrew/homebrew-bundle)
[![Coverage Status](https://coveralls.io/repos/Homebrew/homebrew-bundle/badge.svg)](https://coveralls.io/r/Homebrew/homebrew-bundle)
[![Build Status](https://travis-ci.org/Homebrew/homebrew-bundle.svg)](https://travis-ci.org/Homebrew/homebrew-bundle)

## Requirements

[Homebrew](http://github.com/Homebrew/homebrew) is used for installing the dependencies, it only works on OS X and so does this tool.

[brew tap](https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/brew-tap.md) is new feature in Homebrew 0.9, adds more GitHub repos to the list of available formulae.

[Homebrew Cask](http://github.com/caskroom/homebrew-cask) is optional and used for installing Mac applications.

## Install

You can install as a Homebrew tap:

    $ brew tap Homebrew/bundle

## Usage

Create a `Brewfile` in the root of your project:

    $ touch Brewfile

Then list your Homebrew based dependencies in your `Brewfile`:

    tap 'caskroom/cask'
    tap 'telemachus/brew', 'https://telemachus@bitbucket.org/telemachus/brew.git'
    brew 'emacs', args: ['with-cocoa', 'with-gnutls']
    brew 'redis', restart_service: true
    brew 'mongodb'
    brew 'sphinx'
    brew 'imagemagick'
    brew 'mysql'
    cask 'google-chrome'
    cask 'java' unless system '/usr/libexec/java_home --failfast'

You can then easily install all of the dependencies with one of the following commands:

    $ brew bundle

If a dependency is already installed and there is an update available it will be upgraded.

### Dump

You can create a `Brewfile` from all the existing Homebrew packages you have installed with:

    $ brew bundle dump

The `--force` option will allow an existing `Brewfile` to be overwritten as well.

### Cleanup
{'fraction_non_alphanumeric': 0.11249030256012413, 'fraction_numerical': 0.001034393586759762, 'mean_word_length': 4.227027027027027, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6828307', 'n_tokens_mistral': 1248, 'n_tokens_neox': 1191, 'n_words': 378}