$ sudo yum -y update
$ sudo yum install -y zlib-devel libxml2-devel libxslt-devel openssl-devel readline-devel sqlite-devel mysql-devel libyaml-devel libffi-devel iconv-devel nkf pcre-devel
https://github.com/sstephenson/rbenv
$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
https://github.com/sstephenson/ruby-build
$ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
$ MAKE_OPTS="-j 4" rbenv install 2.0.0-p247
$ rbenv global 2.0.0-p247
$ rbenv exec gem install bundler
$ rbenv rehash
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
11