On Wed, Dec 9, 2009 at 5:28 PM, Colin Law <[email protected]> wrote:

> 2009/12/9 dwhitekiss <[email protected]>:
> > Hi,
> >
> > When I generated the controller about and index, I am not seeing the
> > generated views in my firefox browser (an error occured).
> >
> >
> > # script/generate contoller about index
> >      exists  app/controllers/
> >      exists  app/helpers/
> >      exists  app/views/about
> >      exists  test/functional/
> >      exists  test/unit/helpers/
> >   identical  app/controllers/about_controller.rb
> >   identical  test/functional/about_controller_test.rb
> >   identical  app/helpers/about_helper.rb
> >   identical  test/unit/helpers/about_helper_test.rb
> >   identical  app/views/about/index.html.erb
> >
> >
> > When I go to my browser:
> >
> > http://localhost:3000/about
> >
> > It should generate:
> >
> > About#index
> >
> > BUT I get an browser error,
>
> What is the error?
>
> This is what I get from the browser

We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it shortly.





> >
> > Is there a way to see the error in the full trace? or is there an
> > error in my commands?
>
> Have a look in log/development.log, that often contains useful information.
>

See below,not sure how to deal with it:
# tail -f development.log
    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
    /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:14:in
`run'
    /usr/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/server.rb:111
    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    script/server:3



> Colin
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to