1
votes

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 ?

1
Do script/console and IRB both load up when you try to run them from the OS command line?stephenmurdoch
Are you using JRuby or a native ruby executable?srboisvert
I am using ruby executable not jruby.Tushar Maru

1 Answers

0
votes

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.