Forum: Ruby on Rails lighttpd not starting on os X (intel)

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.
Harm de Laat (Guest)
on 2006-02-01 14:49
(Received via mailing list)
Hi all,

I'm followed the instructions written here to prepare my new iMac for
Ruby / Rails developement:
http://hivelogic.com/articles/2005/12/01/ruby_rail...

When I run script/server I get the following output:

harm-de-laats-computer:~/rails/test harmdelaat$ script/server
=> Booting lighttpd (use 'script/server webrick' to force WEBrick)
=> script/../config/../config/lighttpd.conf not found, copying from
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/configs/lighttpd.conf
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach (requires absolute paths in
config/lighttpd.conf)
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
harm-de-laats-computer:~/rails/test harmdelaat$

However, it seems lighttpd is not started. If I use my browser to
connect to: http://0.0.0.0:3000/ I get the following output:

Safari can't open the page "http://0.0.0.0:3000/" because it could not
connect to the server "0.0.0.0".

I guess this is because the server is not running. I also checked the
log files. However I cannot find anything unusual.

Can somebody please offer some help on this issue?

Regards,

Harm de Laat
John T. (Guest)
on 2006-02-01 17:18
Harm de Laat wrote:
> Hi all,
...

> However, it seems lighttpd is not started. If I use my browser to
> connect to: http://0.0.0.0:3000/ I get the following output:
>
> Safari can't open the page "http://0.0.0.0:3000/" because it could not
> connect to the server "0.0.0.0".

Try going to :
   http://localhost:3000/  or  http://127.0.0.1/3000/


jt
Craig W. (Guest)
on 2006-02-01 17:26
(Received via mailing list)
On Wed, 2006-02-01 at 16:18 +0100, John T. wrote:
> Try going to :
>    http://localhost:3000/  or  http://127.0.0.1/3000/
----
maybe I missed an important part of the earlier thread but by default,
lightttpd would simply use port 80 - port 3000 is the default webrick
port.

thus if lighttpd were properly configured...

http://localhost would be sufficient

Craig
Mark H. (Guest)
on 2006-02-01 18:40
Harm de Laat wrote:
> Hi all,
>
> I'm followed the instructions written here to prepare my new iMac for
> Ruby / Rails developement:
> http://hivelogic.com/articles/2005/12/01/ruby_rail...

I've talked to Dan (hivelogic.com) and he had mentioned there are still
issues with pcre and Lighttpd for Intel Macs and those intructions your
following.  They are still a guideline for PPC Macs, not the Intels yet.
He said he would update the info once he had it all figured out.

-Mark
Harm de Laat (Guest)
on 2006-02-01 19:06
(Received via mailing list)
Okay,

Thank you very much for your help.
I'll keep an eye on his blog then!

Regards,

Harm de Laat
matthew clark (Guest)
on 2006-02-02 08:27
(Received via mailing list)
We are having the same problem at work.  I heard a rumor that it was a
gcc
issue.  Apparently, if lighttpd is compiled with gcc3.3, it will work on
the
Intel.  Gcc4 is a no go.

If you have time to play with this, and can substanciate that rumor,
please
post back.  I'd like to hear it.

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