Last active
September 18, 2018 01:13
-
-
Save mexelout/9e438b6579a6c450dd52ab4a553d6771 to your computer and use it in GitHub Desktop.
itamae build for centos
This file contains 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 update | |
sudo yum -y git openssl-devel make vim gcc cmake readline-devel zlib-devel | |
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
echo -e 'export PATH="$HOME/.rbenv/bin:$PATH"\neval "$(rbenv init -)"' >> ~/.bash_profile | |
source ~/.bash_profile | |
CONFIGURE_OPTS="--disable-install-rdoc" rbenv install 2.5.1 | |
rbenv global 2.5.1 | |
gem install bundler --no-ri --no-rdoc | |
rbenv rehash | |
gem install itamae --no-ri --no-rdoc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment