Hi i''ve installed ruby and rails on my pc based on windows Xp, and when i attempt to run a ruby program it simply displays " ruby is not recognized as an internal or external coomand" even though i set the path to c:\ruby\bin... and some times i didn''t get this message ,, instead of this , when i run a program it display nothing it simply shows the prompt.... How to over come this problem ...can any body help me tosolve this problem.... BYE -- 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 -~----------~----~----~----~------~----~------~--~---
Vamsi Krishna wrote:> Hi > > i''ve installed ruby and rails on my pc based on windows Xp, and when i > attempt to run a ruby program it simply displays " ruby is not > recognized as an internal or external coomand" even though i set the > path to c:\ruby\bin... and some times i didn''t get this message ,, > instead of this , when i run a program it display nothing it simply > shows the prompt.... > > How to over come this problem ...can any body help me > tosolve this problem.... > > BYEwell, you can always right click on a file with the extension, .rb, and then open, and say to always open with ruby. your might have to browse to it. that is what i did. you can also do instant rails. it is a real gem. -- 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 -~----------~----~----~----~------~----~------~--~---
On Dec 2, 6:24 am, Trent Black <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Vamsi Krishna wrote: > > Hi > > > i''ve installed ruby and rails on my pc based on windows Xp, and when i > > attempt to run a ruby program it simply displays " ruby is not > > recognized as an internal or external coomand" even though i set the > > path to c:\ruby\bin... and some times i didn''t get this message ,, > > instead of this , when i run a program it display nothing it simply > > shows the prompt.... > > > How to over come this problem ...can any body help me > > tosolve this problem.... > > > BYE > > well, you can always right click on a file with the extension, .rb, > and then open, and say to always open with ruby. > your might have to browse to it. > that is what i did. > > you can also do instant rails. it is a real gem. > > -- > Posted viahttp://www.ruby-forum.com/.if setting the path and file association in windows explorer (Tools / Folder options / Filetypes) doesn''t do it, you might have to mess with ASSOC and FTYPE per this thread for python http://groups.google.com/group/comp.lang.python/browse_frm/thread/8ed6d03307df1a6a? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Vamsi Krishna wrote:> Hi > > i''ve installed ruby and rails on my pc based on windows Xp, and when i > attempt to run a ruby program it simply displays " ruby is not > recognized as an internal or external coomand" even though i set the > path to c:\ruby\bin... and some times i didn''t get this message ,, > instead of this , when i run a program it display nothing it simply > shows the prompt.... > > How to over come this problem ...can any body help me > tosolve this problem.... > > BYEWhere exactly did you install Ruby? Is it in C:\ruby\bin or C:\Program Files\ruby\bin or somewhere else? -- 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 -~----------~----~----~----~------~----~------~--~---