Skip to content

Instantly share code, notes, and snippets.

@daffydowden
Created September 15, 2010 14:21
Show Gist options
  • Save daffydowden/580789 to your computer and use it in GitHub Desktop.
Save daffydowden/580789 to your computer and use it in GitHub Desktop.
Installation for Ruby,RVM,REE,RubyCocoa,Passenger, MySql
Borrows heavily from: http://eddorre.com/posts/using-ruby-enterprise-edition-and-passenger-on-os-x-with-rvm
Install Xcode
Update Xcode if necessary
Install oh-my-zsh
https://github.com/robbyrussell/oh-my-zsh#readme
Install homebrew: http://mxcl.github.com/homebrew/
Install RVM
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
Modify .profile according to rvm instructions
update
rvm get head && rvm reload
Install Readline
rvm package install readline
Install REE
rvm install ree -C --enable-shared=yes --with-readline-dir=$HOME/.rvm/usr
Create global gemset
rvm gemset create global
rvm gemset use global
Bundler 1.0.3 is installed by default
Install Passenger
gem install passenger
Install passenger module - not strictly necessary for dev
passenger-install-apache2-module
http://blog.phusion.nl/2010/09/15/phusion-passenger-3-0-0-public-beta-1-is-out/
set-up other gem sets for other files
http://bcardarella.com/post/699582642/rvm-gemsets-bundler-awesome
Install VirtualBox
http://www.virtualbox.org/wiki/Downloads
Install Vagrant
http://vagrantup.com/docs/getting-started/index.html
SSH Keys
http://help.github.com/mac-key-setup/
http://www.noah.org/wiki/SSH_public_keys
Install MySql / Postgresql
from website
http://www.blog.bridgeutopiaweb.com/post/how-to-install-rvm-and-rails-3-on-snow-leopard/
Just found this: http://everydayrails.com/2010/09/13/rvm-project-gemsets.html also one to read
http://jeremy.wordpress.com/2010/08/19/ruby-rvm-passenger-rails-bundler-in-development/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment