35

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.

Sevyls
  • 1,160
  • 1
  • 11
  • 15

4 Answers4

69

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.

Community
  • 1
  • 1
Sevyls
  • 1,160
  • 1
  • 11
  • 15
8

That didn't work for me, but this did sudo gem install rails --no-rdoc --no-ri

Drew LeSueur
  • 19,185
  • 29
  • 89
  • 106
0

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.

Finnnn
  • 3,530
  • 6
  • 46
  • 69
-2

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!