Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ruby 2.0.0 centos 6
#!/usr/bin/env bash
# repository
cd /tmp
rpm -Uvh epel-release-6-8.noarch.rpm
# system update
yum -y update
yum -y groupinstall "Development Tools"
yum -y install libxslt-devel libyaml-devel libxml2-devel gdbm-devel libffi-devel zlib-devel openssl-devel libyaml-devel readline-devel curl-devel openssl-devel pcre-devel git memcached-devel valgrind-devel mysql-devel ImageMagick-devel ImageMagick
# ruby p247
cd /usr/local/src
tar zxvf ruby-$version.tar.gz
cd ruby-$version
make install
# ruby-gems
cd ..
tar zxvf rubygems-$version.tgz
cd rubygems-$version
/usr/local/bin/ruby setup.rb
# chef-solo
gem install bundler chef ruby-shadow --no-ri --no-rdoc

This comment has been minimized.

Copy link

@yurijmi yurijmi commented Nov 26, 2013

Thank you!


This comment has been minimized.

Copy link
Owner Author

@mustafaturan mustafaturan commented Jan 6, 2014

ruby 2.1.0 setup for centos 6.x:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.