When installing Rails 3.0.1 i always get following error message, although i can use the installation.
I'm not sure if there's something wrong, I'm irritated by the error message.
As in the answer by balupton:
Ruby on Rails Beta 3 Install Problem on Snow Leopard
gem install rdoc
Follow instructions and then rerun
gem install rails
No errors occur to me now.
I had a similar problem today. Serpenstage's answer helped and lead me to find this guide here. http://pragmaticstudio.com/blog/2010/9/23/install-rails-ruby-mac
It installs RVM too, which is useful for running multiple versions of ruby.
Did you install Ruby before installing rails? I ran into the same problem until I went to https://help.ubuntu.com/community/RubyOnRails#Get%20Ruby. There are a number of steps you have to take before you install rails and I think this will help, if you are running it on the Ubuntu OS. Hope it works for you!