Skip to content

Instantly share code, notes, and snippets.

@charlotte-miller
Created April 13, 2011 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save charlotte-miller/918130 to your computer and use it in GitHub Desktop.
Save charlotte-miller/918130 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]
# 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
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'
@bsodmike
Copy link

Hi Chip, just to let you know that this has moved to
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)

Cheers, Mike.

@charlotte-miller
Copy link
Author

Thanks Mike!
...made the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment