Skip to content

Instantly share code, notes, and snippets.

@tsubakimoto
Created September 1, 2014 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsubakimoto/01132534a86c51d3fd7b to your computer and use it in GitHub Desktop.
Save tsubakimoto/01132534a86c51d3fd7b to your computer and use it in GitHub Desktop.
#!/bin/bash
#yum update -y
# optional
#yum install -y vim
# Install require packages for Ruby
#yum install -y git openssl-devel gcc
#git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
#git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
# Ruby initialize
#PS1='$ '
#source ~/.bashrc
#echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
#echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
#exec $SHELL -l
rbenv install -v 2.1.1
#rbenv rehash
#rbenv global 2.1.1
echo 'complete provisioning!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment