Skip to content

Instantly share code, notes, and snippets.

@ncr
Created December 22, 2008 00:00
Show Gist options
  • Save ncr/38795 to your computer and use it in GitHub Desktop.
Save ncr/38795 to your computer and use it in GitHub Desktop.
# Edit ~/.bash_login:
export PATH="$HOME/.rubygems/bin:/opt/local/bin:$PATH"
export GEM_HOME="$HOME/.rubygems/gems"
export RUBYLIB="$HOME/.rubygems/lib"
# Install MacPorts
http://macports.org
# Install Ruby
sudo port install ruby
# Install git
sudo port install git-core
# Install rubygems in $HOME/.rubygems:
/opt/local/bin/ruby setup.rb --prefix=$HOME/.rubygems
# Edit ~/.gemrc
gem: --no-rdoc --no-ri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment