information architecture in Toronto

view my cv

Quinn DuPont studies textual communication in cross-over disciplines such as typography, history, power, rhetoric, security, and technology. He has recently been studying information sabotage and developing a thesis about the social development of meaning. Quinn is currently an information architect in Toronto, Canada.

search
reading
  • Security, Territory, Population
    Security, Territory, Population
    by Michel Foucault
  • On the Origin of Objects
    On the Origin of Objects
    by Brian Cantwell Smith
  • Prince of Networks: Bruno LaTour and Metaphysics
    Prince of Networks: Bruno LaTour and Metaphysics
    by Graham Harman
« Automatically updating Chromium daily snapshots on OS X | Main | Economics standing in for politics: China »
Thursday
31Dec2009

Very easy Groovy and Grails installation on OS X (through MacPorts)

I’ve had a lot of trouble with MacPorts in the past, so I’m typically reluctant to go that route for Unix tool installation on my OS X machine, however, installing Groovy and Grails proved very easy with MacPorts. 

You must first install MacPorts.

Once MacPorts is installed (instructions), you:

 

  1. Open a terminal (In Finder double-click Utilities->Terminal).
  2. Type sudo port install groovy (you will be prompted for your password)
    1. Once installation is complete type groovy -v to confirm that the installation was successful.
  3. Type sudo port install grails
    1. Once installation is complete you must set the GRAILS_HOME variable. Ensure you are in your Home directory (type cd ~), then type vim .profile. This will open the VImproved editor (it’s a wonky but handy editor). Press the down arrow until you are at the bottom of the screen, then type i to change to “insert” mode. Once in insert mode copy this to your clipboard:   export GRAILS_HOME=/opt/local/share/java/grails. Then press CRTL+V to paste to the bottom of the file. Save the file and exit by typing ESC wq.
    2. Type grails -v to confirm that the installation was successful.

That should do the trick!