# Lighttpd won't start up. I'm new to ruby, please bare with m

**URL:** <https://www.ruby-forum.com/t/lighttpd-wont-start-up-im-new-to-ruby-please-bare-with-m/105659>\
**Category:** Rails\
**Created:** [June 1, 2007, 4:08am UTC](https://www.ruby-forum.com/t/lighttpd-wont-start-up-im-new-to-ruby-please-bare-with-m/105659 "2007-06-01T04:08:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@mjw](https://www.ruby-forum.com/u/mjw)\
**Post date:** [June 1, 2007, 4:08am UTC](https://www.ruby-forum.com/t/lighttpd-wont-start-up-im-new-to-ruby-please-bare-with-m/105659/1 "2007-06-01T04:08:41Z")

</div>

I am running Ruby on an iMac (intel based). Here is the error message  
I am getting. I have a feeling this is “easy” to fix, but I cannot  
find anything on it using goggle. I created a rails project named  
‘railslist’ at which point I need to start up / configure the  
webserver (according to the book). The book says to run this command  
at the shell prompt: ruby script/server … at which point I get this  
error message.

:~/railslist mjw$ ruby script/server  
./script/…/config/boot.rb:29: undefined method `gem’ for main:Object  
(NoMethodError)  
from script/server:2  
:~/railslist mjw$

Thanks in advance,

MJW

---

<div class="post-metadata">

**Author:** ![mjw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@mjw](https://www.ruby-forum.com/u/mjw)\
**Post date:** [June 1, 2007, 7:13am UTC](https://www.ruby-forum.com/t/lighttpd-wont-start-up-im-new-to-ruby-please-bare-with-m/105659/2 "2007-06-01T07:13:13Z")

</div>

did you also create your databases and fill out your database.yml file?

mjw wrote:

> I am running Ruby on an iMac (intel based). Here is the error message  
> I am getting. I have a feeling this is “easy” to fix, but I cannot  
> find anything on it using goggle. I created a rails project named  
> ‘railslist’ at which point I need to start up / configure the  
> webserver (according to the book). The book says to run this command  
> at the shell prompt: ruby script/server … at which point I get this  
> error message.
> 
> :~/railslist mjw$ ruby script/server  
> ./script/…/config/boot.rb:29: undefined method `gem’ for main:Object  
> (NoMethodError)  
> from script/server:2  
> :~/railslist mjw$
> 
> Thanks in advance,
> 
> MJW
