Skip to content

Instantly share code, notes, and snippets.

@groodt
Forked from ma11hew28/README.md
Created December 17, 2012 12:26
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save groodt/4317935 to your computer and use it in GitHub Desktop.
Save groodt/4317935 to your computer and use it in GitHub Desktop.

Homebrew Meteor Formula

To install Meteor with the Homebrew formula below, run:

brew install https://gist.github.com/raw/4317935/05084353d3cd50acad7e88e01c3f6463b42c0ed3/meteor.rb

This Homebrew Meteor Formula is based on https://install.meteor.com.

require 'formula'
class Meteor < Formula
homepage 'http://www.meteor.com'
url 'http://d3sqy0vbqsdhku.cloudfront.net/meteor-package-Darwin-x86_64-0.5.2.tar.gz'
sha1 '0f285ed1a9166ca35539566ebee9ac0d7b3df649'
def install
libexec.install(Dir['{.*,*}'] - ['.', '..']) # includes dotfiles
(bin+'meteor').write <<-EOS.undent
#!/bin/bash
exec "#{libexec}/bin/meteor" "$@"
EOS
end
def test
system "#{bin}/meteor", '--version'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment