brew-gem

Install gems as homebrew formulas

3 years after

brew-gem -- install gems as homebrew formulas

brew gem allows you to install any rubygem as a homebrew formula.

It works by generating a stub formula for homebrew, which looks something like this:

class Ronn < Formula
  def initialize(*args)
    @name = "ronn"
    @version = "0.7.3"
    super
  end

  def install
    system "gem", "install", name, "--version", version, "--install-dir", prefix
  end
end

This formula installs and unpacks all the dependencies under the Cellar path. So the package is completely self contained.

Install

brew install brew-gem

Usage

brew gem heroku

Philosophy

This is not for installing development libraries, but for standalone binary tools that you want system wide.

Related Repositories

gem-ctags

gem-ctags

Automatic ctags generation on gem install ...

qtbindings

qtbindings

An easy to install gem version of the Ruby bindings to Qt ...

twbudget

twbudget

twbudget hacks for yahoo hackday tw 2012 ...

homebrew-growl

homebrew-growl

Growl notifications for the Homebrew package manager ...

audio_monster

audio_monster

AudioMonster gem ...


Top Contributors

josh adamv soupmatt

Releases

-   v0.1.2 zip tar
-   v0.1.1 zip tar
-   v0.1.0 zip tar