Created
June 14, 2011 03:23
-
-
Save jcsalterego/1024251 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 -x | |
| prereq () { | |
| apt-get update; | |
| # jchen prerequisites | |
| apt-get install -y \ | |
| screen \ | |
| pv \ | |
| lsof \ | |
| rsync \ | |
| emacs23-nox \ | |
| ; | |
| # per rvm notes for ruby/ree | |
| apt-get install -y \ | |
| autoconf \ | |
| bison \ | |
| build-essential \ | |
| curl \ | |
| git-core \ | |
| libc6-dev \ | |
| libreadline6 \ | |
| libreadline6-dev \ | |
| libsqlite3-0 \ | |
| libsqlite3-dev \ | |
| libssl-dev \ | |
| libxml2-dev \ | |
| libxslt-dev \ | |
| libyaml-dev \ | |
| ncurses-dev \ | |
| openssl \ | |
| sqlite3 \ | |
| zlib1g \ | |
| zlib1g-dev \ | |
| ; | |
| } | |
| install_rvm_base () { | |
| bash < <(curl -sk https://rvm.beginrescueend.com/install/rvm); | |
| source /etc/profile; | |
| } | |
| prereq; | |
| install_rvm_base; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment