Last active
April 8, 2016 19:55
-
-
Save yuki-yano/a7db4fbc80cf974cd43dac7a9d8cc700 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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