+3  A: 

There's a log file in log/development.log that displays the complete error.
You can see what went wrong by analyzing the last request there.

Damien MATHIEU
im using mysql. when i create the demo project, i didnt configure my database connection althought my app just have to display a Hello world application ! Should i configure the database connection even for displaying a hello world message using a simple controller .!!
lakshmanan
No you don't. If you don't need any database, you can, in your environment.rb file, uncomment the following : `config.frameworks -= [ :active_record, :active_resource, :action_mailer ]`. And you won't get that error.
Damien MATHIEU
Im still getting the same error.. i have uploaded the screen shot above,please help
lakshmanan
What's the error in the log?
DanSingerman
Well the screenshot is of no use here. Updating your question with the appropriate log entry and showing what you've been updating in your configuration would be much more helpful.
Damien MATHIEU
Ya. it is resolved. i had to comment out the config.frameworks line in environment.rb file and restart the server. Now it works ! Thanks for your help
lakshmanan
A: 

This screen shot looks like you're running in production mode; if you were in development mode, it would show the error on the page as well as in the log. Try setting the environment variable RAILS_ENV=development and restarting webrick. As dmathieu commented, you'll probably see a database error.

Also, try avoiding webrick. See this discussion.

Mark Westling
Well it depends of the error. If rails can't connect to mysql (and that was lakshmanan's proble), you'll have that error page even though you're in development mode.
Damien MATHIEU