#MAC WDI-Installfest
##Homebrew
###Install Homebrew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
###Brew Doctor
brew doctor
- See what the Doctor says. You may need to edit your ~/.bash_profile
echo 'export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH"' >> ~/.bash_profile
##rvm & ruby
###Install RVM
\curl -L https://get.rvm.io | bash -s stable
###Install Ruby 1.9.3
sudo rvm install 1.9.3
###Set Ruby 1.9.3 as the Default
rvm --default use ruby-1.9.3
##rails
###Install Rails 3.2.13
sudo gem install rails -v "3.2.13"
##git
###Install git
brew install git
###Update git config information
�git config --global user.name "YOUR-USERNAME"
git config --global user.email YOUR-EMAIL-ADDRESS
git config --global credential.helper cache
#Ubuntu WDI-Installfest
##apt-get
###Install apt-get
sudo apt-get install curl
##rvm & ruby
###Install RVM
\curl -L https://get.rvm.io | bash -s stable
###Add .profile as a source in your .bash_profile
echo "source ~/.profile" >> /home/developer/.bash_profile
###Install Ruby 1.9.3
rvm install 1.9.13
###Login Shell preference
- In terminal go to
Edit -> Profile Preferences
- Under
Title and Command
checkRun command as a login shell
- Close preferences and restart terminal
###Set Ruby 1.9.3 as the Default
rvm --default use ruby-1.9.3
##rails
###Install Rails 3.2.13
gem install rails -v "3.2.13"
##git
###Install git
sudo apt-get install git-core
###Update git config information
�git config --global user.name "YOUR-USERNAME"
git config --global user.email YOUR-EMAIL-ADDRESS
git config --global credential.helper cache