List Info

Thread: problems getting InstantRails working




problems getting InstantRails working
user name
2006-10-03 15:21:49
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.r
ailscookbook.com/recipe/list)

If i try http://www.railscoo
kbook.com:3001 it just loads forever.

This is all on Firefox.

Thanks in advance
Adam

_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

problems getting InstantRails working
user name
2006-10-03 18:14:46
On 10/3/06, Adam < adamprettystudio.co.uk">adamprettystudio.co.uk&gt; 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&quot; button.
You should be able to browse to:

 ;   http://localhost:3001/

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:

&nbsp; &nbsp; http://www.mycookbook.com/

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 " www.mycookbook.com&quot;:
You should now be able to browse to:

&nbsp; &nbsp; http://www.mycookbook.com/

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

Curt
problems getting InstantRails working
user name
2006-10-03 19:38:56
Did you modify your hosts file?

On 10/4/06, Adam <adamprettystudio.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.r
ailscookbook.com/recipe/list)
>
> If i try http://www.railscoo
kbook.com:3001 it just loads forever.
>
> This is all on Firefox.
>
> Thanks in advance
> Adam
>
> _______________________________________________
> Instantrails-users mailing list
> Instantrails-usersrubyforge.org
> http://rubyforge.org/mailman/listinfo/instantrails-users

>
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

problems getting InstantRails working
user name
2006-10-04 03:54:54
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Oct 3, 2006, at 10:21 AM, Adam wrote:


> gone through the instructions, and put the index.html
from the  
> cookbook
> app folder into the www folder. It says:
>

What instructions say to do that???

David Morton
Maia Mailguard http://www.maiamailguard
.com
mortondadgrmm.net



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFIzCTUy30ODPkzl0RAqdmAJ9dS45a67keGEhElTYx6bkGPQ1KewCg
s7dw
adTma6ibFHjNgrRRI7rNfkQ=
=hnkS
-----END PGP SIGNATURE-----
_______________________________________________
Instantrails-users mailing list
Instantrails-usersrubyforge.org
http://rubyforge.org/mailman/listinfo/instantrails-users

problems getting InstantRails working
user name
2006-10-04 10:39:09
Curt Hibbs wrote:
mail.gmail.com" type="cite">On 10/3/06, Adam <prettystudio.co.uk">adamprettystudio.co.uk&gt; 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:

    http://localhost:3001/

This is where it goes wrong... just get endless loading.&nbsp;
I've tried looking for another Apache instance running, and made sure IIS is off.

Any further help much appreciated!
Thanks
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )