Skip to content

Instantly share code, notes, and snippets.

@lazypower
Created September 12, 2012 04:04
Show Gist options
  • Save lazypower/3704224 to your computer and use it in GitHub Desktop.
Save lazypower/3704224 to your computer and use it in GitHub Desktop.
RVM Ruby Install - Default Command Pipe
#!/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