Homebrew (Mac) Installation

Homebrew is an up and coming successor to Fink and MacPorts. Although a bit generically named, it works quite well for a lot of the things I muck around with these days, which tend to have that web development smell to it.

It used to be that I had to get a git binary, then grab homebrew from github, then uninstall the git through the binary, and then install git through homebrew. Then, the fun would begin.

Now, it’s even more streamlined. Just grab the installer gist from the README.md page, and it should work. Although, I couldn’t get it to work and I was in a hurry, so I just grabbed the master tarball, and just physically moved the resulting /bin, /Library, and README.md.

Note: This probably worked for me because I already did everything else that was in the install script earlier, such as chmod’ing the /usr/local folder, as well as adding /usr/local/bin to the path.

Hooray for adhering to POSIX standards (Reference here: This is an awesome read, by the way, if you ever had any questions about why directories were as such in a Linux/BSD setting.).

brew install git
brew install ruby
brew install stuff

More on how brew affects Ruby on Rails installations later.

Git, GitHub and Social Coding

via Video: Tom Preston-Werner, Chris Wanstrath and Scott Chacon — Git, GitHub and Social Coding.

While I don’t use GitHub for my projects, most of the rubygems and other code bases exist on GitHub. I guess there are the few that are still on Google Code and even fewer on SourceForge.

The video, not only being extremely informative for someone who doesn’t know anything about git (but would like to know more), was a very nice overview of what I’ve been learning in the past couple months. (Especially more so the past couple of weeks.)

What I find awesome is that (at least Chris specifically) had a very personal problem he wanted to fix with version control systems (Subversion, in his case) and supporting tools (Bugzilla, in his case).

Sidenote: Chris’s presentation images are just hilarious. One comment: SVN could have been the lighthouse, not the “house”. The whole centralized repository idea?

"technicalpickles-jeweler requires git (>= 1.1.1, runtime)"

In this error statement:

$ sudo gem install technicalpickles-jeweler -s http://gems.github.com ERROR: Error installing technicalpickles-jeweler: technicalpickles-jeweler requires git (>= 1.1.1, runtime)

This is not talking about your git binary version, which at the time of this writing is 1.6.3.3. It’s talking about your git gem.

So just do a nice:

$ sudo gem install git

And you’re off. Rock on.

Now to go mess with actual rubygems problems…