Last active
December 26, 2015 19:39
-
-
Save philcryer/7202672 to your computer and use it in GitHub Desktop.
Install Ruby, rbenv, rubygems, chef, virtualbox, vagrant on OS X (10.9, Mavericks)
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
## Install RUBY | |
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" | |
brew install rbenv | |
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi | |
brew install ruby-build | |
rbenv install —list | |
rbenv install 1.9.3-p448 | |
rbenv global 1.9.3-p448 | |
## Install RUBYGEMS | |
cd /tmp | |
wget http://production.cf.rubygems.org/rubygems/rubygems-2.1.7.tgz | |
tar -zxf rubygems-* | |
cd rubygems-* | |
sudo ruby setup.rb | |
echo "gem: --no-ri --no-rdoc" > ~/.gemrc | |
## Install CHEF (and supporting software) | |
curl https://www.opscode.com/chef/install.sh | sed ’s/10.8/10.9’ | sudo bash | |
sudo gem install berkshelf | |
sudo gem install foodcritic | |
sudo gem install bundler | |
## Install VIRTUALBOX | |
*The latest version of Vagrant doesn't support Virutalbox 4.3 yet, so we will use 4.2* | |
Download and install | |
Download/install Virtualbox 4.2 for OSX https://virtualbox.org/wiki/Download_Old_Builds_4_2 | |
Download/install Virtualbox extentions pack http://download.virtualbox.org/virtualbox/4.2.18/Oracle_VM_VirtualBox_Extension_Pack-4.2.18-88780.vbox-extpack | |
## Install VAGRANT | |
Download/install OSX version http://downloads.vagrantup.com/tags/v1.3.1 | |
vagrant plugin install vagrant-butcher | |
vagrant plugin install vagrant-berkshelf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment