John Lam 1997 — 2026

My Ruby Dev Environment

Jim Geurts emailed me to ask about my dev environment for Ruby. So I created this blog entry to talk about what my setup is.

I use both a Mac and a PC to do Ruby development. When I’m doing Rails development, I often use my PowerBook. I spent a bunch of time preparing for a cross-platform lifestyle by learning the emacs keybindings this summer. So far it’s paid off since I’m quite comfortable in that editor in both environments. I even hacked emacs to re-enable ClearType support so that Consolas looks the way it was intended to look.

That said, there’s a lot of buzz around TextMate as a dev environment for Rails. It’s certainly all the rage with the rails-core members. I’m going to consider spending some time in the near future working with it as I rebuild our corporate web site using Rails.

Obviously, I’m building my Ruby <-> CLR bridge using Windows. I’m still running VS 2005 Beta 2 since a lot of my applications have a dependency on WinFX which doesn’t yet work with the RTM version of VS 2005. As soon as there’s a solid WinFX build that lives on top of the Whidbey RTM bits I’m going to switch.

If you’re a Windows dev and want to get Ruby and Rails up and running as quickly as possible, I highly recommend Curt Hibbs most excellent Instant Rails package. This package includes a preconfigured Apache, Ruby, Rails, and MySQL configuration that lives in a single directory tree.

If you don’t care about Rails and only want to do Ruby work, then get Curt’s One Click Ruby Installer.

You’ll need some documentation as well – Curt bundles a .CHM file of the first edition of the excellent Programming Ruby book (aka “The PickAxe”) by Dave Thomas. I find that this is all that I need for my day-to-day work in Ruby, even though I own a dead-trees version of the 2nd Edition of the PickAxe book. I would recommend getting the PDF version of the book if you live a mobile laptop lifestyle like I do.

If you want to explore Rails, then I would highly recommend Dave Thomas and David Hansson’s excellent Agile Web Development With Rails book. I purchased the PDF version so that I don’t have to lug the book around with me.

If Apple lives up to its commitment to not prevent Windows from running on their next-generation Powerbooks, I’m going to switch to Apple hardware full-time for both Windows and Ruby development. It should be awesome to have a dual-core CPU laptop than can dual boot both Vista and Mac OS X by middle of next year.

2 archived reader comments

Joyce Chan (2006-02-24)

Do you know where i can find this chm file?

John Lam (2006-02-24)

\ruby\programming ruby.chm