Leopard Gem Update – Ruby head files not found

13 Jun

I just got my new macbook pro, so after I pulled down Textmate I was ready to start hacking on rails.  I fired up the command prompt and did a "sudo gem update" to get up to rails 2.1 so I could use git plugins and other great new features.  Well right after I kicked that off I started to get "can't find header files for ruby".  To fix this all you need to do is install xcode.  Also make sure you do that you do a gem install rails to get activeresource.  After this you should be good to go.