OS X: So far Jam, not Jelly

Just a little status report:

Recently I’d been moving to a develop locally, commit to a Subversion repository on TextDrive and deploy from there to production. Jim Morris has been very kindly tutoring me, but that was on the Windows box and I was hoping to get Miami Steve set up without pestering him. Installing Subversion–heck installing most software on OS X–is trivial, and definitely easier than Windows.

However, there is to some degree less control on where applications get installed. Generally they put themselves in the Applications folder and all’s fine. Developer tools, probably related to the *NIX underpinnings of this system, don’t necessary do that and such was the case with SVN.

Of itself that wasn’t an issue but /usr/local isn’t in the system path and so add-ons that use SVN couldn’t find it. Don’t get me started about adding a directory to the path! Apple doesn’t seem to believe this is necessary information so it isn’t in the documentation, nor is it part of the training their Support “product specialists” get. Eventually I found a tip online and got over the hump.

Connecting to that repository on my web host and cheking out a working copy was definitely a PITA. No matter what I tried it didn’t work (including tools like svnX and TextMate, and generating a key and storing it in KeyChain) and at the command line I kept getting asked for the password for wsl@billsaysthis.com. “wsl” is my OS X account short name and there is no such account on the server so of course this wasn’t working. Then I saw an article somewhere and thought to add the real server account name to the Subversion URL and, boom!, here come all the files.

Apache is included in the base OS X install, activating it is just clicking a button in System Preferences. PHP is also included but I didn’t realize this and downloaded an installed my own copy. MySQL was again just a download and a few button clicks but apparently works best if the computer is restarted before using, which took my a half hour or so of frustration before understanding.

Rails was little more involved. The standard how-to article from HiveLogic expects you to compile everything locally whereas on Windows a one-click installer is provided. There is the Locomotive package but I wanted to use the Apache, MySQL and PHP already installed and to have Rails be a first class installation rather than, and this is not a great word choice but best I can think of, a second level, sort of temporary visitor. I had the same misgivings about the Windows equivalent, InstantRails, after using it for months.

To build Ruby, RubyGems and get Rails one needs gcc. Which comes in the XCode tools package, weighing in at nearly a gigabyte. Let’s just say the bigger hard disk might have been a better choice than I realized 😉 Still a few copy and pastes later and all was well.

Still need to figure out how to make my PHP website code, including WordPress, work locally without making changes that break it on the live website.

Other software I’ve used and been happy with so far:

  1. O2M from Little Machines, which made migrating my email archives fairly trivial, is still the only software I paid for and that was just $10.
  2. Vienna, an open source RSS reader
  3. Safari for web browser, though I’ve installed Camino and Flock too and am probably going to switch to one of them or Firefox soon since Safari doesn’t have the extensibility to fix limitations as the others do
  4. AdiumX is a very nice multi-service IM client
  5. QuickSilver is the most highly recommended Mac application I’ve seen but I’m not quite sure why just yet
  6. TextMate seems good for text editing and I’ll buy a license before the 30 day trial is finished
  7. Mail.app is okay but the junk mail filter is less efficient than I’d like
  8. Cyberduck for FTP is okay but I might need to step up and get the non-free Transmit

Haven’t yet gotten to the productivity apps yet, like MS Office, iWork or NeoOffice though I want to try the latter first as it seems to be the best free option today.

More later 😉