Skip to content

Instantly share code, notes, and snippets.

@mexelout
Last active September 18, 2018 01:13
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 mexelout/9e438b6579a6c450dd52ab4a553d6771 to your computer and use it in GitHub Desktop.
Save mexelout/9e438b6579a6c450dd52ab4a553d6771 to your computer and use it in GitHub Desktop.
itamae build for centos
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