I think I almost got it. But other than see the default welcome page in the public folder I cannot see other pages that I created using scaffold. When I type the application name that I created using "rails" command, it only displays the directories under it. I am using webrick. I guess it comes with rails. I have seen people saying using mongrel. Which one is better in terms of working with apache? I am still not very clear about how it actually works. Any suggestion of any books, tutorials for beginners of those server configrations? Thanks! -- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---
Bryan Tec
2007-Feb-07 19:41 UTC
Re: cannot see webpage, only display directories (webrick)
Yan, Have you edited the default.html page in the public/ folder yet? You need to change that to something meaningful for your app. If you haven''t ran across it yet, Agile Web Development (now in second edition) is pretty much the RoR bible. I would pick it up as a first step. Bryan http://www.workchest.com On 2/7/07, Yan <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > I think I almost got it. But other than see the default welcome page in > the public folder I cannot see other pages that I created using > scaffold. > > When I type the application name that I created using "rails" command, > it only displays the directories under it. > > I am using webrick. I guess it comes with rails. > I have seen people saying using mongrel. Which one is better in terms of > working with apache? > > I am still not very clear about how it actually works. Any suggestion of > any books, tutorials for beginners of those server configrations? > > Thanks! > > -- > Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---
I do have an index.rhtml file in that folder and I haven''t change it yet. My question is even if I change it, it won''t related to my other controllers. By the way, i forgot to metion that it works fine on the local host. But when I use another computer to test it, it lists all directories instead of the scaffold pages that I created. Why that happens? Thanks. Bryan Tec wrote:> Yan, > > Have you edited the default.html page in the public/ folder yet? You > need > to change that to something meaningful for your app. > > If you haven''t ran across it yet, Agile Web Development (now in second > edition) is pretty much the RoR bible. I would pick it up as a first > step. > > Bryan > http://www.workchest.com-- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---