Skip to content

Instantly share code, notes, and snippets.

@JackNorris
JackNorris / rbenv-install-system-wide.sh
Created February 13, 2012 22:29 — forked from JackNorris/rbenv-install-system-wide.sh
Ubuntu 11.10: rbenv install and system wide install
#!/bin/bash
# Ubuntu 11.10 rbenv system wide installation script
# Forked from https://gist.github.com/1237417
# Installs rbenv system wide on Ubuntu 11.10, also allows single user installs.
# Install pre-requirements
apt-get -y install build-essential git-core curl libssl-dev libreadline6 libreadline6-dev zlib1g zlib1g-dev
@JackNorris
JackNorris / rbenv-install-system-wide.sh
Created January 29, 2012 17:36
CentOS: rbenv install and system wide install
#!/bin/bash
# CentOS rbenv system wide installation script
# Forked from https://gist.github.com/1237417
# Installs rbenv system wide on CentOS 5/6, also allows single user installs.
# Install pre-requirements
yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel \
make bzip2 autoconf automake libtool bison iconv-devel git-core