ruby, rails, textmate, automation, etc.

Installing merb with thor

Posted on October 05, 2008

Update (22 October): Things move very fast around here – the merb.thor file has been overhauled and now all you have to do to get the latest edge is download a single .thor file and run one command.

Matt Aimonetti wrote a neat post on installing merb edge with thor. Thor seems to have become the defacto technique for installing merb edge these days, and I’m going to give it a go in preference to installing merb with sake, as I had been doing.

Since Matt wrote his article the merb.thor file underwent a serious overhaul during the sprint at MerbCamp – what you need to do these days is quite a bit simpler:

curl -L http://merbivore.com/merb.thor > merb.thor
sudo thor merb:stack:install --edge

The source code for all the Merb gems will be checked out into a directory called ./src.

To get the full low down on how to use Thor with Merb, head over to the Thor Howto on the excellent new Merb wiki.

Building do_mysql on a 64-bit Mac

Posted on October 02, 2008

Whilst installing merb with edgy I’ve had run into some trouble building the do_mysql gem on my Macbook Pro. It’s a 64-bit machine, so I installed the 64-bit version of MySQL, and that was my first mistake…

Debugging JavaScript in WebKit

Posted on October 02, 2008

If you do much web development you’re probably a big fan of the Firebug plugin for Firefox. It really is a rare gem in the web developer’s arsenal. When I’m not developing I prefer to use Safari – it seems faster and leaner, so I often find that I’ve got both browsers open at once.

A couple of days ago something rather fantastic happened – Safari got a makeover…