I am sure that this is quite a stupid question, but I have little to no experience with the command line. I am running Windows XP Pro and attempting to install RoR. I am at the step where RubyGems is to be installed. Everything I read says just run setup.rb at the command line. I do that and all that happens is that the file setup.rb opens up in my code editor. I am guessing that is not what is supposed to happen. What obvious step am I missing here? My hope is to eventually run this on my WAMP server, but I need to get this first. Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
It sounds like Windows is seeing the .rb file extension and assuming you want to open it with a program associated through the registry. 1. Can you open a command line and run ruby commands? Does `ruby -e "puts Hello World!"` print "Hello World" to STDOUT? If this isn''t working make sure your path environment variable is set to the location of ruby. 2. Once you know you can run ruby from the command line, running `ruby setup.rb` in the directory where it exists. Good luck, Jake On Jan 11, 11:30 pm, "Bilson" <baldwinda...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am sure that this is quite a stupid question, but I have little to no > experience with the command line. I am running Windows XP Pro and > attempting to install RoR. I am at the step where RubyGems is to be > installed. Everything I read says just run setup.rb at the command > line. I do that and all that happens is that the file setup.rb opens > up in my code editor. I am guessing that is not what is supposed to > happen. What obvious step am I missing here? > > My hope is to eventually run this on my WAMP server, but I need to get > this first. > > Thanks in advance.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks Jake. Yep, that was the problem. Seems to be working just fine now and even with WAMP. I''m just starting out but hoping for a fairly easy transition from PHP. On Jan 13, 3:06 am, "jrcahoon" <jrcah...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> It sounds like Windows is seeing the .rb file extension and assuming > you want to open it with a program associated through the registry. > > 1. Can you open a command line and runrubycommands? Does `ruby-e > "puts Hello World!"` print "Hello World" to STDOUT? If this isn''t > working make sure your path environment variable is set to the location > ofruby. > > 2. Once you know you can runrubyfrom the command line, running `ruby > setup.rb` in the directory where it exists. > > Good luck, > > Jake > > On Jan 11, 11:30 pm, "Bilson" <baldwinda...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I am sure that this is quite a stupid question, but I have little to no > > experience with the command line. I am running Windows XP Pro and > > attempting to install RoR. I am at the step where RubyGems is to be > > installed. Everything I read says just run setup.rb at the command > > line. I do that and all that happens is that the file setup.rb opens > > up in my code editor. I am guessing that is not what is supposed to > > happen. What obvious step am I missing here? > > > My hope is to eventually run this on my WAMP server, but I need to get > > this first. > > > Thanks in advance.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---