Skip to content

Instantly share code, notes, and snippets.

@t-oginogin
Last active August 29, 2015 14:14
Show Gist options
  • Save t-oginogin/845f504da8e3710bd38d to your computer and use it in GitHub Desktop.
Save t-oginogin/845f504da8e3710bd38d to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get install gcc
sudo apt-get install make
sudo apt-get install build-essential
sudo apt-get install zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt-dev libffi-dev

sudo apt-get install 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
source ~/.bash_profile
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 2.2.0
rbenv global 2.2.0
gem install chef --no-ri --no-rdoc
gem install knife-solo --no-ri --no-rdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment