Your original question is:
I have downloaded the “complete” version of jruby downloadable on
What am I supposed to do with it?
It’s a jar file. You’d use it just as you would any other jar file.
$ java -jar jruby-complete.jar -S irb
=> “jruby 1.6.0.RC1 (ruby 1.8.7 patchlevel 330) (2011-01-23 517349e)
(Java HotSpot™ 64-Bit Server VM 1.6.0_22) [darwin-x86_64-java]”
or even ‘java -jar jruby-complete.jar -h’ would have given you some
I have unzipped it and began using the executables e.g. gem, bundle,
Every one of them complains about ClassNotFoundException for
Your classpath is not set correctly.
So I bundled up all of the class files in the various dirs
org/com/jline/jay/etc into a new jruby.jar and pre-pended to the .bat
files. Now some things work (e.g. gem works…) But others -such as
bundle - do not.
Clearly this is too much work, and there is a basic installation
procedure I’m missing.
Can you show me where you get the idea that this is going to work as you
expected? Obviously we need to improve the documentation so that it is
easier to figure out what to do.
Finally, if you really want to know the difference between jruby.jar
(which is a part of the Windows installer) and jruby-complete.jar, you’d
be best advised to look at build.xml from the JRuby source.