# Installation error

**URL:** <https://www.ruby-forum.com/t/installation-error/120948>\
**Category:** Rails\
**Created:** [November 22, 2007, 2:44am UTC](https://www.ruby-forum.com/t/installation-error/120948 "2007-11-22T02:44:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike](https://www.ruby-forum.com/u/mike)\
**Post date:** [November 22, 2007, 2:44am UTC](https://www.ruby-forum.com/t/installation-error/120948/1 "2007-11-22T02:44:17Z")

</div>

Hello,

I’m having a problem installing rails on OS X 10.4.

I installed RubyGems 0.9.5 and when I use the command “gem install  
rails --include-dependencies” I receive the following output:

INFO: `gem install -y` is now default and will be removed  
INFO: use --ignore-dependencies to install only the gems you list  
Bulk updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)  
ERROR: While executing gem … (TypeError)  
cannot convert nil into Array

Web and newsgroup searches haven’t returned much information.

Any ideas what the problem is?

Thanks.

---

<div class="post-metadata">

**Author:** ![mike](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mike](https://www.ruby-forum.com/u/mike)\
**Post date:** [November 22, 2007, 1:07pm UTC](https://www.ruby-forum.com/t/installation-error/120948/2 "2007-11-22T13:07:25Z")

</div>

Tried again after startup. Today’s message was:

Could not find rails (\> 0) in any repository

This was more googlable than the other error, and revealed the  
solution:

gem cleanup  
sudo gem update

Then I was able to run the original rails install command  
successfully.

Including here in case others encounter the same problem.
