# Weird install problems

**URL:** <https://www.ruby-forum.com/t/weird-install-problems/184695>\
**Category:** Rails\
**Created:** [March 6, 2010, 10:58pm UTC](https://www.ruby-forum.com/t/weird-install-problems/184695 "2010-03-06T22:58:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![blair](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c37758/32.png) [@blair](https://www.ruby-forum.com/u/blair)\
**Post date:** [March 6, 2010, 10:58pm UTC](https://www.ruby-forum.com/t/weird-install-problems/184695/1 "2010-03-06T22:58:49Z")

</div>

I am new to RoR, and I am just starting out, but I am having massive  
problems doing what should be a painless install. I am running a windows  
machine and I have ruby installed as well as gems.

When I try to do the command  
gem install rails  
I get

c:\Ruby19\>gem install rails  
ERROR: While executing gem … (Errno::ENOENT)  
No such file or directory - P:/

I do not want it to install to a P:/ directory and I have no clue how to  
change its install path.

I have reinstalled both ruby and gems multiple times  
and I would greatly appreciate any advice you have for me.

---

<div class="post-metadata">

**Author:** ![blair](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c37758/32.png) [@blair](https://www.ruby-forum.com/u/blair)\
**Post date:** [March 7, 2010, 1:21am UTC](https://www.ruby-forum.com/t/weird-install-problems/184695/2 "2010-03-07T01:21:26Z")

</div>

Eric B. wrote:

> I am new to RoR, and I am just starting out, but I am having massive  
> problems doing what should be a painless install. I am running a windows  
> machine and I have ruby installed as well as gems.
> 
> When I try to do the command  
> gem install rails  
> I get
> 
> c:\Ruby19\>gem install rails  
> ERROR: While executing gem … (Errno::ENOENT)  
> No such file or directory - P:/
> 
> I do not want it to install to a P:/ directory and I have no clue how to  
> change its install path.
> 
> I have reinstalled both ruby and gems multiple times  
> and I would greatly appreciate any advice you have for me.

I have solved my problem. for those of you who want to know what the  
problem is that the HOMEDRIVE was set to P:  
to fix this if you type “set HOMEDRIVE=C:” in command prompt and then  
verify with an “echo HOMEDRIVE” and then run the install it should work.

Thanks if you were working on this.
