# What to install for Rails development?

**URL:** <https://www.ruby-forum.com/t/what-to-install-for-rails-development/93895>\
**Category:** Rails\
**Created:** [April 13, 2006, 10:38am UTC](https://www.ruby-forum.com/t/what-to-install-for-rails-development/93895 "2006-04-13T10:38:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![conz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a5b964/32.png) [@conz](https://www.ruby-forum.com/u/conz)\
**Post date:** [April 13, 2006, 10:38am UTC](https://www.ruby-forum.com/t/what-to-install-for-rails-development/93895/1 "2006-04-13T10:38:19Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![conz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a5b964/32.png) [@conz](https://www.ruby-forum.com/u/conz)\
**Post date:** [April 13, 2006, 10:50am UTC](https://www.ruby-forum.com/t/what-to-install-for-rails-development/93895/2 "2006-04-13T10:50:39Z")

</div>

Conrad T. 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.

---

<div class="post-metadata">

**Author:** ![conz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a5b964/32.png) [@conz](https://www.ruby-forum.com/u/conz)\
**Post date:** [April 13, 2006, 11:12am UTC](https://www.ruby-forum.com/t/what-to-install-for-rails-development/93895/3 "2006-04-13T11:12:14Z")

</div>

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
