How to set the path in Ruby / Rails in Watir

I have installed Ruby1.9 version in c:/Ruby192/ drive but i have stored
all my programs in d: drive, am unable to run/ execute those programs.
please tell me how to set the path in command promt / Environment
variables.