tag:help.rubygems.org,2010-01-19:/discussions/problems/15693-gems-home-drive-point-to-network-drive-not-my-localRubyGems.org: Discussion 2015-08-17T19:38:56Ztag:help.rubygems.org,2010-01-19:Comment/306086872013-12-17T17:20:05Z2013-12-17T17:20:05ZGems home drive point to network drive, not my local<div><p>Hello vlado,</p>
<p>If you look at the top: INSTALLATION DIRECTORY indicated where
gems will be<br>
installed, which in your case, will be installed in C: drive.</p>
<p>If for some reason you can't install there, you can setup
GEM_HOME<br>
environment variable and indicate where you want the gems be
installed.</p>
<p>By default, RubyGems will look for that variable and if not,
will default<br>
to the combination of HOMEDRIVE+HOMEPATH environment variables,
which in<br>
your case seems to point to your network share.</p>
<p>This might be due a misconfiguration of your network
administrator, but you<br>
can override that by setting the variable I mentioned above.</p>
<p>Please note that you will have to add to the PATH the "bin" part
where you<br>
set GEM_HOME to. Eg.:</p>
<p>C:>mkdir D:\mygems<br>
C:>SET GEM_HOME=D:\mygems<br>
C:>SET PATH=%PATH%;C:\mygems\bin</p>
<p>Then, check the output of "gem env" and see that now
INSTALLATION DIRECTORY<br>
points to this location.</p>
<p>Please note that this will affect any gem that was installed
before, as<br>
GEM_HOME contains the new place to look for gems.</p>
<p>You will need to use variables like GEM_PATH to be able to load
gems<br>
previously installed.</p>
<p>Hope that helps.</p></div>Luis Lavenatag:help.rubygems.org,2010-01-19:Comment/306086872013-12-18T12:39:38Z2013-12-18T12:39:38ZGems home drive point to network drive, not my local<div><p>I have permission denied message, when I changed my home
folder.<br>
for Example I'm trying this:</p>
<pre>
<code>D:\vagrant\magentobox\vagrant>gem install bourbon
ERROR: While executing gem ... (Errno::EACCES)
Permission denied - D:/Users/vvarbanov/.gem/specs/rubygems.org%443
D:\vagrant\magentobox\vagrant></code>
</pre></div>vladotag:help.rubygems.org,2010-01-19:Comment/306086872014-04-16T15:56:36Z2014-04-16T15:56:36ZGems home drive point to network drive, not my local<div><p>Did this ever get resolved? Also, FWIW...StackOverflow might be
a better way to seek help for this kind of stuff.</p></div>Nick Quaranto