New to Ruby on Rails

Hi

I have installed ruby186-26 using this link

While i am trying to use this http://127.0.0.1:3000/garbage/

It says

We're sorry, but something went wrong.

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

in the browser. What is the problem?

Saravanan

The page you're getting is just a default error page for production environments. How are you starting the server? ruby script\server? Try adding RAILS_ENV=development to that command:

ruby script\server RAILS_ENV=development

In the development environment, the page shown when an error occurs should be more informative for the developer, showing some debugging information and stack trace.

Regardless of environment, try looking at your logs which should show some information that point you on the right direction. In this case, I suspect you'll see something around the route "/garbage" not being defined or found, but your logs should tell you exactly what's going on.

Hope that helps, -Harold

This message sometimes appears when the gem of the adapter to the database is not installed. What database do you use?