Ruby 2 From Source on CentOS 6.4

Ruby‘s autoconf doesn’t alert you to the fact that your system doesn’t have everything it could use. It’ll blindly clear you even though, for example, nothing crypto-related will work. On a fresh CentOS 6.4 install (with EPEL) the following will give you everything you need to build like a champ:

yum install gcc make gcc-c++ openssl-devel libffi-devel \
ncurses-devel gdbm-devel readline-devel bison-devel bison
This entry was posted in Coding, Linuxy, Work and tagged , , . Bookmark the permalink.

2 Responses to Ruby 2 From Source on CentOS 6.4

  1. Sathish says:

    Are libyaml-devel and iconv-devel not needed?

  2. M@ says:

    They do not appear to be strictly necessary, no.

Leave a Reply

Your email address will not be published. Required fields are marked *