Skip to content

Instantly share code, notes, and snippets.

@jcsalterego
Created June 14, 2011 03:23
Show Gist options
  • Select an option

  • Save jcsalterego/1024251 to your computer and use it in GitHub Desktop.

Select an option

Save jcsalterego/1024251 to your computer and use it in GitHub Desktop.
#!/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