Frederick Cheung wrote:
Sent from my iPhone
reply! I'm really excited about my first journey into RoR and web
The problem is when I've already entered the script/server and got the
welcome aboard screen when I point my browser to port 3000. If I don't
start the server, I generate the model. How is mongrel not running
irrelevant, all the evidence points to the webserver being the
Well that's the first time you've said that running a mongrel makes a
difference as far as I can tell. When it hangs when running the
generator do you know where it is blocked? (eg if you control c it do
you get an interesting backtrace)?
Sorry about that, I didn't realize I only mentioned mongrel once in my
posts. Here is what I get:
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails 2.1.1 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no
** Rails signals registered. HUP => reload (without restart). It might
not work well.
** Mongrel 1.1.5 available at 0.0.0.0:3000
** Use CTRL-C to stop.
script/generate model Page
(Nothing happens...then I just press cntrl + C)
^C** INT signal received.
I hope this helps. Thanks for helping me with my question.