I am a newbie on the Mac and ROR. I am trying to install the rails on
my Leopard today and get its done. But I found for many of the gems,
there are tow versions installed on my machine. There is a lower
version installed at /System/Library/Frameworks/Ruby.framework/
Versions/1.8/usr/lib/ruby/gems/1.8 and an updated version I installed
today at /Library/Ruby/Gems/1.8
stanley$ gem list -d rake -a
*** LOCAL GEMS ***
rake (0.8.3, 0.7.3)
Author: Jim Weirich
Installed at (0.8.3): /Library/Ruby/Gems/1.8
And if I run rake -V, it will tell me that the current version
executed is 0.8.3.
But if I tried to cleanup the old version installed on my machine, if
failed, as the following:
stanley$ sudo gem cleanup rake
Cleaning up installed gems...
:0:Warning: Gem::SourceIndex#search support for Regexp patterns is
Attempting to uninstall rake-0.7.3
ERROR: While executing gem ... (Gem::InstallError)
Unknown gem rake = 0.7.3
I am wondering how could I uninstall the old version of these gems?
And another question is that I checked the rake file executed which
I didn't find any information or path set there that told the console
which rake it should call? If I wanna to use an old version of rake or
even rails, how should I do?