Tuesday, February 14, 2012

Solution to problem to run gem install



If you get the following error message when you try to install via gem:


ERROR:  While executing gem ... (Errno::ENOENT)
 No such file or directory - H:/

Reason:
one of the environment variables (most of the time HOME,USERPROFILE or HOMEDRIVE and HOMEPATH) point to H:/

You   can temporary or permanently change it:


set HOMEDRIVE=C:
and run again gem.

No comments:

Post a Comment