On Jun 2, 2009, at 06:03, J. D. wrote:

> I have a curious question...
>
> My normal install is C:\Ruby and C:\Ruby\bin is located in my windows
> path.
>
> If I do ruby -v (correct version shows)
> If I do gem -v (correct version shows)
> If I do gem list (correct list shows)
>
> If I rename that folder to C:\Ruby.backup (to store as a backup  
> folder)

Do not do this, it breaks ruby.

Ruby software (including RubyGems) use rbconfig.rb to figure out where  
ruby lives so it can do things like call back into ruby correctly,  
find other software, etc.

If you're going to make a backup use real backup software or create an  
archive of your ruby directory.

> the following applies if I go into the C:\Ruby.backup\bin and perform
> the following:
>
> If I do ruby -v (correct version shows)
> If I do gem -v (it shows 3 versions less 1.3.1 instead of 1.3.4)
> If I do gem list (it says its empty)
>
> I just want to know why it does this...