Skip to content

Instantly share code, notes, and snippets.

@abelorian
Last active November 9, 2016 05:18
Show Gist options
  • Save abelorian/60d0164806055e9631c197b16df10017 to your computer and use it in GitHub Desktop.
Save abelorian/60d0164806055e9631c197b16df10017 to your computer and use it in GitHub Desktop.
# Install dependencies
sudo apt-get install build-essential libssl-dev libreadline-dev zlib1g-dev git curl git-core nginx
# Install rbenv
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
cd ~/.rbenv && src/configure && make -C src
echo 'export PATH="$HOME/.rbenv/bin:$PATH"'
~/.rbenv/bin/rbenv init
# install rbenv
mkdir -p ~/.rbenv/plugins
cd ~/.rbenv/plugins
git clone git://github.com/sstephenson/ruby-build.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment