# Ruby

**URL:** https://www.ruby-forum.com/c/ruby/7.md?page=1817

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 1818

---

## [Ruby eventlog monitor for windows](https://www.ruby-forum.com/t/ruby-eventlog-monitor-for-windows/94198)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 0\
**Last updated:** [April 25, 2006, 11:37am UTC](https://www.ruby-forum.com/t/ruby-eventlog-monitor-for-windows/94198 "2006-04-25T11:37:13Z")

</div>

Hi Win32 team, I am looking for a ruby way/library to monitor windows event log. Something like an event viewer yet very powerful, require “win32/EventlogMonitor” e = EventlogMonitor.monitor(“localhost”) e.add\_monit…

---

## [Problem with Ruby scoping rules?](https://www.ruby-forum.com/t/problem-with-ruby-scoping-rules/58727)

<div class="topic-metadata">

**Author:** [@Ed\_Syrett](https://www.ruby-forum.com/u/Ed_Syrett)\
**Replies:** 0\
**Last updated:** [April 25, 2006, 11:12am UTC](https://www.ruby-forum.com/t/problem-with-ruby-scoping-rules/58727 "2006-04-25T11:12:28Z")

</div>

I’ve been using Log4r with a Rails app for some time, and it was working fine under Webrick. Adding Log4r was easy - simply add in the following code to environment.rb: See Rails::Configuration for more options begin …

---

## [DigestR 0.0.2](https://www.ruby-forum.com/t/digestr-0-0-2/94197)

<div class="topic-metadata">

**Author:** [@ross\_b](https://www.ruby-forum.com/u/ross_b)\
**Replies:** 0\
**Last updated:** [April 25, 2006, 10:38am UTC](https://www.ruby-forum.com/t/digestr-0-0-2/94197 "2006-04-25T10:38:42Z")

</div>

Quick announcement for the first version of DigestR, a ruby version of the Jakarta Commons Digester \[1\]. DigestR is a fast rules-based XML processor, based upon the libxml-ruby Libxml2 binding. Itâ??s SAX-based rules …

---

## [Architecture advice for my grand ambition](https://www.ruby-forum.com/t/architecture-advice-for-my-grand-ambition/58717)

<div class="topic-metadata">

**Author:** [@russ](https://www.ruby-forum.com/u/russ)\
**Replies:** 0\
**Last updated:** [April 25, 2006, 8:19am UTC](https://www.ruby-forum.com/t/architecture-advice-for-my-grand-ambition/58717 "2006-04-25T08:19:32Z")

</div>

. . . o.k., well maybe it’s not that ambitious. The plan is to merge the rapid GUI-building speed of Runtime’s Revolution with Ruby, or at the very least Active Record as an intermediary layer for calls to the db for…

---

## [Hash#getopt](https://www.ruby-forum.com/t/hash-getopt/94195)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [April 25, 2006, 6:13am UTC](https://www.ruby-forum.com/t/hash-getopt/94195 "2006-04-25T06:13:29Z")

</div>

at this point calls of the form some\_method arg, “key” =\> “value” or some\_method arg, :key=\>:value are idiomatic ruby. let’s just support it directly and be done with it: harp:~ \> cat a.rb class ::Hash def get…

---

## [Format of RUBYOPT](https://www.ruby-forum.com/t/format-of-rubyopt/58706)

<div class="topic-metadata">

**Author:** [@lazukars](https://www.ruby-forum.com/u/lazukars)\
**Replies:** 9\
**Last updated:** [April 25, 2006, 5:33am UTC](https://www.ruby-forum.com/t/format-of-rubyopt/58706 "2006-04-25T05:33:44Z")

</div>

Hello all, I’m working on fixing the remaining installer problems in the One-Click Installer so we can finally release it, and one of those involves the manipulation of the RUBYOPT environment variable. On that note,…

---

## [Getting "gcc: \`-b' must come at the start of the command lin](https://www.ruby-forum.com/t/getting-gcc-b-must-come-at-the-start-of-the-command-lin/94186)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [April 25, 2006, 5:27am UTC](https://www.ruby-forum.com/t/getting-gcc-b-must-come-at-the-start-of-the-command-lin/94186 "2006-04-25T05:27:28Z")

</div>

I get error during make of version 1.8.4. while trying to install in the following environment: gcc main.o libruby-static.a -ldl -lcrypt -lm -o miniruby -g -O2 -DRUBY\_EXPORT -brtl gcc: \`-b’ must come at the start…

---

## [How to install and test eruby on tiger](https://www.ruby-forum.com/t/how-to-install-and-test-eruby-on-tiger/58708)

<div class="topic-metadata">

**Author:** [@Anne\_G](https://www.ruby-forum.com/u/Anne_G)\
**Replies:** 0\
**Last updated:** [April 25, 2006, 3:33am UTC](https://www.ruby-forum.com/t/how-to-install-and-test-eruby-on-tiger/58708 "2006-04-25T03:33:37Z")

</div>

I followed the english instructions of http://mujblog.info/gransy17/software/apache--eruby since it seemed recent. I do have an eruby in /usr/bin, which I did not have before I changed /private/etc/httpd.conf adding…

---

## [Re: ot: spam (was RE: Text Munger (#76))](https://www.ruby-forum.com/t/re-ot-spam-was-re-text-munger-76/58704)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 0\
**Last updated:** [April 25, 2006, 2:47am UTC](https://www.ruby-forum.com/t/re-ot-spam-was-re-text-munger-76/58704 "2006-04-25T02:47:56Z")

</div>

James B. \[mailto:removed\_email\_address@domain.invalid\] : \> “A witty saying proves nothing.” - Voltaire Well, Voltaire certainly understood irony. Voltaire was full of it :slight\_smile:

---

## [Canada on Rails MP3s?](https://www.ruby-forum.com/t/canada-on-rails-mp3s/58195)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 4\
**Last updated:** [April 25, 2006, 2:20am UTC](https://www.ruby-forum.com/t/canada-on-rails-mp3s/58195 "2006-04-25T02:20:30Z")

</div>

Does anyone have audio files of the Canada on Rails presentations? It’d be something else to make the commute more interesting… Thanks, Tom

---

## [\[solution\]](https://www.ruby-forum.com/t/solution/94191)

<div class="topic-metadata">

**Author:** [@tma](https://www.ruby-forum.com/u/tma)\
**Replies:** 1\
**Last updated:** [April 25, 2006, 1:07am UTC](https://www.ruby-forum.com/t/solution/94191 "2006-04-25T01:07:16Z")

</div>

I’m a fairly lousy scripter at best, but finally saw a Ruby Q. I could manage. That said, this probably wins the prize for “slowest, most convoluted way of doing it”… but it’s how I think, I’m afraid… Usage: it exten…

---

## [Squeak-like Ruby env](https://www.ruby-forum.com/t/squeak-like-ruby-env/58650)

<div class="topic-metadata">

**Author:** [@capnregex](https://www.ruby-forum.com/u/capnregex)\
**Replies:** 22\
**Last updated:** [April 24, 2006, 11:40pm UTC](https://www.ruby-forum.com/t/squeak-like-ruby-env/58650 "2006-04-24T23:40:49Z")

</div>

Hi, If you read http://codespeak.net/pipermail/pypy-dev/2006q2/003036.html right after reading about and checking out http://www.mike-austin.com/inertia/ do you also think about an effort to use the latter to create …

---

## [Patch for ri to show subclasses](https://www.ruby-forum.com/t/patch-for-ri-to-show-subclasses/58698)

<div class="topic-metadata">

**Author:** [@fink](https://www.ruby-forum.com/u/fink)\
**Replies:** 1\
**Last updated:** [April 24, 2006, 11:31pm UTC](https://www.ruby-forum.com/t/patch-for-ri-to-show-subclasses/58698 "2006-04-24T23:31:30Z")

</div>

Hello, I’ve written a patch for ri to also show subclasses at the class documentation. The output with the patch looks like this: ~\> ri -T Momomoto -------------------------------------------------------- Class: Mom…

---

## [\[SOLUTION\] #79 - Text Munger](https://www.ruby-forum.com/t/solution-79-text-munger/58697)

<div class="topic-metadata">

**Author:** [@Al\_Gordon](https://www.ruby-forum.com/u/Al_Gordon)\
**Replies:** 0\
**Last updated:** [April 24, 2006, 10:35pm UTC](https://www.ruby-forum.com/t/solution-79-text-munger/58697 "2006-04-24T22:35:43Z")

</div>

Here’s my solution. Finally, something that even a newb like me can write a solution for (albeit, maybe not a great one). My solution feels very perl-ish to me, but, hey, it seems to work with the limited testing I’…

---

## [Libxml-Ruby 0.3.8](https://www.ruby-forum.com/t/libxml-ruby-0-3-8/58695)

<div class="topic-metadata">

**Author:** [@ross\_b](https://www.ruby-forum.com/u/ross_b)\
**Replies:** 0\
**Last updated:** [April 24, 2006, 10:29pm UTC](https://www.ruby-forum.com/t/libxml-ruby-0-3-8/58695 "2006-04-24T22:29:39Z")

</div>

After two month’s work, Libxml-Ruby 0.3.8 is now available from Rubyforge. Libxml-Ruby provides a Ruby binding for the GNOME LibXML2 library, supporting high-speed, high-capability XML handling in Ruby. This release i…

---

## [Parsing files and writing about them . .](https://www.ruby-forum.com/t/parsing-files-and-writing-about-them/58682)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 1\
**Last updated:** [April 24, 2006, 10:17pm UTC](https://www.ruby-forum.com/t/parsing-files-and-writing-about-them/58682 "2006-04-24T22:17:21Z")

</div>

A number of you all helped me to get to the point of actually being able to write a RUBY script, period. Now, I’m trying to concatenate all that I’ve learned and put it into an iterative script. Here it is. It doesn’t …

---

## [Commandline help for frustrated newb?](https://www.ruby-forum.com/t/commandline-help-for-frustrated-newb/58616)

<div class="topic-metadata">

**Author:** [@pbpbpb](https://www.ruby-forum.com/u/pbpbpb)\
**Replies:** 5\
**Last updated:** [April 24, 2006, 9:06pm UTC](https://www.ruby-forum.com/t/commandline-help-for-frustrated-newb/58616 "2006-04-24T21:06:06Z")

</div>

ye gods, I’m trying to learn my 1st OO lang and chose ruby. I’ve already got a couple of simple batch processing programs written and functioning but CommandLine is kicking my butt. As I read the docs ‘program -a -b…

---

## [A flaw in tuplespace implementation?](https://www.ruby-forum.com/t/a-flaw-in-tuplespace-implementation/58081)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 3\
**Last updated:** [April 24, 2006, 8:44pm UTC](https://www.ruby-forum.com/t/a-flaw-in-tuplespace-implementation/58081 "2006-04-24T20:44:19Z")

</div>

it seems tuplespace’s read operation is not considered important somehow. consider this: class HelloWorld include DRbUndumped attr\_writer :str def initialize(str) @str = str end def \_dump#(\*args, &block) Marshal.dum…

---

## [Resolv.rb and IPv6 nameservers](https://www.ruby-forum.com/t/resolv-rb-and-ipv6-nameservers/58601)

<div class="topic-metadata">

**Author:** [@pure](https://www.ruby-forum.com/u/pure)\
**Replies:** 1\
**Last updated:** [April 24, 2006, 8:28pm UTC](https://www.ruby-forum.com/t/resolv-rb-and-ipv6-nameservers/58601 "2006-04-24T20:28:34Z")

</div>

Hello folks, UDPSocket requires address family given on initialization, so it’s not possible to create an UDPSocket and then decide, to which hosts to send packets to. That’s a problem for Ruby’s resolver if you’ve g…

---

## [Text Munger (#76)](https://www.ruby-forum.com/t/text-munger-76/58418)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 73\
**Last updated:** [April 24, 2006, 8:01pm UTC](https://www.ruby-forum.com/t/text-munger-76/58418 "2006-04-24T20:01:06Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

---

## [How to make an array from a date range?](https://www.ruby-forum.com/t/how-to-make-an-array-from-a-date-range/94159)

<div class="topic-metadata">

**Author:** [@marstoni](https://www.ruby-forum.com/u/marstoni)\
**Replies:** 12\
**Last updated:** [April 24, 2006, 7:51pm UTC](https://www.ruby-forum.com/t/how-to-make-an-array-from-a-date-range/94159 "2006-04-24T19:51:16Z")

</div>

What is the easiest way in Ruby to make an array our of a date range? Something like this: @date1 = “2006-04-01” @date2 = “2006-04-23” array = \[@date1…@date2\] Something like that would be an easy solution as @date1 …

---

## [Tattoo](https://www.ruby-forum.com/t/tattoo/93969)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 14\
**Last updated:** [April 24, 2006, 7:45pm UTC](https://www.ruby-forum.com/t/tattoo/93969 "2006-04-24T19:45:13Z")

</div>

I want to get a tattoo of ruby code, but i just cant seem to find code that is all impressive. Any suggestions? Becker

---

## [Web Services/Invoke Inconsistencies](https://www.ruby-forum.com/t/web-services-invoke-inconsistencies/58678)

<div class="topic-metadata">

**Author:** [@Joshua\_Levinson](https://www.ruby-forum.com/u/Joshua_Levinson)\
**Replies:** 1\
**Last updated:** [April 24, 2006, 7:45pm UTC](https://www.ruby-forum.com/t/web-services-invoke-inconsistencies/58678 "2006-04-24T19:45:06Z")

</div>

Hey all, Got a bit of a long one here, so bear with me while I try to hash out the details… better to give too much than not enough. So we’re using the ActionWebService in order to communicate with a 3rd-party softwa…

---

## [Future of parenthesis?](https://www.ruby-forum.com/t/future-of-parenthesis/58619)

<div class="topic-metadata">

**Author:** [@robby247365](https://www.ruby-forum.com/u/robby247365)\
**Replies:** 6\
**Last updated:** [April 24, 2006, 7:23pm UTC](https://www.ruby-forum.com/t/future-of-parenthesis/58619 "2006-04-24T19:23:21Z")

</div>

Hey all! I’ve been seeing people mention the following warnings. warning: parenthesize argument(s) for future version For example… some people are blogging and nobody seems to know. :slight\_smile: Can someone giv…

---

## [Ruby scripting support for Emacs](https://www.ruby-forum.com/t/ruby-scripting-support-for-emacs/58634)

<div class="topic-metadata">

**Author:** [@alder](https://www.ruby-forum.com/u/alder)\
**Replies:** 3\
**Last updated:** [April 24, 2006, 6:55pm UTC](https://www.ruby-forum.com/t/ruby-scripting-support-for-emacs/58634 "2006-04-24T18:55:14Z")

</div>

Hi Is there a way to use Ruby as a scripting language for Emacs? (There’s a way to use Python for that \[1\], but I haven’t managed to find the equivalent for Ruby) -Alder \[1\] Pymacs: http://pymacs.progiciels-bpi.ca/

---

## [How do threads and join work?](https://www.ruby-forum.com/t/how-do-threads-and-join-work/58569)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 15\
**Last updated:** [April 24, 2006, 6:21pm UTC](https://www.ruby-forum.com/t/how-do-threads-and-join-work/58569 "2006-04-24T18:21:02Z")

</div>

I’m reading the pickaxe and it says on p137 “When a Ruby program terminates, all threads are killed, regardless of their states. However, you can wait for a particular thread to finish by calling that thread’s Thread#…

---

## [ParseExcel 0.5.0 released](https://www.ruby-forum.com/t/parseexcel-0-5-0-released/58671)

<div class="topic-metadata">

**Author:** [@spreadsheet](https://www.ruby-forum.com/u/spreadsheet)\
**Replies:** 0\
**Last updated:** [April 24, 2006, 6:08pm UTC](https://www.ruby-forum.com/t/parseexcel-0-5-0-released/58671 "2006-04-24T18:08:31Z")

</div>

Hello everyone ParseExcel now handles Cell-Annotations. Thanks to Dave Surmon for the feature request and Testfile! http://raa.ruby-lang.org/project/parseexcel/ http://scm.ywesee.com/?p=parseexcel http://download.yw…

---

## [How to integrate ruby tk/gtk event loop with another kind ev](https://www.ruby-forum.com/t/how-to-integrate-ruby-tk-gtk-event-loop-with-another-kind-ev/58631)

<div class="topic-metadata">

**Author:** [@Talha\_O](https://www.ruby-forum.com/u/Talha_O)\
**Replies:** 6\
**Last updated:** [April 24, 2006, 5:49pm UTC](https://www.ruby-forum.com/t/how-to-integrate-ruby-tk-gtk-event-loop-with-another-kind-ev/58631 "2006-04-24T17:49:50Z")

</div>

Hello, I needed to write a test/monitoring program for an application that is written in C++ which sends and receives messages on sockets. Normally I would write such a test application in most likely C++, java becaus…

---

## [Re: MS Word files and PDFs](https://www.ruby-forum.com/t/re-ms-word-files-and-pdfs/94182)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 0\
**Last updated:** [April 24, 2006, 5:40pm UTC](https://www.ruby-forum.com/t/re-ms-word-files-and-pdfs/94182 "2006-04-24T17:40:22Z")

</div>

Sorry, I forgot to include the link!

---

## [Re: MS Word files and PDFs](https://www.ruby-forum.com/t/re-ms-word-files-and-pdfs/58665)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 0\
**Last updated:** [April 24, 2006, 5:37pm UTC](https://www.ruby-forum.com/t/re-ms-word-files-and-pdfs/58665 "2006-04-24T17:37:20Z")

</div>

I know of a commercial library (about $100) that can read (as well as create) PDF files. It comes in both standard Windows DLL and ActiveX DLL versions, usable with Ruby Win32API and Win32OLE, respectively. Jamal

[Previous page](https://www.ruby-forum.com/c/ruby/7.md?page=1816)

[Next page](https://www.ruby-forum.com/c/ruby/7.md?page=1818)
