# Need Help! after upgrade rails to 2.3.2 it show empty page

**URL:** <https://www.ruby-forum.com/t/need-help-after-upgrade-rails-to-2-3-2-it-show-empty-page/172294>\
**Category:** Rails\
**Created:** [July 18, 2009, 7:11pm UTC](https://www.ruby-forum.com/t/need-help-after-upgrade-rails-to-2-3-2-it-show-empty-page/172294 "2009-07-18T19:11:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sthapaun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@sthapaun](https://www.ruby-forum.com/u/sthapaun)\
**Post date:** [July 18, 2009, 7:11pm UTC](https://www.ruby-forum.com/t/need-help-after-upgrade-rails-to-2-3-2-it-show-empty-page/172294/1 "2009-07-18T19:11:59Z")

</div>

When I create rails app using version 2.3.2 It show nothing but empty  
page of localhost [http://localhost:3000/](http://localhost:3000/)

I notice that rails 2.3.2 doesn’t create .htaccess, dispatch.cgi, and  
dispatch.rb but when I’d copy all the missing file to the public folder  
it still doesn’t work

Then I use rails version 2.0.2 to create new app, everything work fine  
but I need to know how to use rails 2.3.2

Any suggestion would be appreciate. I need to use this new version.

Thank in advance.

more info about environment if it necessary

Ruby version 1.8.6 (universal-darwin9.0)  
RubyGems version 1.3.2

---

<div class="post-metadata">

**Author:** ![sthapaun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@sthapaun](https://www.ruby-forum.com/u/sthapaun)\
**Post date:** [July 19, 2009, 4:37am UTC](https://www.ruby-forum.com/t/need-help-after-upgrade-rails-to-2-3-2-it-show-empty-page/172294/2 "2009-07-19T04:37:07Z")

</div>

When you browse to [http://localhost:3000](http://localhost:3000) , public/index.html will be  
rendered. What does your public/index.html look like? Is it producing a  
page  
with no visible content?  
Regards,  
Craig

–  
Craig D.  
Mutually Human Software

> **[Homepage | Mutually Human](https://www.mutuallyhuman.com/)**
>
> Technology Made for Humans by humans Data Analytics Data Analytics Data has become a critical part of business for most organizations. We work with you to ensure you have confidence in your data, can properly access it, and present it in a way that...

---

<div class="post-metadata">

**Author:** ![sthapaun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@sthapaun](https://www.ruby-forum.com/u/sthapaun)\
**Post date:** [July 19, 2009, 9:21am UTC](https://www.ruby-forum.com/t/need-help-after-upgrade-rails-to-2-3-2-it-show-empty-page/172294/3 "2009-07-19T09:21:53Z")

</div>

Craig D. wrote:

> When you browse to [http://localhost:3000](http://localhost:3000) , public/index.html will be  
> rendered. What does your public/index.html look like? Is it producing a  
> page  
> with no visible content?  
> Regards,  
> Craig
> 
> –  
> Craig D.  
> Mutually Human Software  
> [http://mutuallyhuman.com](http://mutuallyhuman.com)

No, It’s not producing a page

---

<div class="post-metadata">

**Author:** ![sthapaun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@sthapaun](https://www.ruby-forum.com/u/sthapaun)\
**Post date:** [July 19, 2009, 5:44pm UTC](https://www.ruby-forum.com/t/need-help-after-upgrade-rails-to-2-3-2-it-show-empty-page/172294/4 "2009-07-19T17:44:55Z")

</div>

Sthapaun Patinthu wrote:

> Craig D. wrote:
> 
> > When you browse to [http://localhost:3000](http://localhost:3000) , public/index.html will be  
> > rendered. What does your public/index.html look like? Is it producing a  
> > page  
> > with no visible content?  
> > Regards,  
> > Craig
> > 
> > –  
> > Craig D.  
> > Mutually Human Software  
> > [http://mutuallyhuman.com](http://mutuallyhuman.com)
> 
> No, It’s not producing a page

Anyone Help me please!

---

<div class="post-metadata">

**Author:** ![sthapaun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@sthapaun](https://www.ruby-forum.com/u/sthapaun)\
**Post date:** [July 19, 2009, 6:07pm UTC](https://www.ruby-forum.com/t/need-help-after-upgrade-rails-to-2-3-2-it-show-empty-page/172294/5 "2009-07-19T18:07:26Z")

</div>

On Sun, Jul 19, 2009 at 8:44 AM, Sthapaun  
Patinthu[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Anyone Help me please!

What have you done to help yourself?

[http://catb.org/~esr/faqs/smart-questions.html](http://catb.org/~esr/faqs/smart-questions.html)

Your posts don’t mention anything about:

1. checking logs
2. checking routes
3. starting a console to look for errors
4. running tests

–  
Hassan S. ------------------------ removed\_email\_address@domain.invalid  
twitter: @hassan

---

<div class="post-metadata">

**Author:** ![sthapaun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@sthapaun](https://www.ruby-forum.com/u/sthapaun)\
**Post date:** [July 19, 2009, 7:15pm UTC](https://www.ruby-forum.com/t/need-help-after-upgrade-rails-to-2-3-2-it-show-empty-page/172294/6 "2009-07-19T19:15:12Z")

</div>

On Sun, Jul 19, 2009 at 10:04 AM, Sthapaun  
Patinthu[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > 1. checking logs
> 
> The development.log file is empty though I had open the page, even  
> create another controller and make it as a default index.

Did you have this problem before you “created another controller”?

> > 1. checking routes
> 
> About the routes.rb file. It’s looks normal to me

Sorry, I meant run `rake routes` and see what it gives you as the  
route for /

> > 1. running tests  
> > I don’t know how to do with it.  
> > I’d never use test but sure I’m going to learn how to use it.

`rake test:units` for starters

Also, it would be good to use something like the Firebug plugin for  
Firefox to make sure that your perceived “empty” page really is an  
empty response.

–  
Hassan S. ------------------------ removed\_email\_address@domain.invalid  
twitter: @hassan

---

<div class="post-metadata">

**Author:** ![sthapaun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@sthapaun](https://www.ruby-forum.com/u/sthapaun)\
**Post date:** [July 19, 2009, 7:04pm UTC](https://www.ruby-forum.com/t/need-help-after-upgrade-rails-to-2-3-2-it-show-empty-page/172294/7 "2009-07-19T19:04:50Z")

</div>

Hassan S. wrote:

> On Sun, Jul 19, 2009 at 8:44 AM, Sthapaun  
> Patinthu[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Anyone Help me please!
> 
> What have you done to help yourself?

I’m a self learning web programmer  
I search on the internet to find that does anyone confront with this  
problem, but still not found it  
Then I use older version of rails which I use to and found that it  
show welcome page normally.

> [http://catb.org/~esr/faqs/smart-questions.html](http://catb.org/~esr/faqs/smart-questions.html)

Thank! for the link, now I bookmark it already.

> Your posts don’t mention anything about:  
> Thank again for suggest what I should do.

> 1. checking logs

The development.log file is empty though I had open the page, even  
create another controller and make it as a default index.

> 1. checking routes

About the routes.rb file. It’s looks normal to me

ActionController::Routing::Routes.draw do |map|

# a lot of comment

# only these two lines uncoment

map.connect ‘:controller/:action/:id’  
map.connect ‘:controller/:action/:id.:format’  
end

> 1. starting a console to look for errors

ruby script/console  
Loading development environment (Rails 2.3.2)

> 1. running tests  
> I don’t know how to do with it.  
> I’d never use test but sure I’m going to learn how to use it.

> –  
> Hassan S. ------------------------ removed\_email\_address@domain.invalid  
> twitter: @hassan

---

<div class="post-metadata">

**Author:** ![sthapaun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@sthapaun](https://www.ruby-forum.com/u/sthapaun)\
**Post date:** [July 20, 2009, 10:08am UTC](https://www.ruby-forum.com/t/need-help-after-upgrade-rails-to-2-3-2-it-show-empty-page/172294/8 "2009-07-20T10:08:05Z")

</div>

Maybe you have a bluehost hosting space?

I founded the same problem and the only solution, that works 4 me, is  
to freeze the application to the version 2.2.2.

---

<div class="post-metadata">

**Author:** ![sthapaun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e95f7d/32.png) [@sthapaun](https://www.ruby-forum.com/u/sthapaun)\
**Post date:** [July 19, 2009, 10:24pm UTC](https://www.ruby-forum.com/t/need-help-after-upgrade-rails-to-2-3-2-it-show-empty-page/172294/9 "2009-07-19T22:24:06Z")

</div>

I found this when creating new 2.3.2 application in routes.rb.

# You can have the root of your site routed with map.root – just

remember to delete public/index.html.

# map.root :controller =\> “welcome”

by  
TheR
