[Instantrails-users] problems getting InstantRails working

Curt Hibbs curt.hibbs at gmail.com
Tue Oct 3 14:14:46 EDT 2006

On 10/3/06, Adam <adam at prettystudio.co.uk> wrote:
> Hi. My 1st post!
> Been trying to get Ruby & Rails working on a windows machine for most of
> yesterday. Gave up after not being able to get IIS to bring up a Rails
> page on localhost.
> So InstantRails seemed like the way forward. Got it installed ok, but I
> cant get it to serve Rails pages, specifically the cookbook app .. have
> gone through the instructions, and put the index.html from the cookbook
> app folder into the www folder. It says:
> The requested URL /recipe/list was not found on this server.
> (after loading http://www.railscookbook.com which redirects to
> http://www.railscookbook.com/recipe/list)
> If i try http://www.railscookbook.com:3001 it just loads forever.
> This is all on Firefox.
> Thanks in advance
> Adam

Are you using the newly released Instant Rails 1.4 preview1? If not, go
download and install it.

Next, start the cookbook app by:

   - Select "Rails Applications > Manage Rails Applications..."
   - Check the checkbox next to the cookbook app
   - Press the "Start with Mongrel" button.

You should be able to browse to:


Assuming that the above worked, the apache config file already has a virtual
host directive that will serve up the cookbook using the named host url:


But you first must edit you Windows HOSTS file to add this domain name so
that your local machine can fake itself into thinking that your machine is "

   - Select "Configure > Windows hosts file"
   - Add a line at the end that says "    www.mycookbook.com"

You should now be able to browse to:


WARNING: This will not work if you have your browser connection set to use a
proxy server.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20061003/8473cca2/attachment.html 

More information about the Instantrails-users mailing list