November 1, 2007

gem_server on Leopard

Folks are starting to report that gem_server is indeed missing on the regular OS X Leopard installation.  Supposedly it exists on the server edition.

But that’s no reason to worry.  You can simply create your own using the following

#! /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby  require 'rubygems/server'  Gem::Server.run ARGV

Place it at /usr/bin/gem_server, give it the ol’ chmod +x and you’re golden!