Capistrano Hangs on Mac OS X Leopard

I use Capistrano to deploy my webapps and have been for a while. I also deploy right from my laptop quite frequently. So I was a little taken aback when I could deploy in one place and not in another. It turned out that Capistrano was having issues with deploying to multiple servers. In fact, it turned out that the problem had the appearance of being Capistrano, but in actuality, it was Net-SSH. The whole issue can be tracked via the Lighthouse ticket here. I’m going to show you how to diagnose if you have this problem faster and how to fix it.
Read the rest of this entry »

Posted in Mac, Ruby. Tags: , , . View Comments

Count Instead of Sequence

I use Bash one liners a lot. I think they are an important part of any programmers and sysadmins toolkit. If you can’t write a bash one liner, even a simple iterator, then you really need to learn. I promise it will make your life infinitely more pleasant.

Frequently I find myself writing things that require a loop or an increment of numbers. A good example would be like something that would walk over my web servers and check their uptime, load averages, etc. Using seq, that’s easy. But since Mac OS X doesn’t come with the seq command, I would previously improvise.
Read the rest of this entry »

Posted in Mac. Tags: , . View Comments

Textmate Minimap Plugin

My editor of choice for most of what I do on the Mac (when I’m not in the shell using Vim) is Textmate. I recently came across a neat plugin called the Textmate Minimap. Essentially this plugin opens a map across the side of your Textmate window (like another drawer on the other side) and allows you to scroll full screens. You can move the editing window screen by screen in the minimap. This is equivalent to a visual page down.
Read the rest of this entry »

Posted in Mac. Tags: , , . View Comments

Git GUI on Mac OS X

I have been using Git a lot lately and have found a lot of things I like better in Git than in Subversion. The one major item that was really bothering me was that there wasn’t really too many Git clients that could help you visualize the repository. I mean show merges, commits, branching, blame, etc. Seeing that CVS and Subversion have been around for a lot longer, there are many clients for them and now that I have been using Git for a while on the command line, I decided to take a look again.

What I am looking for is simple. I want 2 things:

  1. In the typical Mac style, I want a great looking interface. I want to be able to see who did what, when, and why (assuming good commit messages from the developers).
  2. Easy navigation through all the features. I am not planning on using any of the commands visually, I am still an archaic command line junkie.

One of my favorite features of git coming from Subversion is the ease of branching. I branch for everything now that I am using git. So in order to best track my changes, I was hoping for something to help me visualize my branches. I didn’t count this specifically in my desires because it wasn’t a requirement to be acceptable, but it definitely would have helped to tip the scales.
Read the rest of this entry »

Posted in Mac. Tags: . View Comments