Updating Ruby Gems in Leopard
Published: 05 Dec 2007
This may be old news but I think little tidbits like this are important to document. If you're running Ruby on Leopard (Mac OS) and you're running into issues with your gems, try the following:
For intel-based macs:
sudo su [Enter your password] bash export ARCHFLAGS="-arch i386" gem update
For ppc macs:
sudo su [Enter your password] bash export ARCHFLAGS="-arch ppc" gem update