Created
September 12, 2012 04:04
-
-
Save lazypower/3704224 to your computer and use it in GitHub Desktop.
RVM Ruby Install - Default Command Pipe
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/sh | |
#update sources first, always | |
sudo apt-get update | |
#fetch all dependencies | |
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config | |
#fetch RVM and install | |
curl -L https://get.rvm.io | bash -s stable --ruby | |
#source the scripts and fin! | |
source .rvm/scripts/rvm | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment