Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
#! /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