Skip to content

Instantly share code, notes, and snippets.

View charlotte-miller's full-sized avatar

Charlotte Miller charlotte-miller

  • Stellar
  • San Mateo
View GitHub Profile
@charlotte-miller
charlotte-miller / chef_solo_bootstrap.sh
Created September 10, 2012 00:35 — forked from ryanb/chef_solo_bootstrap.sh
Bootstrap Chef Solo
#!/usr/bin/env bash
apt-get -y update
apt-get -y upgrade
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
tar -xvzf ruby-1.9.3-p194.tar.gz
cd ruby-1.9.3-p194/
./configure --prefix=/usr/local
make
@charlotte-miller
charlotte-miller / ruby_dev_setup_for_mac.sh
Created April 13, 2011 18:54
Setup ruby for rails development. Installs [:rvm, :homebrew, :git, :'ruby (enterprise_edition)', :'mysql (optional)', :imagemagick, :memcached, :wget]
# Setup ruby for rails development. Installs [:rvm, :homebrew, :git, :'ruby (enterprise_edition)', :'mysql (optional)', :imagemagick, :memcached, :wget]
sudo chown -R $USER /usr/local
echo -e '\n\n###########################################\nThanks! Now grab a beverage...\nThis may take awhile\n###########################################\n\n'
ruby -e "$(curl -fsSLk https://gist.github.com/raw/323731/install_homebrew.rb)"
brew install git imagemagick memcached wget
wget http://downloads.mysql.com/archives/mysql-5.1/mysql-5.1.53-osx10.6-x86_64.dmg -O ~/Downloads/mysql_package.dmg
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
echo -e "\n[[ -s '$HOME/.rvm/scripts/rvm' ]] && . '$HOME/.rvm/scripts/rvm' # This loads RVM into a shell session." >> ~/.profile
source ~/.profile
rvm install ree
@charlotte-miller
charlotte-miller / ruby_dev_setup_for_mac.sh
Created April 13, 2011 18:53
Setup ruby for rails development. Installs [:rvm, :homebrew, :git, :'ruby (enterprise_edition)', :'mysql (optional)', :imagemagick, :memcached, :wget]
# Setup ruby for rails development. Installs [:rvm, :homebrew, :git, :'ruby (enterprise_edition)', :'mysql (optional)', :imagemagick, :memcached, :wget]
sudo chown -R $USER /usr/local
echo -e '\n\n###########################################\nThanks! Now grab a beverage...\nThis may take awhile\n###########################################\n\n'
ruby -e "$(curl -fsSLk https://gist.github.com/raw/323731/install_homebrew.rb)"
brew install git imagemagick memcached wget
wget http://downloads.mysql.com/archives/mysql-5.1/mysql-5.1.53-osx10.6-x86_64.dmg -O ~/Downloads/mysql_package.dmg
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
echo -e "\n[[ -s '$HOME/.rvm/scripts/rvm' ]] && . '$HOME/.rvm/scripts/rvm' # This loads RVM into a shell session." >> ~/.profile
source ~/.profile
rvm install ree
@charlotte-miller
charlotte-miller / ruby_dev_setup_for_mac.sh
Created March 9, 2011 19:59
Setup ruby for rails development. Installs [:rvm, :homebrew, :git, :'ruby (enterprise_edition)', :'mysql (optional)', :imagemagick, :memcached, :wget]
# Setup ruby for rails development. Installs [:rvm, :homebrew, :git, :'ruby (enterprise_edition)', :'mysql (optional)', :imagemagick, :memcached, :wget]
sudo chown -R $USER /usr/local
echo -e '\n\n###########################################\nThanks! Now grab a beverage...\nThis may take awhile\n###########################################\n\n'
ruby -e "$(curl -fsSLk https://gist.github.com/raw/323731/install_homebrew.rb)"
brew install git imagemagick memcached wget
wget http://downloads.mysql.com/archives/mysql-5.1/mysql-5.1.53-osx10.6-x86_64.dmg -O ~/Downloads/mysql_package.dmg
curl -s https://rvm.beginrescueend.com/install/rvm | sh
echo -e "\n[[ -s '$HOME/.rvm/scripts/rvm' ]] && . '$HOME/.rvm/scripts/rvm' # This loads RVM into a shell session." >> ~/.bash_profile
source ~/.bash_profile
rvm install ree