For awhile now I’ve not had any issues with using any of the gem
commands. Everything was working fine.
Yesterday, I updated to rubygems 1.3.5 and right after doing so, when I
perform a gem list it only sees rubygems-update 1.3.5 and nothing else.
However, if I run a gem -v it shows 1.3.4. Furthermore, my applications
and my projects all work fine. So, it appears that everything knows to
look in the real directory:
C:\ruby\bin\lib\ruby\gems\1.8 path…
But… when I do any updates or installs they go into the…
C:\Users\Joel.gem\ruby\1.8\gems
Here is my current gem env:
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.4
- RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
- INSTALLATION DIRECTORY: /lib/ruby/gems/1.8
- RUBY EXECUTABLE: /bin/ruby.exe
- EXECUTABLE DIRECTORY: /bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-mswin32-60
- GEM PATHS:
- /lib/ruby/gems/1.8
- C:/Users/Joel/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- :sources => [“http://gems.rubyforge.org/”,
“http://gems.github.com”, “http://gems.github.com”]
- REMOTE SOURCES:
I notice that there are two paths in GEM PATHS. The .gem folder is in
my users/username path.
I have not touched or done anything to my system other than performing
this lone update. I do not know how to fix it so that everything goes
back to the way it was…
I want all my gem installs and gem updates to occur in the real
directory they’ve always been occurring in. I’ve searched the web, read
the docs, and can’t find anything related to windows and this issue.
I’m using Vista, and the Ruby 1.8.6 one-click installer for windows so
everything was set for me.
What can I do to fix this?