# One-click Installer (ruby186-25) not installing gem

**URL:** <https://www.ruby-forum.com/t/one-click-installer-ruby186-25-not-installing-gem/114284>\
**Category:** Rails\
**Created:** [September 10, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/one-click-installer-ruby186-25-not-installing-gem/114284 "2007-09-10T22:21:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fenokid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/49beb7/32.png) [@fenokid](https://www.ruby-forum.com/u/fenokid)\
**Post date:** [September 10, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/one-click-installer-ruby186-25-not-installing-gem/114284/1 "2007-09-10T22:21:36Z")

</div>

Windows XP SP2  
New to ROR

Every note I’ve found about installing Ruby on Rails on Windows using  
the one click installer from [http://rubyforge.org](http://rubyforge.org) suggests that it  
seamlessly also installs rubyGems. But after I run the installer and  
open a command window,

ruby -v returns “ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]”

while  
gem -v returns "c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/config\_file.rb:  
51:i  
id argument - “C:\WINDOWS\DESKTOP"/.gemrc (Errno::EINVAL)” and more  
lines about not being able to open the file.

Should I be defining a .gemrc file somewhere, or can I modify a config  
file somewheret to point to whereever it should be and, if so, where  
might the correct file be?

So far, I’ve modified the PATH environment variable to be c:\ruby\bin  
and every variation I can think of, with no luck.  
The RUBYOPT environment variable was “-rubygems”; I tried changing it  
to c:\ruby\lib\ruby with no luck there either.

I’d appreciate any help. Thanks.

Anyone have any insights into what might be not happening correctly on  
install? I’ve tried uninstalling and re-installing several times with  
no change.
