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 trialvictor guia
8,098 PointsInstalling Ruby Development Environment
There was an error while I was installing "gem install rails". The error says "could not find a valid gem 'rails'. Unable to download data from https://rubygems.org/"
What should I do?
1 Answer
Maciej Czuchnowski
36,441 PointsThis sometimes happens, they may have a lot of traffic at the moment. Try again after some time.
You can also try: gem sources -a http://rubygems.org
, when it asks you "Do you want to add this insecure source? [yn]" say y
and then run gem install rails
again.