Aston J


Archive for November, 2011

Ruby Koans Answers

Posted on: November 30th, 2011 by AstonJ 3 Comments

Looking for the answers to Ruby Koans? Well you’re not going to get them here! But what I will do is show you how to get them and who to ask if you get stuck.
(more…)

The Pragmatic Bookshelf – my favourite tech publisher

Posted on: November 29th, 2011 by AstonJ No Comments

Having purchased quite a few programming books from various publishers recently, one has quickly become a firm favourite; The Pragmatic Bookshelf (AKA The Pragmatic Programmers.)
(more…)

How to split your home folder onto multiple drives

Posted on: November 24th, 2011 by AstonJ No Comments

This post is part of my series on Clean Lion install for Ruby Development.

Firstly, as far as I know there is no perfect way to do this – ideally you could tell OS X where each directory in your home folder lives (or points to)… and this could have easily been achieved by simple sym links – but – OS X doesn’t allow some folders in your home folder to be deleted! So this is the next best thing – a sym link inside these folders:
(more…)

How to set up photoshop for web design

Posted on: November 24th, 2011 by AstonJ No Comments

Firstly calibrate your monitor. Then in Photoshop:
(more…)

Setting up a Ruby dev enviroment on Lion

Posted on: November 24th, 2011 by AstonJ 3 Comments

This post is part of my series on Clean Lion install for Ruby Development.

Next we’ll set up our fresh dev enviroment for Ruby. Here we’ll cover installing and setting up:

  • GCC (or Xcode)
  • Homebrew
  • Xcode
  • Rbenv or RVM
  • Ruby 2.1.3
  • Rubygems
  • Rails
  • POW – Optional
  • MySQL & Unix set-up

(more…)

How to restore your mail, keychain, and other important files

Posted on: November 24th, 2011 by AstonJ 3 Comments

This post is part of my series on Clean Lion install for Ruby Development.

Following on from your clean Lion install, we’ll now restore important files to make life easier, my list is below yours might vary slightly:

  • Mail
  • Keychains
  • Address book
  • Cyberduck bookmarks
  • Opera wand, bookmarks, speedial
  • .ssh folder

(more…)

How to do a clean Lion install

Posted on: November 24th, 2011 by AstonJ No Comments

This guide is based on doing a clean Lion install from an existing Lion install (via upgrade). The reason I upgraded first was because I wanted to make sure all important files (such as Mail/keychains etc) that I will be copying over were already Lion-ready. Please note this post is part of the series Clean Lion install for Ruby Development and all info here is followed at your own risk.
(more…)

How to install a SSD in a Mac Pro

Posted on: November 24th, 2011 by AstonJ No Comments

It really is quite simple! Buy your SSD (I purchased the Crucial M4 as it seems to have the best reviews) and get a mounting kit depending on where you want to install the disk.

I opted to install it in the second DVD bay slot as this leaves your 4 HD bays free for other disks. All I needed was a mounting kit, and I got the: Akasa SSD & HDD adapter – fits 3.5″ or 2.5″ HDD into a 5.25″ PC bay. Just make sure your Mac Pro has a spare SATA cable in the DVD bay – just pull out the DVD bay towards you to check (from the side with the Mac open – not the front of the Mac!)
(more…)

Clean Lion install for Ruby Development

Posted on: November 24th, 2011 by AstonJ No Comments

I know there’s a few of these posts around, but I wanted to do one purely for my own notes if nothing else. Particularly as I will be setting things up a little differently (partly because I have just installed a SSD and will be using more than one drive and…) because some of the other posts are already out of date, especially since the latest update of Xcode which does not come with GCC. You are welcome to follow this guide, but remember you do so at your own risk.

(Pretty much works for Mountain lion too.)
(more…)