Skip to content

Instantly share code, notes, and snippets.

@kaosf
Created September 16, 2013 03:48
Show Gist options
  • Save kaosf/6576537 to your computer and use it in GitHub Desktop.
Save kaosf/6576537 to your computer and use it in GitHub Desktop.
for research Vim SEGV
sudo yum groupinstall development-tools
sudo yum install gcc-c++
sudo yum install openssl-devel zlib-devel readline-devel
# ref. https://github.com/kaosf/fedora-setup/blob/4c7cf06c5fb93ab9c8c40065e228966b415ef9e1/ruby-setup.sh
git clone https://github.com/sstephenson/rbenv.git $HOME/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> $HOME/.zshenv
echo 'eval "$(rbenv init -)"' >> $HOME/.zshenv
exec $SHELL -l
mkdir -p $HOME/.rbenv/plugins
git clone https://github.com/sstephenson/ruby-build.git $HOME/.rbenv/plugins/ruby-build
rbenv install 2.0.0-p247
rbenv global 2.0.0-p247
ruby -v #=> ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment