Created
April 25, 2014 15:07
-
-
Save cuber/11292869 to your computer and use it in GitHub Desktop.
How To install Scala 2.10 with homebrew
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
# you should checkout to the history version of scala.rb | |
cd /path/to/homebrew (default is /usr/local) | |
git checkout d64edec425df44918c58b6b021ffef2628242248 Library/Formula/scala.rb | |
brew info scala # you will see the 2.10 version | |
brew install scala | |
# after install, turn back to the master version | |
brew checkout master Library/Formula/scala.rb | |
# you can install both 2.10 & 2.11, brew switch can easily switch to any specific version | |
brew switch scala 2.10 | |
brew switch scala 2.11 |
brew install homebrew/versions/scala210 would install 2.10.6. I just try
this no longer works with brew
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found a solution here: https://github.com/ofishel/hb-scala-2.10.4
brew install homebrew/versions/scala210
brew unlink scala
brew link scala210 --force