# Can't see http://localhost:3000/pages/home in browser

**URL:** <https://www.ruby-forum.com/t/cant-see-http-localhost-3000-pages-home-in-browser/194966>\
**Category:** Rails\
**Created:** [September 14, 2010, 2:55pm UTC](https://www.ruby-forum.com/t/cant-see-http-localhost-3000-pages-home-in-browser/194966 "2010-09-14T14:55:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [September 14, 2010, 2:55pm UTC](https://www.ruby-forum.com/t/cant-see-http-localhost-3000-pages-home-in-browser/194966/1 "2010-09-14T14:55:32Z")

</div>

Am working my way through the [railstutorial.org](http://railstutorial.org) lesson at  
[http://railstutorial.org/chapters/filling-in-the-layout#top](http://railstutorial.org/chapters/filling-in-the-layout#top)

Am not clear about how to start the autotest, and when I tried to see  
the above page in the broswer, I got this error:

Last login: Tue Sep 14 17:06:38 on ttys000  
Paul-Denlingers-MacBook-Pro:~ pdenlinger$ cd ~/Sites/rails\_projects/  
sample\_app  
Paul-Denlingers-MacBook-Pro:sample\_app pdenlinger$ rails s  
=\> Booting WEBrick  
=\> Rails 3.0.0 application starting in development on  
[http://0.0.0.0:3000](http://0.0.0.0:3000)  
=\> Call with -d to detach  
=\> Ctrl-C to shutdown server  
Exiting  
/Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/  
active\_support/dependencies.rb:235:in `load': /Users/pdenlinger/Sites/ rails_projects/sample_app/config/routes.rb:67: syntax error, unexpected keyword_end, expecting $end (SyntaxError) from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/ activesupport-3.0.0/lib/active_support/dependencies.rb:235:in `block  
in load’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/  
activesupport-3.0.0/lib/active\_support/dependencies.rb:225:in `block in load_dependency' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/ activesupport-3.0.0/lib/active_support/dependencies.rb:591:in `new\_constants\_in’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/  
activesupport-3.0.0/lib/active\_support/dependencies.rb:225:in  
`load_dependency' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/ activesupport-3.0.0/lib/active_support/dependencies.rb:235:in `load’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/  
lib/rails/application.rb:127:in `block in reload_routes!' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/ lib/rails/application.rb:127:in `each’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/  
lib/rails/application.rb:127:in `reload_routes!' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/ lib/rails/application.rb:120:in `block in routes\_reloader’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/  
activesupport-3.0.0/lib/active\_support/file\_update\_checker.rb:32:in  
`call' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/ activesupport-3.0.0/lib/active_support/file_update_checker.rb:32:in `execute\_if\_updated’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/  
lib/action\_dispatch/railtie.rb:14:in `block (2 levels) in <class:Railtie>' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/ activesupport-3.0.0/lib/active_support/callbacks.rb:419:in `\_run\_prepare\_callbacks’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/  
lib/action\_dispatch/middleware/callbacks.rb:40:in `initialize' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/ lib/action_dispatch/middleware/stack.rb:33:in `new’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/  
lib/action\_dispatch/middleware/stack.rb:33:in `build' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/ lib/action_dispatch/middleware/stack.rb:79:in `block in build’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/  
lib/action\_dispatch/middleware/stack.rb:79:in `each' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/ lib/action_dispatch/middleware/stack.rb:79:in `inject’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.0/  
lib/action\_dispatch/middleware/stack.rb:79:in `build' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/ lib/rails/application.rb:162:in `app’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/  
lib/rails/application/finisher.rb:35:in `block in <module:Finisher>' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/ lib/rails/initializable.rb:25:in `instance\_exec’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/  
lib/rails/initializable.rb:25:in `run' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/ lib/rails/initializable.rb:50:in `block in run\_initializers’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/  
lib/rails/initializable.rb:49:in `each' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/ lib/rails/initializable.rb:49:in `run\_initializers’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/  
lib/rails/application.rb:134:in `initialize!' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/ lib/rails/application.rb:77:in `method\_missing’  
from /Users/pdenlinger/Sites/rails\_projects/sample\_app/config/  
environment.rb:5:in `<top (required)>' from /Users/pdenlinger/Sites/rails_projects/sample_app/config.ru:3:in `require’  
from /Users/pdenlinger/Sites/rails\_projects/sample\_app/config.ru:3:in  
`block in <main>' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/ rack/builder.rb:46:in `instance\_eval’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/  
rack/builder.rb:46:in `initialize' from /Users/pdenlinger/Sites/rails_projects/sample_app/config.ru:1:in `new’  
from /Users/pdenlinger/Sites/rails\_projects/sample\_app/config.ru:1:in  
`<main>' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/ rack/builder.rb:35:in `eval’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/  
rack/builder.rb:35:in `parse_file' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/ rack/server.rb:162:in `app’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/  
rack/server.rb:248:in `wrapped_app' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/ rack/server.rb:213:in `start’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/  
lib/rails/commands/server.rb:65:in `start' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/ lib/rails/commands.rb:30:in `block in \<top (required)\>’  
from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/  
lib/rails/commands.rb:27:in `tap' from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.0/ lib/rails/commands.rb:27:in `\<top (required)\>’  
from script/rails:6:in `require' from script/rails:6:in `’  
Paul-Denlingers-MacBook-Pro:sample\_app pdenlinger$

Can you tell me what’s wrong?

Thank you.

Paul D.

---

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [September 14, 2010, 3:44pm UTC](https://www.ruby-forum.com/t/cant-see-http-localhost-3000-pages-home-in-browser/194966/2 "2010-09-14T15:44:08Z")

</div>

On Tue, Sep 14, 2010 at 08:47, pauld [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Am working my way through the [railstutorial.org](http://railstutorial.org) lesson at  
> [http://railstutorial.org/chapters/filling-in-the-layout#top](http://railstutorial.org/chapters/filling-in-the-layout#top)
> 
> Am not clear about how to start the autotest, and when I tried to see  
> the above page in the broswer, I got this error:  
> …  
> Exiting  
> /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.0/lib/  
> active\_support/dependencies.rb:235:in `load’: /Users/pdenlinger/Sites/  
> rails\_projects/sample\_app/config/routes.rb:67: syntax error,  
> unexpected keyword\_end, expecting $end (SyntaxError)

Have you looked at line 67 of your routes.rb? Do you not see why  
what’s there is a syntax error, involving an extra “end” keyword when  
it was just expecting the end of something (possibly the file)?

-Dave

–  
Specialization is for insects. -RAH | Have Pun, Will Babble! -me  
Programming Blog: [http://codosaur.us](http://codosaur.us) | Work: [http://davearonson.com](http://davearonson.com)  
Leadership Blog: [http://dare2xl.com](http://dare2xl.com) | Play: [http://davearonson.net](http://davearonson.net)

- 
  - 
    - 
      - 
        - WATCH THIS SPACE \* \* \* \* \* | Ruby: [http://mars.groupsite.com](http://mars.groupsite.com)

---

<div class="post-metadata">

**Author:** ![dangermoose](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e79b87/32.png) [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Post date:** [September 15, 2010, 2:31am UTC](https://www.ruby-forum.com/t/cant-see-http-localhost-3000-pages-home-in-browser/194966/3 "2010-09-15T02:31:00Z")

</div>

Thanks.

I missed that with all the commented out information.

Paul D.

On Sep 14, 9:42 pm, Dave A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
