Forum: Ruby on Rails New to Ruby on Rails

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.
(Guest)
on 2009-04-16 14:48
(Received via mailing list)
Hi

I have installed ruby186-26 using this link
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rail...

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
Harold (Guest)
on 2009-04-16 16:14
(Received via mailing list)
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"
Fernando Sáenz (Guest)
on 2009-04-17 01:45
(Received via mailing list)
This message sometimes appears when the gem of the adapter to the
database
is not installed.
What database do you use?
This topic is locked and can not be replied to.