gem install rails gives me Error: undefined method include?

Posted by johnlai2004 on Server Fault See other posts from Server Fault or by johnlai2004
Published on 2010-03-23T23:22:22Z Indexed on 2010/03/23 23:23 UTC
Read the original article Hit count: 338

Filed under:
|

I'm using ubuntu 9.10, apache 2 and mysql 5. I install ruby 1.8.7 on the server. I ran the command

gem install -v 1.2.3

But then I get the error

ERROR:  While executing gem ... (NoMethodError)
    undefined method `include?' for nil:NilClass

What did I do wrong?

© Server Fault or respective owner

Related posts about ruby-on-rails

Related posts about rubygems