Skip to content

Instantly share code, notes, and snippets.

@epoch
Created December 27, 2013 12:21
Show Gist options
  • Save epoch/8146313 to your computer and use it in GitHub Desktop.
Save epoch/8146313 to your computer and use it in GitHub Desktop.

#MAC WDI-Installfest


##Homebrew

###Install Homebrew

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

image

###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

image

###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 check Run 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment