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

Development Tools Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Mac

"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.

2 Answers

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

Hi Jovanny,

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!

I am glad I can help in the process I learned something new its a win win for both of us.