hi all, I''m very new to ruby on rails. and i have a problem while trying to run my first application. i''m created a rails application and controller called say conains action called hello and put some html code in app--view--say--say.rhtml and when i run 0.0.0.0:3000/say/hello i get this message "this webpage isn''t available" and also tried to remove " index.html" from the application and remove say.rhtml and put instead of it "hello.html.erb". and i''m still ave the same problem so how can i fix this problem? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Aug 16, 4:27 pm, "eman a." <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> hi all, > I''m very new to ruby on rails. and i have a problem while trying to run > my first application. > i''m created a rails application and controller called say conains action > called hello and put some html code in > app--view--say--say.rhtml > > and when i run 0.0.0.0:3000/say/hello i get this message "this webpage > isn''t available" > > and also tried to remove " index.html" from the application and remove > say.rhtml and put instead of it "hello.html.erb". > and i''m still ave the same problem > so how can i fix this problem? >0.0.0.0 isn''t the right address (when rails (or any other program for that matter) says listening on 0.0.0.0, that''s shorthand for ''any ip address that this computer has). Try 127.0.0.1:3000 Fred> -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 16 August 2011 16:27, eman a. <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> hi all, > I''m very new to ruby on rails. and i have a problem while trying to run > my first application. > i''m created a rails application and controller called say conains action > called hello and put some html code in > app--view--say--say.rhtmlIt looks like you are using an old tutorial to get you going. First check that you have Rails 3 installed (use rails -v) then find a Rails 3 tutorial. railstutorial.org is good and it is free to use online. Also have a look at the Rails Guides, starting with Getting Started unsurprisingly.> > > and when i run 0.0.0.0:3000/say/hello i get this message "this webpage > isn''t available"If you still want to try and analyse your current problem then firstly have you started the server? If yes then does anything appear in the server window. Also look in log/development.log to see if there is anything useful there (assuming you are running in development mode). It would be useful to tell us which operating system you are running on. Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
i''m using rails 2.3 on windows i''m still have the same problem -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 16 August 2011 16:34, Frederick Cheung <frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On Aug 16, 4:27 pm, "eman a." <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> hi all, >> I''m very new to ruby on rails. and i have a problem while trying to run >> my first application. >> i''m created a rails application and controller called say conains action >> called hello and put some html code in >> app--view--say--say.rhtml >> >> and when i run 0.0.0.0:3000/say/hello i get this message "this webpage >> isn''t available" >> >> and also tried to remove " index.html" from the application and remove >> say.rhtml and put instead of it "hello.html.erb". >> and i''m still ave the same problem >> so how can i fix this problem? >> > 0.0.0.0 isn''t the right address (when rails (or any other program for > that matter) says listening on 0.0.0.0, that''s shorthand for ''any ip > address that this computer has). Try 127.0.0.1:3000That was my first thought too, but having tried it with Mongrel I find that 0.0.0.0 does work. I usually use localhost:3000. Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 16 August 2011 17:02, eman eman ahmed <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> i''m using rails 2.3 on windows > i''m still have the same problemWhat problem? You have not quoted any previous message and seem to have started a new thread. You have not answered other questions about the log and server output, but I do not know whether this is in reply to my message as you have not quoted the previous message. I suggest you go back to the previous message and reply to it correctly (use Reply in your mailer). Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
hi all, I''m very new to ruby on rails. and i have a problem while trying to run my first application. i''m created a rails application and controller called say conains action called hello and put some html code in app--view--say--say.rhtml and when i run 0.0.0.0:3000/say/hello i get this message "this webpage isn''t available" and also tried to remove " index.html" from the application and remove say.rhtml and put instead of it "hello.html.erb". and i''m still ave the same problem so how can i fix this problem? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Aug 16, 2011, at 6:14 PM, eman eman ahmed wrote:> I''m very new to ruby on rails. and i have a problem while trying to run > my first application. > i''m created a rails application and controller called say conains action > called hello and put some html code in > app--view--say--say.rhtml > > > and when i run 0.0.0.0:3000/say/hello i get this message "this webpage > isn''t available" > > and also tried to remove " index.html" from the application and remove > say.rhtml and put instead of it "hello.html.erb". > and i''m still ave the same problem > so how can i fix this problem?Re-posting the same message over and over will generally not get you different answers. -- Scott Ribe scott_ribe-ZCQMRMivIIdUL8GK/JU1Wg@public.gmane.org http://www.elevated-dev.com/ (303) 722-0567 voice -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Frederick Cheung wrote in post #1016958:> On Aug 16, 4:27pm, "eman a." <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> and also tried to remove " index.html" from the application and remove >> say.rhtml and put instead of it "hello.html.erb". >> and i''m still ave the same problem >> so how can i fix this problem? >> > 0.0.0.0 isn''t the right address (when rails (or any other program for > that matter) says listening on 0.0.0.0, that''s shorthand for ''any ip > address that this computer has). Try 127.0.0.1:3000 > > FredFred!! thanks i was having this problem!!! and your answer help just want to thank u! -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.