Forum: Ruby on Rails New to Rails, but have a 500 error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Learning (Guest)
on 2009-05-05 19:43
(Received via mailing list)
i'm new to ruby on rails, there's a problem when i follow the guide on
rubyonrails.org
i create a controller like this
#ruby script\generate home index
and edit app/views/home/index.html.erb after that
#ruby script\server

when i browse the http://localhost:3000/home/index

it shows that

We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it
shortly.

how to deal with?
E. Litwin (Guest)
on 2009-05-05 20:16
(Received via mailing list)
I would normally say to look in the development.log file for a more
detailed explanation.
However, you will normally get a detailed error on the browser when
running in development mode and the error you described when running
in production.
Try checking ..\log\production.log to see what the error is.

Also, you can try starting up the server using ruby script/server -e
development to make force it to development environment.
Chris H. (Guest)
on 2009-05-05 20:23
(Received via mailing list)
Did you do:
ruby script/generate controller ....
This topic is locked and can not be replied to.