I am able to run the first example.rb in the book using ruby but not jruby. When I use jruby it says jruby is not recognized command. I have a jruby installation.
Note: I created a CLASSPATH variable and set it to c:\jruby\lib\jruby.jar; and rebooted my Acer Laptop running Windows 7
but this had no effect on the problem, except when I run:
jruby example.rb it doesn’t give me an error message – just nothing and the prompt returns now.
I looked in bin and all the jruby exe files are in there.
Why would jruby not be working?