Forum: Ruby on Rails Instant Rails on Win XP SP2

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0de83fd56f1af530034ba8efa5490b1b?d=identicon&s=25 John Butler (johnnybutler7)
on 2006-04-15 16:51
I am trying to run instant rails on windows xp SP2.  I can get the
cookbook and typo sample sites to work with webrick but not with scgi.

When i click the start with scgi i get a blank dos window and typing
www.mycookbook.com returns

Firefox can't establish a connection to the server at
www.mycookbook.com.

This suggests that apache is not even running even though the green
light is on for apache and mysql.

The apache access and error logs are also blank.

If i click the apache.exe in the apache folder inside instant rails a
dos window is displayed saying

Apache/1.3 ......mod_scgi 1.7 running.....

If i type www.mycookbook.com into the browser i get
Firefox can't establish a connection to the server at
www.mycookbook.com.

Ive had a look in the readme file inside instant rails and it says the
following

Apache for Microsoft Windows 2000, NT, 98, and 95
systems.  Like the Unix version, it includes many frequently

Is instant rails with aoache/scgi supposed to run on windows xp?

Can anyone help, ive being trying this for days without success???
D810e7436feb302a3e4e6b11895a7f65?d=identicon&s=25 Gael Pourriel (Guest)
on 2006-04-15 19:01
(Received via mailing list)
Try to access the server using its local IP address:
http://127.0.0.1

Gael
C475cffda1800fbc3f3af17bc10c220f?d=identicon&s=25 Curt Hibbs (Guest)
on 2006-04-16 05:47
(Received via mailing list)
I run it on XP SP2.

You may not be waiting long enough for the SCGI process to get Rails
and the web app loaded and ready to go. It takes about 30 seconds on
my system. I usually watch my cpu-in-use cycles go up when I start the
SCGI process, and when it drops back to zero I know its ready.

Its unfortunate that the SCGI process doesn't display any status (like
WEBrick) to let you know what's happening.

Curt

PS
   I'm assuming that you added the appropriate entries to your windows
HOSTS file.
0de83fd56f1af530034ba8efa5490b1b?d=identicon&s=25 John Butler (johnnybutler7)
on 2006-04-16 14:27
i m waiting long enough for the scgi process to get rails and the web
app loaded.  I have followed the instructions at the link below and
tried some of the common problems without success.  I have had IIS
running on this machine but i have disabled it and changed the port
number it listens on.  I have norton internet security, could it be
something to do with the firewall?

http://instantrails.rubyforge.org/wiki/wiki.pl?Get...

I am still getting the following below,

Unable to connect

Firefox can't establish a connection to the server at
www.mycookbook.com.
C475cffda1800fbc3f3af17bc10c220f?d=identicon&s=25 Curt Hibbs (Guest)
on 2006-04-16 18:38
(Received via mailing list)
Can't hurt to try it with the firewall disabled.

Curt
40db9e75b3f5899258e3bdc0c9210154?d=identicon&s=25 Conrad Taylor (Guest)
on 2006-04-17 09:23
(Received via mailing list)
Hey John, I had the same issue with instant rails on Windows XP w/SP2
but I
simply switched to using Webrick for development purposes because I plan
to
use the setup that my hosting company has selected for running Rails
apps.
After that, I setup RadRails 0.6.2 and I'm good to go.  However, it
would
have been nice to get it working but I need to generate an application
and
I'll revisit this in the near future.

Peace,

-Conrad
0de83fd56f1af530034ba8efa5490b1b?d=identicon&s=25 John Butler (johnnybutler7)
on 2006-04-17 16:57
I think ive tried everything.  I think i will install apache/mysql etc
separetly and go down that route.  I used rad rails with eclipse using
webrick for development without any problems.  I have a spare machine
here so i'm looking to deploy my site on this machine that is running
windows SP2.

Is apache the best solution for ROR deployment on windows xp s2 or ive
heard some stuff on light server or can webrick be used for ROR
deployment?
5b8750b91be1126131b9c3ec3ed7255a?d=identicon&s=25 Scott (Guest)
on 2006-04-18 21:28
(Received via mailing list)
I couldn't ever get the Instant Rails install to work properly. MySQL
came
up fine, I couldn't figure out all the config. Just went back to using
webrick.
C475cffda1800fbc3f3af17bc10c220f?d=identicon&s=25 Curt Hibbs (Guest)
on 2006-04-18 22:48
(Received via mailing list)
WEBrick is what you want to be using for most development, then move
to Apache when you want to test/develop in an environment that is
closer to what you'll have in production.

Curt
This topic is locked and can not be replied to.