Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a brew package #15

Closed
kirkegaard opened this issue Feb 4, 2011 · 5 comments
Closed

Create a brew package #15

kirkegaard opened this issue Feb 4, 2011 · 5 comments
Assignees
Labels

Comments

@kirkegaard
Copy link

$ brew install git-pulls
$ profit/win

@cypher
Copy link
Contributor

cypher commented Feb 9, 2011

Why? Homebrew specifically doesn't want to replace systems like Rubygems, since it would only lead to duplication.

@kirkegaard
Copy link
Author

They did it with other gems like defunkt's gist and git-flow
So why not?

Its not duplicating rubygems. Its just compiling ruby code to a binary using rake? Im new to ruby so i dont know if thats exactly what they do but it looks like it

https://github.com/defunkt/gist/blob/master/Rakefile

@cypher
Copy link
Contributor

cypher commented Feb 9, 2011

git-flow doesn't seem to be available as a gem. I don't know why they allowed gist, but it's probably because it didn't just use RubyGems to install it.

And rake is just "Ruby make", by itself it won't do anything. git-pulls would need a Rakefile with a task that could install it to a given prefix.

@ghost ghost assigned AdrienGiboire Nov 22, 2012
@AdrienGiboire
Copy link
Collaborator

Actually, I have no point on it. It seems RubyGems is not against this solution: http://docs.rubygems.org/read/chapter/6#page19

I may think about it. It could allow people to not have to run with RubyGems, I guess.

@AdrienGiboire
Copy link
Collaborator

After more investigations, it seems that:

Ruby gems are generally not accepted into Homebrew; rather, it is expected that users will install Ruby (possibly via Homebrew), and then install/manage gems with RubyGems instead.

More on this page: https://github.com/mxcl/homebrew/wiki/Acceptable-Formula

Sort of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants