Skip to content

Instantly share code, notes, and snippets.

@phudgins
Created January 17, 2014 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phudgins/8475711 to your computer and use it in GitHub Desktop.
Save phudgins/8475711 to your computer and use it in GitHub Desktop.
Install scala, sbt and play
# Scala
mv ~/Desktop/scala-2.10.2 /usr/local
ln -s /usr/local/scala-2.10.2 /usr/local/share/scala
export SCALA_HOME=/usr/local/share/scala
export PATH=/usr/local/bin:$PATH:/usr/bin:/bin:/usr/sbin:/sbin:$SCALA_HOME/bin
# sbt
mv ~/Desktop/sbt /usr/local
ln -s /usr/local/sbt /usr/local/share/sbt
export SBT_HOME=/usr/local/share/sbt
export PATH=$PATH:$SBT_HOME/bin
mkdir .sbt/0.13
vim .sbt/0.13/artifactory.sbt
# in vim replace all nbsp characters:
:%s/\%xa0/ /gc
# Play
mkdir tools
mv ~/Desktop/play-2.2.0 ~/tools
ln -s ~/tools/play-2.2.0 ~/tools/play
export PLAY_HOME=/Users/pete/tools/play
export PATH=$PATH:$PLAY_HOME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment