Eugene A. wrote in post #1049652:
> I'm still a bit of a n00b. :)
>
> I've tried this on both Ruby 1.8.7 and 1.9.3 and result is identical. I
> need to install a specific gem (bewildr) but when I try it I get this:
>
> C:\Ruby187\bin>gem install bewildr
> Fetching: bewildr-0.1.14.gem (100%)
> ERROR:  While executing gem ... (Errno::EINVAL)
>     Invalid argument - "c:
>

It seems one environment variable is affecting RubyGems to work 
properly.

There is a similar entry on RubyInstaller wiki:

https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting#wiki-network_drive_home

Which is caused by setting a network drive as home.

Can you verify what are the values of the following variables?

SET HOME
SET HOMEDRIVE
SET HOMEPATH
SET USERPROFILE
SET RUBYOPT

And post it back?

That will help us help you better.

--
Luis Lavena

-- 
Posted via http://www.ruby-forum.com/.