Ruby installation winders PATH issue

R

Ray Herbig

Hello I've installed ruby from the one click installer on a windows xp
home ed laptop. Everything works ok if I call ruby directly
c:\ruby\bin\ruby. However ruby is not making it to my path. This is
probably more of a windows problem, but perhaps someone can help. Here's
a capture of what I have...

C:\>ruby\bin\ruby -v
ruby 1.8.5 (2006-08-25) [i386-mswin32]
C:\>ruby
'ruby' is not recognized as an internal or external command,
operable program or batch file.
C:\>path
PATH=
C:\ruby\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ruby;C:\ruby\lib;C:\ruby\freeride;


Thanks for your assistance.
Ray
 
D

Daniel Berger

Ray said:
Hello I've installed ruby from the one click installer on a windows xp
home ed laptop. Everything works ok if I call ruby directly
c:\ruby\bin\ruby. However ruby is not making it to my path. This is
probably more of a windows problem, but perhaps someone can help. Here's
a capture of what I have...

C:\>ruby\bin\ruby -v
ruby 1.8.5 (2006-08-25) [i386-mswin32]
C:\>ruby
'ruby' is not recognized as an internal or external command,
operable program or batch file.
C:\>path
PATH=
C:\ruby\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ruby;C:\ruby\lib;C:\ruby\freeride;


Thanks for your assistance.
Ray

By any chance are you using a command shell that was open before you
installed Ruby? You'll need to open a new one for the shell to pick up
the path changes.

Otherwise, I dunno what to tell you.

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top