I have installed InstantRails on the D drive and configured the Windows Hosts file on the C drive with the lines
127.0.0.1 www.mycookbook.com 127.0.0.1 typo
Trouble is, when I start the Rails Applications Cookbook with the "Start
with Mongrel" button, the DOS window opens without showing anything and then closes almost immediately.
The problem is occurring here. The Mongrel web server is not starting up (the console window should stay open and you should see Mongrel status messages), so you’re not going to be able to proceed and with the browser until this is fixed.
First, check these two log files to see if there are any clues in there to tell you what is going wrong:
InstantRails\rails_apps\cookbook\log\mongrel_debug\files.log
InstantRails\rails_apps\cookbook\log\development.log
If that doesn’t tell you anything useful, then manualy open a ruby console window by selecting the menu item:
Rails Applications >> Open Ruby Console Window
Then, move into the cookbook directory (“cd cookbook”) and try to start Mongrel with this command:
mongrel_rails start
When this fails, you should (hopefully) see some message saying why.
Curt