From: Rafal Zdziech Date: 2012-03-02T03:37:08+09:00 Subject: Re: Installing any gems fails! --e89a8ff1c5ae44acff04ba32bfad Content-Type: text/plain; charset=ISO-8859-1 Uninstall your Ruby and try rvm to manage your Ruby and gems Rafal Zdziech - Ruby Dev: www.amidev.co.uk On Mar 1, 2012 3:39 PM, "Luis Lavena" wrote: > 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/. > > --e89a8ff1c5ae44acff04ba32bfad Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Uninstall your Ruby and try rvm to manage your Ruby and gems

Rafal Zdziech - Ruby Dev: www.amidev= .co.uk

On Mar 1, 2012 3:39 PM, "Luis Lavena" = <luislavena@gmail.com> wr= ote:
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 identic= al. 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: =A0While executing gem ... (Errno::EINVAL)
> =A0 =A0 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/rubyi= nstaller/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/.

--e89a8ff1c5ae44acff04ba32bfad--