Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

gmd install rails error

when i go through installing the gems i get an error when i type into cmd prompt

"gem install rails"

it says:

ERROR: While executing gems .. (NoMethodError) undefined method size for nil:NilClass

3 Answers

i did a gem update rdoc and overwrited the existing files and when i did the gem install rails command again. it says the same thing

online it says it should be disregarded as it should say a "#" of gems installed, but mine goes straight to the error message written above

i used the gem install rails -v=1.2.3 and it gave me 6 gems installed. i dont know if thats all i need to do which makes it complete or not