Skip to content

Instantly share code, notes, and snippets.

@yuki-yano
Last active April 8, 2016 19:55
Show Gist options
  • Select an option

  • Save yuki-yano/a7db4fbc80cf974cd43dac7a9d8cc700 to your computer and use it in GitHub Desktop.

Select an option

Save yuki-yano/a7db4fbc80cf974cd43dac7a9d8cc700 to your computer and use it in GitHub Desktop.
# sudo yum -y install git gcc-c++ glibc-headers openssl-devel readline libyaml-devel readline-devel zlib zlib-devel libffi-devel libxml2 libxslt libxml2-devel libxslt-devel sqlite-devel
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y build-essential libreadline-dev libssl-dev zlib1g-dev libssl-dev git-core curl libreadline6 libreadline6-dev libmysqlclient-dev libffi-dev nodejs sqlite3 libsqlite3-dev
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
exec $SHELL -l
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 2.3.0
rbenv global 2.3.0
rbenv rehash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment