# Walking through Tate and Hibbs, running into things that don

**URL:** <https://www.ruby-forum.com/t/walking-through-tate-and-hibbs-running-into-things-that-don/106905>\
**Category:** Ruby\
**Created:** [June 15, 2007, 6:47am UTC](https://www.ruby-forum.com/t/walking-through-tate-and-hibbs-running-into-things-that-don/106905 "2007-06-15T06:47:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xeno\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/958977/32.png) [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Post date:** [June 15, 2007, 6:47am UTC](https://www.ruby-forum.com/t/walking-through-tate-and-hibbs-running-into-things-that-don/106905/1 "2007-06-15T06:47:32Z")

</div>

First of all, there seems to be this claim on page 7 that the contents  
of script/server is:

…  
OPTIONS = {  
:port =\> 3000,  
:ip =\> “0.0.0.0”,  
:environment =\> “development”,  
:server\_root =\> "File.expand\_path(File.dirname( **FILE** ) +  
“/…/…/public/”),  
:server\_type =\> WEBrick::SimpleServer  
}  
…  
–snip—  
I’m not seeing the above anywhere, and my chapter-1/script/server has  
the following content:

#!/usr/bin/env ruby  
require File.dirname( **FILE** ) + ‘/…/config/boot’  
require ‘commands/server’  
—snip—  
Is there an updated instruction in this regard? I’d like to hook up  
also to Apache and lighthttpd, and presumably that was the old place  
where it was done??

---

<div class="post-metadata">

**Author:** ![Xeno\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/958977/32.png) [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Post date:** [June 15, 2007, 6:53pm UTC](https://www.ruby-forum.com/t/walking-through-tate-and-hibbs-running-into-things-that-don/106905/2 "2007-06-15T18:53:33Z")

</div>

Xeno C. wrote:

My next problem is the “greeting” page which I’m supposed to be able to  
get just by editing my app/controller/greeting\_controller.rb file to be:

class GreetingController \< ApplicationController  
def index  
render :text =\> “

# Welcome to your first Rails application

# ” end end

There are some problems with this:

1. There is no app/controller directory generated. There is an  
app/controllers directory.
2. The second 
# tag should presumably be
.
3. I do not get the diagnostic that the index is an unknown option  
BEFORE I insert lines 2-4 above. After I do, I get “/greeting not  
found” from the browser.

If someone could tell me where I’m going wrong here, it would be good to  
get back on track. I was hoping to make quick work of learning ROR with  
this little book, but instead I’m finding it seems more of a roadblock  
than anything else with these kinds of confusions.

---

<div class="post-metadata">

**Author:** ![Xeno\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/958977/32.png) [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Post date:** [June 15, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/walking-through-tate-and-hibbs-running-into-things-that-don/106905/3 "2007-06-15T19:38:46Z")

</div>

On 6/15/07, Xeno C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Xeno C. wrote:
> 
> My next problem is the “greeting” page which I’m supposed to be able to  
> get just by editing my app/controller/greeting\_controller.rb file to be:

Hi. The best place to ask questions like these is the Ruby on Rails  
mailing list.

---

<div class="post-metadata">

**Author:** ![Xeno\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/958977/32.png) [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Post date:** [June 15, 2007, 8:13pm UTC](https://www.ruby-forum.com/t/walking-through-tate-and-hibbs-running-into-things-that-don/106905/4 "2007-06-15T20:13:49Z")

</div>

Gregory B. wrote:

> On 6/15/07, Xeno C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Xeno C. wrote:
> > 
> > My next problem is the “greeting” page which I’m supposed to be able to  
> > get just by editing my app/controller/greeting\_controller.rb file to be:
> 
> Hi. The best place to ask questions like these is the Ruby on Rails  
> mailing list.

Okay, thanks.
