Created
April 27, 2018 15:53
-
-
Save Sudok/71197b23d46987fbed2cf7506ec46ab8 to your computer and use it in GitHub Desktop.
linux-rbenv.sh
This file contains hidden or 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
# zsh | |
sudo apt-get install zsh | |
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh | |
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc | |
chsh -s /bin/zsh | |
# rbenv | |
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc | |
echo 'eval "$(rbenv init -)"' >> ~/.zshrc | |
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
# ruby | |
sudo apt-get install -y build-essential bison ruby-dev rake zlib1g-dev \ | |
libyaml-dev libssl-dev libreadline-dev libncurses5-dev llvm llvm-dev \ | |
libeditline-dev libedit-dev | |
rbenv install 2.2.3 | |
# vim-config | |
wget -O - https://raw.githubusercontent.com/KMK-ONLINE/vim-config/master/install.sh | bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment