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!
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

Joseph Koch
3,393 PointsRuby Installation Error
So I've been working on setting up Ruby for my Windows computer, more particularly Windows 8.1. I've made it through every step, except when I type in localhost:3000 into my internet browser, Firefox says:
Unable to connect
Firefox can't establish a connection to the server at localhost:3000.
Does anyone know what could be my problem? Everything I installed in CMD seemed to work properly, although at times it would say "DL is deprecated, please use Fiddle", then pause for a second. After this, it just finishes the operation.
1 Answer

Vincent Imburgia
6,474 PointsYou have to start the rails server before you can connect to it via the browser. First you need to create a new rails application.
rails new testapp
Then you need to enter the testapp folder and start the rails server from the bin directory.
cd testapp
bin/rails server
Then you should be able to access the the server at localhost:3000
Binary Soul
4,592 PointsBinary Soul
4,592 Pointsand in fact, he has to install rails first ;D
use
gem install rails
to do so.