# odd Ruby difficulties

**URL:** <https://discuss.rubyonrails.org/t/odd-ruby-difficulties/44274>\
**Category:** rubyonrails-talk\
**Created:** [July 15, 2009, 2:53pm UTC](https://discuss.rubyonrails.org/t/odd-ruby-difficulties/44274 "2009-07-15T14:53:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Byron](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Byron](https://discuss.rubyonrails.org/u/Byron)\
**Post date:** [July 15, 2009, 2:53pm UTC](https://discuss.rubyonrails.org/t/odd-ruby-difficulties/44274/1 "2009-07-15T14:53:22Z")

</div>

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/](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.

---

<div class="post-metadata">

**Author:** ![Colin\_Law1](https://avatars.discourse-cdn.com/v4/letter/c/91b2a8/32.png) [@Colin\_Law1](https://discuss.rubyonrails.org/u/Colin_Law1)\
**Post date:** [July 15, 2009, 9:38pm UTC](https://discuss.rubyonrails.org/t/odd-ruby-difficulties/44274/2 "2009-07-15T21:38:11Z")

</div>

> 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
