Created
October 11, 2009 09:02
-
-
Save hukash/207545 to your computer and use it in GitHub Desktop.
Groovy/Grails environment on Snow Leopard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Groovy: | |
$ sudo mv groovy-1.x.x /usr/share | |
$ cd /usr/share | |
$ sudo chmod 0755 groovy-1.x.x/bin/* | |
$ sudo ln -s groovy-1.x.x groovy | |
Install Grails: | |
$ sudo mv grails-1.x.x /usr/share | |
$ cd /usr/share | |
$ sudo chmod 0755 grails-1.x.x/bin/* | |
$ sudo ln -s grails-1.x.x grails | |
Edit or create your ~/.profile file: | |
export EDITOR=/usr/local/bin/vim | |
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home | |
export ANT_HOME=/usr/share/ant | |
export MAVEN_HOME=/usr/share/maven | |
export JUNIT_HOME=/usr/share/junit | |
export GROOVY_HOME=/usr/share/groovy | |
export GRAILS_HOME=/usr/share/grails | |
export PATH=${PATH}:$GROOVY_HOME/bin | |
export PATH=${PATH}:$GRAILS_HOME/bin | |
export PATH=${PATH}:/Users/Lukas/Development/android-sdk/tools | |
Reload your profile: | |
$ . ~/.profile | |
or | |
$ source ~/.profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you, dude.