Eric H. wrote:
On Jun 2, 2009, at 06:03, J. D. wrote:
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.
I’m not sure I follow you are maybe you are misunderstanding me. There
is no issue. Luis helped me understand how to determine the gem
environment and explained the path.
When I make a backup of any ruby installation (I keep 3 currently), I
keep them in the root directory and just append a date or backup to
them. There’s nothing wrong with doing this.
Whichever Ruby version I want to use remains in the same location and
same directory structure…
I have currently:
C:\Ruby (primary install and version I am using)
C:\Ruby_1.8.7 (backup version of 1.8.7 install)
C:\Ruby.backup (primary backup of the current version I am using)
If I decide to use Ruby 1.8.7, I rename my primary install folder
Ruby.OLD or whatever folder name I decide to use. Nothing has been
tampered with here. No moving of locations or inner movings of anything
within the base directory.
I then rename Ruby_1.8.7 back to Ruby and am able to use Ruby 187 as my
All 3 installations work 100% with no issues. I have no problems doing
it this way. My path is set to C:\Ruby\bin so C:\Ruby is my primary
So, again, maybe I’m misunderstanding what you are saying here. Again,
I have no issues…