Not sure it qualify as a bug, but the changes to jruby.bash to resolve
symbolic links did not play well on a ‘vanilla’ Solaris 10 install (not
OpenSolaris) as the basename don’t seem to be of the ‘GNU’ vintage so
$ basename – /usr/bin/jruby
$ /opt/csw/bin/gbasename – /usr/bin/jruby
Also readlink did not seam to be present at all, but opencsw does have
I can workaround the issue, but it’s just that things worked
‘out-of-the-box’ for me before. Now I have external dependencies to GNU
utils or have to keep a version of the older script around.
I just thought it might be worth some paper trail, as the first launch
did not look promising…
$ jruby --version
Exception in thread “main” java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException: org.jruby.Main
at java.security.AccessController.doPrivileged(Native Method)
Could not find the main class: org.jruby.Main. Program will exit.