MacPorts Portfile for Grails 1.0.4

Grails has been updated to 1.0.4. It will be available in the next revision of Macports.

To Install Grails on the Mac, do as follows.

1. Install MacPorts

2. Call

sudo port install grails

3. Open a terminal window and edit your profile file

type sudo nano .profile

change it so it looks like this,

export PATH="$PATH:/opt/local/bin:/opt/local/sbin:/Users/tlin/grails/bin"
export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Home"
export GRAILS_HOME="/opt/local/share/java/grails"

4. Save.

One thought on “MacPorts Portfile for Grails 1.0.4

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s