Forum: Ruby on Rails What to install for Rails development?

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.
40db9e75b3f5899258e3bdc0c9210154?d=identicon&s=25 Conrad Taylor (Guest)
on 2006-04-13 10:38
(Received via mailing list)
Hi, I'm receiving the followig error message when I try to start
WEBBrick and it exists immediately:

$ ruby script/server
=> Booting lighttpd (use 'script/server webrick' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
Undefined config variable: var.CWD
2006-04-13 01:30:33: (configfile.c.800) source: config/lighttpd.conf
line: 10 pos: 43 parser failed somehow near here: +
Exiting

Thus, if anyone has any ideas as to how to resolve this issue, it
would be GREATLY appreciated.

Thanks in advance,

-Conrad
Ad7805c9fcc1f13efc6ed11251a6c4d2?d=identicon&s=25 Alex Young (Guest)
on 2006-04-13 10:50
(Received via mailing list)
Conrad Taylor wrote:
> line: 10 pos: 43 parser failed somehow near here: +
> Exiting
>
> Thus, if anyone has any ideas as to how to resolve this issue, it
> would be GREATLY appreciated.
>
First off, you're not using WEBrick.  You can trigger it with
"script/server webrick" as opposed to just "script/server".  The server
script switches to LightTPD if it's on your $PATH, unless you tell it
otherwise.  Secondly, I presume you're using an old version of
LightTPD...  If you want to use it, you'll either need to fix the paths
in config/lighttpd.conf to be absolute, or upgrade to a recent version
that provides the CWD variable.  I think that's anything > 1.4.10 - just
go for the latest.
40db9e75b3f5899258e3bdc0c9210154?d=identicon&s=25 Conrad Taylor (Guest)
on 2006-04-13 11:12
(Received via mailing list)
Hi, thanks for the information and I was able to resolve the issue by
installing the following:

lighttpd-1.4.11.tar.gz

I guess the default is WeBrick at this time when performing

ruby script/server

Thanks again,

-Conrad
This topic is locked and can not be replied to.