Skip to content

jloveland/brewdler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brewdler

Bundler for non-ruby dependencies from homebrew

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 'emacs', args: ['cocoa', 'srgb', 'with-gnutls']
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.

About

Bundler for non-ruby dependencies from homebrew

Resources

License

Stars

Watchers

Forks

Packages

No packages published