# Installing Rails - gem file not found

**URL:** <https://www.ruby-forum.com/t/installing-rails-gem-file-not-found/62022>\
**Category:** Rails\
**Created:** [May 30, 2006, 9:04pm UTC](https://www.ruby-forum.com/t/installing-rails-gem-file-not-found/62022 "2006-05-30T21:04:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rearnest](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@rearnest](https://www.ruby-forum.com/u/rearnest)\
**Post date:** [May 30, 2006, 9:04pm UTC](https://www.ruby-forum.com/t/installing-rails-gem-file-not-found/62022/1 "2006-05-30T21:04:09Z")

</div>

I’ve been following the cookbook directions on the rubyonrails site but  
when I come to the install step;

gem install rails --include-dependencies

I get the message;

Local gem file not found: rails\*.gem

It then goes and trys a remote install from rubyforge which never works  
even when I shut all my network secrutiy down.

I did a search on rails\*.gem and all I found was;

rails-1.1.2.gem

It is in a rails subfolder I put inside the ruby folder. (There doesn’t  
seem to be a gems folder.)

Why can’t gems find it?

Thanks, -Rhe.

---

<div class="post-metadata">

**Author:** ![rearnest](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@rearnest](https://www.ruby-forum.com/u/rearnest)\
**Post date:** [May 31, 2006, 10:23pm UTC](https://www.ruby-forum.com/t/installing-rails-gem-file-not-found/62022/2 "2006-05-31T22:23:16Z")

</div>

OK, more information. When ruby installed, it created its path entry  
wrong. It failed to put the ; at the end. I fixed that and found that  
if I CD to the ruby\bin folder and put in the entire path leading to the  
rails files then the gem command is able to find it.

Next problem; I get the error message “rails requires rake \>= 0.7.1”.  
Now, I just downloaded fresh everything. I couldn’t possibly have an  
old rake. I’m thinking it’s a path issue again.

What combination of directory structures and path commands do I have to  
have to get all this stuff to string together properly?

---

<div class="post-metadata">

**Author:** ![rearnest](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@rearnest](https://www.ruby-forum.com/u/rearnest)\
**Post date:** [May 31, 2006, 10:39pm UTC](https://www.ruby-forum.com/t/installing-rails-gem-file-not-found/62022/3 "2006-05-31T22:39:56Z")

</div>

Hey Russell, what platform are you trying to install on? Windows XP or  
Mac OS X or Linux? However, I’m guessing that you’re on a Windows  
related platform from your previous e-mail. This information would  
assist  
us in helping you.

Thanks in advance,

-Conrad

---

<div class="post-metadata">

**Author:** ![rearnest](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/cab0a1/32.png) [@rearnest](https://www.ruby-forum.com/u/rearnest)\
**Post date:** [June 1, 2006, 5:41pm UTC](https://www.ruby-forum.com/t/installing-rails-gem-file-not-found/62022/4 "2006-06-01T17:41:36Z")

</div>

Thanks Conrad. Yes, it’s Windoes XP. The more I look at this I think I  
need a good directory structure plan and a matching path command.  
Otherwise I’m probably going to have issues from now on out. Any  
advice? -Rhe.

Conrad T. wrote:

> Hey Russell, what platform are you trying to install on?
