Ruby Forum JRuby > Using net/telnet

Posted by Pedro Costa (Guest)
on 16.05.2008 11:54
(Received via mailing list)
Hi All,

I'm new to jruby, I'm trying to call a ruby script from java but it 
fails on
a "require 'net/telnet'".

It can't find 'net/telnet'. Is this not included in jruby? How can 
include
it?

Thanks!

Pedro.
Posted by Paweł Wielgus (Guest)
on 16.05.2008 11:58
(Received via mailing list)
Hi Pedro,

http://wiki.jruby.org/wiki/FAQs#How_do_I_run_JRuby_without_the_command-line_scripts.3F

i'm using jruby inside java web apps and i've also added my jruby home
directory to tomcat classpath to make it work.

hope that helps.

Best greetings,
Pawel Wielgus.

On 16/05/2008, Pedro Costa <pedrof.costa@gmail.com> wrote:
> Pedro.
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email