Add missing Ruby file templates to Xcode
If your file templates are missing from Xcode (I’m using 3.2.1), run the following commands in terminal, restart Xcode, and they will be there!
sudo mkdir /Library/Application\ Support/Developer/Shared/Xcode/File\ Templates/
sudo mkdir /Library/Application\ Support/Developer/3.0/Xcode/File\ Templates/
svn co http://svn.macosforge.org/repository/ruby/MacRuby/
trunk/misc/xcode-templates/File%20Templates /Library/Application\ Support/Developer/Shared/Xcode/File\ Templates/
sudo cp -r /Library/Application\ Support/Developer/Shared/Xcode/File\ Templates/* /Library/Application\ Support/Developer/3.0/Xcode/File\ Templates/