Skip to content

Instantly share code, notes, and snippets.

@hakatashi
Last active April 30, 2020 06:59
Show Gist options
  • Select an option

  • Save hakatashi/4c54acddab1e62ce77ec7b0a31e20998 to your computer and use it in GitHub Desktop.

Select an option

Save hakatashi/4c54acddab1e62ce77ec7b0a31e20998 to your computer and use it in GitHub Desktop.
sudo yum update -y
sudo yum install -y git openssl-devel readline-devel zlib-devel make glibc-devel gcc patch
sudo amazon-linux-extras install docker -y
sudo service docker start
sudo usermod -a -G docker ec2-user
exec sudo su -l $USER
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="/usr/local/go/bin:$HOME/.rbenv/bin:$HOME/go/bin:$PATH"' >> ~/.bash_profile
echo 'export GOPATH=$HOME/go' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 2.7.1
rbenv global 2.7.1
gem install bundler
git clone https://github.com/hakatashi/dotfiles.git
ln -s dotfiles/.gitconfig
curl -LO https://github.com/dnephin/dobi/releases/download/v0.13.0/dobi-linux
sudo mv dobi-linux /usr/bin/dobi
sudo chmod +x /usr/bin/dobi
git clone https://github.com/hakatashi/esolang-box.git
cd esolang-box
bundle install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment