Using net/telnet

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.

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 C. [email protected] wrote:

Pedro.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs