As a web developer, you probably know all about browsers. They suck. Well, some more than others. But, if you develop apps for Windows users, you’ll have to test your app with Internet Explorer.
Now, as a good Rails developer, I’m using a Mac. I can test apps with FireFox, Safari and Opera without problems. But Internet Explorer is always a problem. I used Parallels for a while to run an instance of Windows XP to test with IE.
It appears that Amazon is accepting pre-orders for Apple Mac OS X Version 10.5 Leopard, which is scheduled for release in October 2007.
There are, as usual two version available, Apple Mac OS X Version 10.5 Leopardat $129 for a single license and the Apple Mac OS X Version 10.5 Leopard Family Packfor $199, which includes licenses for up to five Macs in your home.
If you want to be sure you have the latest version of when it arrives: pre-order now!
When you want to manipulate images with Ruby (or your Rails application) you’ll probably want RMagick installed. This is no easy feat on Mac OS X.
The official guide suggests installing X11 and using darwinports to install everything. This guide shows you how to easily install RMagick on you Mac OS X system. In this case I use Mac OS X 10.4.9.
You probably know that the built-in mysql code in Rails sucks. To rephrase that, the ruby-mysql gem contains better code, so you want that. Rails automatically detects if you have ruby-mysql installed or not, and uses it if you have it.
Most notably, you want to install this gem if you get dropped MySQL connections running your Rails application.
So we do:
$ sudo gem install mysql ... ERROR: Failed to build gem native extension. Normall this would install fine, but not on Mac OS X. This is because Mac OS X keeps its code, headers and libraries in odd places (compared to Linux). But don’t panic. There’s an easy solution to all this!