Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 502 Bytes
#! /bin/bash
# first, install git and clone rbenv and rbenv-build
sudo yum install git readline-devel -y
git clone ~/.rbenv
git clone ~/.rbenv/plugins/ruby-build
echo '' >> ~/.bash_profile
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
# install ruby and bundler
rbenv install 2.2.3
rbenv global 2.2.3
gem install bundler
You can’t perform that action at this time.