Friday, May 29, 2009

Gem fail - help!

I went to use gem this afternoon and found it broken.

% gem
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:324:in `use_paths': undefined method `join' for "/opt/local/lib/ruby/gems/1.8":String (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:37:in `do_configuration'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:25:in `run'
from /usr/local/bin/gem:23


It does that for everything - query, update, etc.

I'm not going to claim 'I didn't do nuthin': clearly I broke something.  I just don't know what it could have been or when.  What .. the .. heck.

I've been to and fro and maybe it's Friday or maybe I'm retarded but I'm at my wit's end.  Anecdotes, ideas, commiseration?

My environment, fwiw

% uname -a
Darwin natasha.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
briandunbar@natasha ~ % ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [universal-darwin8.0]
blog comments powered by Disqus