Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
"gem install rails" does... nothing.
I type "gem install rails" in the command line, then hit enter, and nothing happens. I don't get an error or anything. The cursor just sits there doing nothing. I've tried hitting enter a few times. I've tried waiting 5 or 10 minutes. And I've hit control-C, which causes it to say "ERROR: Interrupted" and then gives me the command line prompt again.
I'm kind of flying in the dark, so any help is most appreciated! And you might have to spell it out, as I'm totally new to Rails and the command line.
I found this post that may help you out. Depending on your internet connection it may take a while but if you waited that long that probably is not the issue. I am not too experienced with this but I like to help people out even if its just by posting links. It helps me learn as well. let me know if this works. good luck
Thanks for the link. I added -V to the command, which allowed me to see that stuff was actually happening behind the scenes. Apparently -V means "verbose", and this causes the system to report on everything that's going on. So the complete command was:
sudo gem install rails -V
It turned out that I had to wait 20 or 30 minutes for it to finish. Thanks again for the help!