Ruby Broken on Leopard [Not Really]
February 19th, 2008
Introduction
I have a reason to believe that Ruby is broken yet again on Leopard. That being said there are a few options ruby developers have to fix said issue.
I encourage reader comments on this issue...
irb
require 'rubygems'
=> false
As you can see rubygems fails to load.
"Solved"
As stated below by Dan's comment, ruby is not shipped broken but it is setup in such a way that would obfuscate itself to the traditional ruby developer. That is because it is setup by Apple in a framework. The traditional locations for irb, ruby, etc are just symlinks. Reinstalling the snmp gem fixed the issue. I am looking into the issue I had further to figure out why was it throwing the exception in the first place when I was trying to load the snmp gem.
February 19th, 2008 at 02:17 AM I have been troubleshooting this issue since this post. I found the document on MacOSForge stating that rubygems is already loaded. Yet SNMP was still failing to load. I uninstalled snmp and then reinstalled the gem and that solved the problem.