views:

109

answers:

1

when I run rails console in netbeans6.8(Ruby on Rails) then getting following error ?

'irb.bat' is not recognized as an internal or external command, operable program or batch file.

what I need to do for this ?

A: 

If you are running windows (I assume so because of irb.bat) you might want try to add the path to your Ruby installation into the Windows PATH environment variable.

StefanS
yes I am using windows with ruby executable and I want to know how that windows path variable set ? please help me
Tushar Maru
For XP check out this link: http://vlaurie.com/computers2/Articles/environment.htm
StefanS