Skip to content

Instantly share code, notes, and snippets.

@adamdilek
Created August 28, 2012 09:19
Show Gist options
  • Select an option

  • Save adamdilek/3496473 to your computer and use it in GitHub Desktop.

Select an option

Save adamdilek/3496473 to your computer and use it in GitHub Desktop.
centos ruby requirements
Ruby (and needed base gems) for your selection will be installed shortly.
Before it happens, please read and execute the instructions below.
Please use a separate terminal to execute any additional commands.
Requirements for Linux ( CentOS release 5.8 (Final) )
NOTE: 'ruby' represents Matz's Ruby Interpreter (MRI) (1.8.X, 1.9.X)
This is the *original* / standard Ruby Language Interpreter
'ree' represents Ruby Enterprise Edition
'rbx' represents Rubinius
bash >= 4.1 required
curl is required
git is required (>= 1.7 for ruby-head)
patch is required (for 1.8 rubies and some ruby-head's).
To install rbx and/or Ruby 1.9 head (MRI) (eg. 1.9.2-head),
then you must install and use rvm 1.8.7 first.
Additional Dependencies:
# For Ruby / Ruby HEAD (MRI, Rubinius, & REE), install the following:
ruby: 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 ## NOTE: For centos >= 5.4 iconv-devel is provided by glibc
# For JRuby, install the following:
jruby: yum install -y java
Press 'q' to continue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment