Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Bundler for non-ruby dependencies from homebrew

branch: master
Readme.mdown

Brewdler

Bundler for non-ruby dependencies from homebrew

Note: this is now a native feature in homebrew:

brew bundle path/to/Brewfile

https://github.com/mxcl/homebrew/blob/master/Library/Contributions/cmd/brew-bundle.rb

Gem Version Dependency Status Code Climate Coverage Status Build Status

Requirements

Homebrew is used for installing the dependencies, it only works on a mac and so does this gem.

Homebrew brew-tap is new feature in Homebrew-0.9, add more Github repos to the list of formulae.

Homebrew-cask is optional and used for installing Mac applications.

Usage

Install using rubygems:

$ gem install brewdler

then create a Brewfile in the root of your project:

$ touch Brewfile

Then list your homebrew based dependencies in your Brewfile:

tap 'phinze/cask'
brew 'redis'
brew 'mongodb'
brew 'sphinx'
brew 'imagemagick'
brew 'mysql'
cask 'google-chrome'

You can then easily install all of the dependencies on a new mac like so:

$ brewdle install

Note

Homebrew does not support installing specific versions of a library, only the most recent one so there is no good mechanism for storing installed versions in a .lock file.

If your software needs specific versions then perhaps you'll want to look at using Vagrant to better match your development and production environments.

(Or there is always Macports...)

Development

Source hosted at GitHub. Report Issues/Feature requests on GitHub Issues.

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright (c) 2013 Andrew Nesbitt. See LICENSE for details.

Something went wrong with that request. Please try again.