Skip to content

Instantly share code, notes, and snippets.

@tjws052009
Last active November 25, 2018 07:38
Show Gist options
  • Save tjws052009/9827061 to your computer and use it in GitHub Desktop.
Save tjws052009/9827061 to your computer and use it in GitHub Desktop.
Docker用に git + rbenv インストールするためのスクリプト用意
#!/bin/bash
sudo yum install -y git
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment