Sthapaun Patinthu
2009-Jul-18 17:11 UTC
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 -- Posted via http://www.ruby-forum.com/.
Craig Demyanovich
2009-Jul-19 02:36 UTC
Re: Need Help! after upgrade rails to 2.3.2 it show empty page
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 Demyanovich Mutually Human Software http://mutuallyhuman.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Sthapaun Patinthu
2009-Jul-19 07:21 UTC
Re: Need Help! after upgrade rails to 2.3.2 it show empty p
Craig Demyanovich 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 Demyanovich > Mutually Human Software > http://mutuallyhuman.comNo, It''s not producing a page -- Posted via http://www.ruby-forum.com/.
Sthapaun Patinthu
2009-Jul-19 15:44 UTC
Re: Need Help! after upgrade rails to 2.3.2 it show empty p
Sthapaun Patinthu wrote:> Craig Demyanovich 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 Demyanovich >> Mutually Human Software >> http://mutuallyhuman.com > > No, It''s not producing a pageAnyone Help me please! -- Posted via http://www.ruby-forum.com/.
Hassan Schroeder
2009-Jul-19 16:06 UTC
Re: Need Help! after upgrade rails to 2.3.2 it show empty p
On Sun, Jul 19, 2009 at 8:44 AM, Sthapaun Patinthu<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan
Sthapaun Patinthu
2009-Jul-19 17:04 UTC
Re: Need Help! after upgrade rails to 2.3.2 it show empty p
Hassan Schroeder wrote:> On Sun, Jul 19, 2009 at 8:44 AM, Sthapaun > Patinthu<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 logsThe development.log file is empty though I had open the page, even create another controller and make it as a default index.> 2) checking routesAbout 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 errorsruby script/console Loading development environment (Rails 2.3.2)> 4) running testsI 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 Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassan-- Posted via http://www.ruby-forum.com/.
Hassan Schroeder
2009-Jul-19 17:14 UTC
Re: Need Help! after upgrade rails to 2.3.2 it show empty p
On Sun, Jul 19, 2009 at 10:04 AM, Sthapaun Patinthu<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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"?>> 2) checking routes > > About the routes.rb file. It''s looks normal to meSorry, I meant run `rake routes` and see what it gives you as the route for />> 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.`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 Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan
Damjan Rems
2009-Jul-19 20:24 UTC
Re: Need Help! after upgrade rails to 2.3.2 it show empty p
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 -- Posted via http://www.ruby-forum.com/.