How to resolve the "Something went wrong" error in the ruby ββon the rails?
I am using Ubuntu 9.04 I just installed rubies and rails on my system and the webrick server seems to have been installed without any errors.
I created a "demo" rails application and created a "say" controller. Then I created the "hello.rhtml" view template
I started the server and entered http: // localhost: 3000 / say / hello into my browser .
But this page shows the following error message:
What could have gone wrong. Please help me solve this thing, I am a complete newbie to ruby ββand rails!
source to share
This screenshot looks like you are in production mode; if you were in development mode this would display the error on the page as well as in the log. Try setting the environment variable RAILS_ENV = develop and restart webrick. As dmathieu commented, you will probably see a database error.
Also, try to avoid webrick. See this discussion .
source to share