Hmm, actually, responding to my own question as soon as I posted it,
uninstalling and then reinstalling the latest rake seems to have done
“sudo gem uninstall rake -v 0.8.3”
“sudo gem update rake”.
rake -v runs again, at least.
Still wondering if there’s any good way to ‘downgrade’ the RubyGems
installation itself, that I accidentally upgraded with “gem update
–system” before I was really ready to. All the individual gems I can
uninstall versions I don’t want (or use other solutions to have my
applications using the versions I want), but the RubyGems system itself,
once I upgraded accidentally with --system, there seems to be no good
way to go back?
Jonathan R. wrote:
Rake no longer works for me at all. I think this is a result of having
upgraded some gems (including the RubyGem system itself), but not
others, some kind of dependency problem. (I actually didn’t mean to
upgrade this stuff, but typed stuff into the wrong terminal window. Doh!
Don’t think there’s any good way to ‘downgrade’ RubyGems itself?).
But now, every time I try to run rake, to do anything at all, I get:
[rochkind@app01 ~]$ rake -v
/usr/bin/rake:17: undefined method `require_gem’ for main:Object
Any ideas how I fix this?