Rails default app not loading

Hi! I was wondering if someone could maybe help me out. I’m just
starting to learn Rails, and I’m doing this tutorial:
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html

The thing is, I started doing it at work, and it worked fine, but when I
got home and tried to do it all over again, I couldn’t get the app to
load on firefox!! (figure 8), I just got "Unable to connect’

I can’t seem to figure out what’s wrong, or what I can do to fix this.
Can anyone help me?

Lilliana V. wrote:

Hi! I was wondering if someone could maybe help me out. I’m just
starting to learn Rails, and I’m doing this tutorial:
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html

The thing is, I started doing it at work, and it worked fine, but when I
got home and tried to do it all over again, I couldn’t get the app to
load on firefox!! (figure 8), I just got "Unable to connect’

I can’t seem to figure out what’s wrong, or what I can do to fix this.
Can anyone help me?

this could be a million reasons; i don’t think anyone’s gonna answer
(just because from the info alone, nothing can be gathered)
try posting the error stack trace or some debugged rails log info or
something like that

hope it works out for ya

On Dec 24, 9:05 pm, Lilliana V. [email protected]
wrote:

The thing is, I started doing it at work, and it worked fine, but when I
got home and tried to do it all over again, I couldn’t get the app to
load on firefox!! (figure 8), I just got "Unable to connect’

Do you have a Web server (WEBrick, mongrel, etc.) running at home?

///ark

Lilliana V. wrote:

Hi! I was wondering if someone could maybe help me out. I’m just
starting to learn Rails, and I’m doing this tutorial:
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html

The thing is, I started doing it at work, and it worked fine, but when I
got home and tried to do it all over again, I couldn’t get the app to
load on firefox!! (figure 8), I just got "Unable to connect’

I can’t seem to figure out what’s wrong, or what I can do to fix this.
Can anyone help me?

i am also just starting to learn Rails…and that tutorial was one of
the many I tried…

and I have to tell you that most of the tutorials out there like the one
u provided will not work 100% with rails 2.0 ~ experienced it first hand
=X

On Dec 24, 11:05 pm, Lilliana V. <rails-mailing-l…@andreas-
s.net> wrote:

Hi! I was wondering if someone could maybe help me out. I’m just
starting to learn Rails, and I’m doing this tutorial:http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html

The thing is, I started doing it at work, and it worked fine, but when I
got home and tried to do it all over again, I couldn’t get the app to
load on firefox!! (figure 8), I just got "Unable to connect’

The most probably reason is that the newest version of Rails is 2.0,
this tutorial is written for 1.2. Outstanding tutorials are yet to
come for 2.0 (AFAIK).

To play with version 1.2, do this from the command line (NOTE:
uninstalls rails 2 and installs rails 1.2)

gem uninstall rails
gem install rails -v 1.2.6

If it still doesn’t work, or you want to play with 2.0 anyway: Run
the server (script/server). After it starts, copy and paste what it
prints out to the command line into this thread. That may tell us if
there’s an error with the booting process – which is what I suspect.


Travis

Mark W. wrote:

Do you have a Web server (WEBrick, mongrel, etc.) running at home?

///ark

Heehee. I forgot to say I’m using InstantRails, so I’m actually using
Mongrel. I’m using IR because I couldn’t install rails as a gem from the
CMD for some reason. I’m going to give this another try when I get home
and then I’ll report whatever result I get.

Thanks for replying, everyone!


Lilly

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs