Created
March 17, 2015 21:24
-
-
Save rastasheep/8df23dd7b7c3bb7704ef to your computer and use it in GitHub Desktop.
Install rubinius 2.5.2 and OpenJDK 6 on SemaphoreCI
This file contains hidden or 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
sudo apt-get update && sudo apt-get install -y libncurses5-dev llvm-3.5 llvm-3.5-dev java-common openjdk-6-jre openjdk-6-jdk build-essential libedit-dev | |
sudo update-java-alternatives -s java-1.6.0-openjdk-amd64 | |
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 | |
RBENV_VERSION=2.1.2 RUBY_CONFIGURE_OPTS=--llvm-config=/usr/lib/llvm-3.5/bin/llvm-config rbenv install rbx-2.5.2 | |
rbenv global rbx-2.5.2 | |
# Check environment after setup | |
ruby --version | |
update-java-alternatives -l | |
java -version | |
echo $JAVA_HOME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment