Hello guys,
I have a ruby script that runs perfect from the command line using
jruby.
So I tried to compile it with jrubyc and the .class is now generated.
Then I proceed to run it with java -cp .:/pathto/jruby.jar classname and
I
receive the following error:
Exception in thread “main” search.rb:2:in `require’: no such file to
load
– rubygems (LoadError)
from search.rb:2
…internal jruby stack elided…
What am I missing?
Thanks,
Guillermo A.