Rolling Ruby, Rails, etc on a Powerbook (OSX 10.4). I've had a
successful install for many months, and then I upgraded Ruby to 1.8.6
and used gem to update Rails to 2.0.2.
Upon install, Rails stopped working and threw a whole series of errors.
I updated rubygem and the errors went away (except for one), and rails
started working again.
That error: /usr/local/bin/rails:17:Warning: require_gem is obsolete.
Use gem instead.
Exciting stuff. But that's not really the issue. When I use gem now, I
get this:
Antimatter:~ js$ sudo gem update
Updating installed gems...
ERROR: While executing gem ... (NoMethodError)
undefined method `refresh' for #<Hash:0x137084c>
I get this error regardless of the command I use for gem (install,
update, etc.) I mean, at least rails is working now, but does anybody
have any insight as to how I can fix this situation? I haven't done
anything particularly wonky... and I have zero clue as to how I can fix
this.