New to Ruby on Rails


#1

Hi

I have installed ruby186-26 using this link
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1

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


#2

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


#3

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

On Apr 16, 5:16 am, “removed_email_address@domain.invalid”