Created
March 9, 2011 19:59
-
-
Save charlotte-miller/862874 to your computer and use it in GitHub Desktop.
Setup ruby for rails development. Installs [:rvm, :homebrew, :git, :'ruby (enterprise_edition)', :'mysql (optional)', :imagemagick, :memcached, :wget]
This file contains 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
# 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 | |
rvm ree --default | |
gem install bundler --no-ri --no-rdoc | |
echo -e '\n\n###########################################\nA MySQL installer has been added to your Downloads Folder.\nInstall both packages and the preference pane.\nIgnore if you already have MySQL installed\n###########################################\n\n' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment