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.

1 Response to “Ruby Broken on Leopard [Not Really]”

  1. Ron Valente Says:
    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.

Leave a Reply