Created
December 17, 2011 13:42
-
-
Save pbosetti/1490243 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer ) | |
echo | |
echo "Setting up environment" | |
echo "[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function" >> .bash_profile | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function | |
echo | |
echo "Installing ruby" | |
rvm pkg install readline | |
rvm pkg install zlib | |
rvm install 1.9.3-p0 --with-readline-dir=$rvm_path/usr --with-zlib-dir=$rvm_path/usr | |
rvm use 1.9.3 --default | |
echo | |
echo "Installing gems" | |
gem install ffi ffi-opengl gnuplotr flotr mkrf ruby-opengl2 --no-rdoc --no-ri | |
echo | |
echo "Cloning RNC to Desktop" | |
cd ~/Desktop | |
git clone git://github.com/pbosetti/rnc.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment