Odd Ruby difficulties

Hello, every time I create a Ruby controller and a view I get an error
message when trying to open it in a web browser:

We’re sorry, but something went wrong.

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

This is as descriptive as it gets I’m afraid. http://localhost:3000/
displays correctly, but nothing else. Any idea what I could be doing
wrong here? I’ve looked up a ton of Ruby resources but none of them
act as if I should be having this problem.

Thanks.

Byron wrote:

Hello, every time I create a Ruby controller and a view I get an error
message when trying to open it in a web browser:

We’re sorry, but something went wrong.

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

This is as descriptive as it gets I’m afraid. http://localhost:3000/
displays correctly, but nothing else. Any idea what I could be doing
wrong here? I’ve looked up a ton of Ruby resources but none of them
act as if I should be having this problem.

Thanks.

Looks like you are running in the Production environment.

Please run the app in the development environment and look at the logs.
The logs can be found in the logs/ directory.

Thankyou

Chaitanya

2009/7/15 Byron [email protected]:

Hello, every time I create a Ruby controller and a view I get an error
message when trying to open it in a web browser:

We’re sorry, but something went wrong.

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

That text comes from the default 500.html file in your application
public directory. I think very many beginners have been confused by
this (including me). It would be much more sensible IMHO if the
default 500.html file said that it was, in fact, the default 500.html
file.

Have a look at the log file in the applications log folder for clues
as to why the 500 error is being encountered.

Colin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs