Skip to content

Instantly share code, notes, and snippets.

@mmmpa
Last active August 29, 2015 14:12
Show Gist options
  • Save mmmpa/b5906f579fb55f6cdcc4 to your computer and use it in GitHub Desktop.
Save mmmpa/b5906f579fb55f6cdcc4 to your computer and use it in GitHub Desktop.
yum install -y git nano gcc gcc-c++ openssl-devel readline-devell wget make libffi-devel
wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
tar xvzf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure
make
sudo make install
cd
wget http://downloads.sourceforge.net/tmux/tmux-1.9a.tar.gz
tar xvzf tmux-1.9a.tar.gz
cd tmux-1.9a
./configure
make
sudo make install
cd
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
exec $SHELL -l
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