Gavin Sinclair
10/10/2004 7:48:00 AM
On Sunday, October 10, 2004, 12:30:16 PM, Eirikur wrote:
> Jim Weirich's fix worked perfectly for me. Thanks, Jim!
> --Eirikur
> The fix:
> require 'rubygems' # Might not need this if already required
> require_gem 'dev-utils' # This makes the gem available
> # It also requires 'dev-utils'
> # as a convenience
> require 'dev-utils/debug' # Normal require now works
> # because the gem is available
Just for completeness, the middle step is unnecessary with RubyGems
0.8. And the comment about it is wrong: it doesn't require
'dev-utils' because the gem has no autorequire set.
Thanks for pointing out the difficulty; I'll see if I can modify the
docs in some helpful way.
Cheers,
Gavin