Skip to content

Instantly share code, notes, and snippets.

@HungYuHei
Created August 31, 2011 11:44
Show Gist options
  • Save HungYuHei/1183359 to your computer and use it in GitHub Desktop.
Save HungYuHei/1183359 to your computer and use it in GitHub Desktop.
rvm ruby dependencies
# For RVM
yum install -y bash curl git libxslt # NOTE: For git you need the EPEL repository enabled
apt-get install bash curl git-core
# OS => Redhat/CentOS/Fedora
yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel
yum install -y make bzip2
yum install -y iconv-devel # NOTE: For centos 5.4 final iconv-devel might not be available :(
# OS => Debian/Ubuntu
apt-get install libreadline5-dev # Debian
apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment