almost 3 years ago

CentOS/Fedora:

yum install -y gcc-c++ glibc-headers openssl-devel readline libyaml-devel readline-devel zlib zlib-devel

install rbenv by rbenv installer

curl https://raw.githubusercontent.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash

add below in .bashrc not .bash_profile

export RBENV_ROOT="${HOME}/.rbenv"

if [ -d "${RBENV_ROOT}" ]; then
  export PATH="${RBENV_ROOT}/bin:${PATH}"
  eval "$(rbenv init -)"
fi

install ruby

rbenv install 2.1.4
rbenv global 2.1.4

rbenv rehash
← useful mongo client enhancment. DevOps Tools →
 
comments powered by Disqus