ruby and log4r/ROMP

K

kbombard

I am looking for help with the log4r/examples logserver=2Erb and logclient=
=2Erb

ROMP is located at:
http://rubystuff=2Eorg/romp/

There is no information on how to install or use it=2E Can someone help m=
e
with this=3F

When I run the logserver=2Erb I get the following:

C:\ruby\bin>ruby=2Eexe c:\ruby\logSvr=2Erb
DEBUG log4r: Added outputter 'stdout' to 'log4r'
C:/ruby/lib/ruby/gems/1=2E8/gems/log4r-1=2E0=2E5/src/log4r/configurator=2E=
rb:204:in
`new': LogServer not supported=2E ROMP is required (RuntimeError)
from
C:/ruby/lib/ruby/gems/1=2E8/gems/log4r-1=2E0=2E5/src/log4r/configurator=2E=
rb:204:in
`decode=5Flogserver'
from
C:/ruby/lib/ruby/gems/1=2E8/gems/log4r-1=2E0=2E5/src/log4r/configurator=2E=
rb:89:in
`decode=5Fxml'
from C:/ruby/lib/ruby/1=2E8/rexml/element=2Erb:934:in `each'
from C:/ruby/lib/ruby/1=2E8/rexml/xpath=2Erb:53:in `each'
from C:/ruby/lib/ruby/1=2E8/rexml/element=2Erb:934:in `each'
from
C:/ruby/lib/ruby/gems/1=2E8/gems/log4r-1=2E0=2E5/src/log4r/configurator=2E=
rb:89:in
`decode=5Fxml'
from
C:/ruby/lib/ruby/gems/1=2E8/gems/log4r-1=2E0=2E5/src/log4r/configurator=2E=
rb:82:in
`actual=5Fload'
from
C:/ruby/lib/ruby/gems/1=2E8/gems/log4r-1=2E0=2E5/src/log4r/configurator=2E=
rb:62:in
`load=5Fxml=5Fstring'
from c:/ruby/logSvr=2Erb:15
 
T

Tim Pease

I am looking for help with the log4r/examples logserver.rb and logclient.rb

ROMP is located at:
http://rubystuff.org/romp/

There is no information on how to install or use it. Can someone help me
with this?

After downloading and extracting the ROMP tarball ...
cd romp-0.2
ruby extconf.rb
make

This will compile the ROMP C extension. Now you need to install it
into your ruby directory. On my Windows/Cygwin bastard box this is
found in ...

/lib/ruby/site_ruby/1.8

The ROMP .rb files go directly into this directory, and the compiled
so goes into the

/lib/ruby/site_ruby/1.8/i386-cygwin

directory.

Please note that I have not tried this installation myself, but I hope
you get the general idea. Anyone else care to chime in on these
rudimentary directions?

Blessings,
TwP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,111
Latest member
KetoBurn
Top