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

When I create rails app using version 2.3.2 It show nothing but empty
page of localhost 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

When you browse to 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

Craig D. wrote:

When you browse to 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

No, It’s not producing a page

Sthapaun Patinthu wrote:

Craig D. wrote:

When you browse to 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

No, It’s not producing a page

Anyone Help me please!

On Sun, Jul 19, 2009 at 8:44 AM, Sthapaun
Patinthu[email protected] wrote:

Anyone Help me please!

What have you done to help yourself?

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. ------------------------ [email protected]
twitter: @hassan

On Sun, Jul 19, 2009 at 10:04 AM, Sthapaun
Patinthu[email protected] 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. ------------------------ [email protected]
twitter: @hassan

Hassan S. wrote:

On Sun, Jul 19, 2009 at 8:44 AM, Sthapaun
Patinthu[email protected] 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

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. ------------------------ [email protected]
twitter: @hassan

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.

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