Skip to content

Instantly share code, notes, and snippets.

@superacidjax
Created September 17, 2012 15:48
Show Gist options
  • Select an option

  • Save superacidjax/3738119 to your computer and use it in GitHub Desktop.

Select an option

Save superacidjax/3738119 to your computer and use it in GitHub Desktop.
Setting up an ideal OS X environment
#note: there is more to this than is listed here.. this is just minimal stuff, if you want to get even more high speed, contact me.
#OS X Named Streams Issue for OSX 10.6
echo "[default]" | sudo tee /etc/nsmb.conf
echo "streams=no" | sudo tee -a /etc/nsmb.conf
Install Homebrew
sudo mkdir /usr/local
sudo chown -R `whoami` /usr/local
curl -L https://github.com/mxcl/homebrew/tarball/master | tar xz --strip 1 -C
Create .bash_profile
echo '. "$HOME/.bashrc"' > ~/.bash_profile
Install Utilities
brew install wget proctools ack ctags-exuberant markdown
Install ImageMagick
brew install imagemagick
Install Git
brew install git
#Install RVM
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
echo 'if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then source "$HOME/.rvm/scripts/rvm" ; fi' \
>> ~/.bashrc.local
echo -e "export rvm_project_rvmrc_default=1
export rvm_install_on_use_flag=1
export rvm_project_rvmrc=1
export rvm_path='$HOME/.rvm'" > ~/.rvmrc
echo '[[ -r $rvm_path/scripts/completion ]] && source $rvm_path/scripts/completion' \
>> ~/.bashrc.local # rvm autocompletion
#Setup global gems
#Add desired gems to the file ~/.rvm/gemsets/global.gems like this
rake -v0.9.2
bundler
#Install rubies
rvm install 1.9.3 --default
brew install postgresql
#Generate a public key for your computer
ssh-keygen -t rsa
#add this key to your github and heroku accounts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment