From: Luis Lavena Date: 2009-03-01T10:58:58+09:00 Subject: Re: Can't run ruby commands from windows command prompt On Feb 28, 1:59 pm, Brad Winborg wrote: > I have installed ruby186-27_rc2.exe on windows XP. I have installed it > as user with admin permissions, and as the administrator. I uninstalled > it program completely removing all entries from registry. removing ruby > directory and making sure that all entries are removed from environment. > I have tried this several times, Each time I install it it appears to > install correctly, it is in the environment path but I continue to get > the following error "ruby is not recognized as an internal or external > command operable program or batch file. > > Attachments:http://www.ruby-forum.com/attachment/3369/ruby_commands_don_t_work.doc > This message: "ruby is not recognized as an internal or external command operable program or batch file." Means ruby is not in your PATH. If you installed Ruby as administrator, it should have modified your PATH. For the change take effect you will need to logout and login again to be able to use the command prompt. Also, ensure that PATH contains the bin folder where ruby was installed (by default C:\Ruby\bin) So: C:\>set PATH Should display the current path. Look for Ruby\bin in it. If not, you will need to add manually from the system properties: Start -> Settings -> Control Panel. Double click on System. Go to Advanced tab, and then Environment variables option. From there append the Ruby path to the end of the PATH system variable. After it, hit Ok and logout. HTH, -- Luis Lavena