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?
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
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.
The development.log file is empty though I had open the page, even
create another controller and make it as a default index.
2) 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
3) starting a console to look for errors
ruby script/console
Loading development environment (Rails 2.3.2)
4) 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.