I have installed RoR on and XP machine running XAMPP. I followed the installation steps provided from here: http://tinyurl.com/6py2v7 and I am following a Lynda.com tutorial found here: http://movielibrary.lynda.com/html/modPage.asp?ID=324 I''m still VERY early in the tut and it says to create a controller called "Say". Did that and found it in the project folder i created (railz) railz/app/controllers/say_controller.rb I''m then told to edit the say_controller and add: def hello end so it now looks like: class SayController < ApplicationController def hello end end I''m then told to go to localhost:3000/say/hello and in doing so i get a 404 error. have I missed something? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
DizzyD wrote:> I''m then told to go to localhost:3000/say/hello and in doing so i get > a 404 error. have I missed something?Have you started the server? -- 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 -~----------~----~----~----~------~----~------~--~---
there is no server to start. Apache is running. When i visit localhost: 3000/ i get the index page. Wouldn''t that mean the server''s running? If not i''ve tried "ruby script/server" and i tries to run webrick but then i get an error, i think because of apache already running. You can see the url below: cleanproweb.com:3000/ On Aug 29, 2:32 pm, Shandy Nantz <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> DizzyD wrote: > > I''m then told to go to localhost:3000/say/hello and in doing so i get > > a 404 error. have I missed something? > > Have you started the server? > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---
ok, so i have apache running, but when i shut it down and run webrick, it works. But then my apache isn''t running so EVERYTHING else serverwise, is down. Any ideas? On Aug 29, 2:32 pm, Shandy Nantz <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> DizzyD wrote: > > I''m then told to go to localhost:3000/say/hello and in doing so i get > > a 404 error. have I missed something? > > Have you started the server? > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---
Hi, did you create a file called ''hello.html.erb'' in your <RAILS_APP_PATH>/app/views/say directory? Good luck, -Conrad On Fri, Aug 29, 2008 at 1:50 PM, DizzyD <dizzydproductions-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I have installed RoR on and XP machine running XAMPP. I followed the > installation steps provided from here: > http://tinyurl.com/6py2v7 > > and I am following a Lynda.com tutorial found here: > http://movielibrary.lynda.com/html/modPage.asp?ID=324 > > I''m still VERY early in the tut and it says to create a controller > called "Say". Did that and found it in the project folder i created > (railz) railz/app/controllers/say_controller.rb > > I''m then told to edit the say_controller and add: > def hello > end > > so it now looks like: > class SayController < ApplicationController > def hello > end > end > I''m then told to go to localhost:3000/say/hello and in doing so i get > a 404 error. have I missed something? > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Shandy Nantz wrote:> Have you started the server?I have apache running, so i can run webrick at the same time. However, with you saying so, I shutdown apache and ran webrick. In doing so my pages worked! However, with apache down, the rest of my entire server was down. Do you know of a solution for this? Perhaps making ruby run on apache? -- 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 -~----------~----~----~----~------~----~------~--~---
Conrad Taylor wrote:> Hi, did you create a file called ''hello.html.erb'' in your > <RAILS_APP_PATH>/app/views/say directory? > Good luck, > > -ConradThanks for the reply Conrad. I''m following a tutorial from lynda.com and i haven''t gotten to that point yet. The idea was to create the controller and test, and there was supposed to be a template error. And I assume the creation of the file was to come next. But I didn''t get that error, just a 404. So i''ve spent the last hour trying to figure out why, when all it was is ruby was running under apache like I thought. And I had assumed so because the default page showed and I assumed it was ruby working. But now i know. So I have to figure how to get it running under my current apache configuration. -- 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 -~----------~----~----~----~------~----~------~--~---
Hi, I have been able to run both Apache and Mongrel without any issues because Apache is listening on port 80 and Mongrel on port 3000. In any case, if you don''t need Apache up while learning Rails, then by all means shut it down because Mongrel is sufficient for local development. Good luck, -Conrad On Fri, Aug 29, 2008 at 3:09 PM, Im David <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>wrote:> > Conrad Taylor wrote: > > Hi, did you create a file called ''hello.html.erb'' in your > > <RAILS_APP_PATH>/app/views/say directory? > > Good luck, > > > > -Conrad > Thanks for the reply Conrad. I''m following a tutorial from lynda.com and > i haven''t gotten to that point yet. The idea was to create the > controller and test, and there was supposed to be a template error. And > I assume the creation of the file was to come next. But I didn''t get > that error, just a 404. So i''ve spent the last hour trying to figure out > why, when all it was is ruby was running under apache like I thought. > And I had assumed so because the default page showed and I assumed it > was ruby working. But now i know. So I have to figure how to get it > running under my current apache configuration. > -- > 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 -~----------~----~----~----~------~----~------~--~---