# Ruby

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

[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:** 1794

---

## [User Account Setup - Multiple OS's](https://www.ruby-forum.com/t/user-account-setup-multiple-oss/61119)

<div class="topic-metadata">

**Author:** [@Paul\_DSKraus](https://www.ruby-forum.com/u/Paul_DSKraus)\
**Replies:** 8\
**Last updated:** [May 23, 2006, 3:09pm UTC](https://www.ruby-forum.com/t/user-account-setup-multiple-oss/61119 "2006-05-23T15:09:18Z")

</div>

I am learning ruby and have a background in perl. As my first project and to help me get my head around ruby I want to create a useradmin script that will let me do the following. Remotely create a domain user on a …

---

## [Does TMail support nested multipart messages?](https://www.ruby-forum.com/t/does-tmail-support-nested-multipart-messages/61358)

<div class="topic-metadata">

**Author:** [@Mariano\_K](https://www.ruby-forum.com/u/Mariano_K)\
**Replies:** 0\
**Last updated:** [May 23, 2006, 2:21pm UTC](https://www.ruby-forum.com/t/does-tmail-support-nested-multipart-messages/61358 "2006-05-23T14:21:27Z")

</div>

Hi, does anybody know if TMail supports multipart messages? I am using TMail at the moment, but it doesn’t seem to work for me. Maybe I am doing something wrong here? I attached the sample and below is the code. The…

---

## [Problem with reqular expression](https://www.ruby-forum.com/t/problem-with-reqular-expression/61349)

<div class="topic-metadata">

**Author:** [@ilyas](https://www.ruby-forum.com/u/ilyas)\
**Replies:** 4\
**Last updated:** [May 23, 2006, 2:20pm UTC](https://www.ruby-forum.com/t/problem-with-reqular-expression/61349 "2006-05-23T14:20:00Z")

</div>

I have this string: Color1 R=144 G=248 B=255 Need regular expression for get R,G,B How I can simplify it: lines.gsub!(/Color1 R=(\\d+) G=(\\d+) B=(\\d+)/) { puts $1 puts $2 puts $3 }

---

## [Win32 eventlog change\_notify and tail's not tailing in orde](https://www.ruby-forum.com/t/win32-eventlog-change-notify-and-tails-not-tailing-in-orde/61340)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 1\
**Last updated:** [May 23, 2006, 1:56pm UTC](https://www.ruby-forum.com/t/win32-eventlog-change-notify-and-tails-not-tailing-in-orde/61340 "2006-05-23T13:56:43Z")

</div>

Hi Daniel and win32 team, I noticed that if i run change\_notify or tail for a few records, the grabbed record and time is not in order. eg, C:\\family\\ruby\\win-eventlog\>test5.rb Win32::EventLog record\_number : 19558 …

---

## [Brite - A ruby compiler for the .NET platform](https://www.ruby-forum.com/t/brite-a-ruby-compiler-for-the-net-platform/61116)

<div class="topic-metadata">

**Author:** [@phi](https://www.ruby-forum.com/u/phi)\
**Replies:** 28\
**Last updated:** [May 23, 2006, 1:40pm UTC](https://www.ruby-forum.com/t/brite-a-ruby-compiler-for-the-net-platform/61116 "2006-05-23T13:40:38Z")

</div>

Hi folks! I discovered ruby some month ago and I liked it in a bunch of minutes. Then I was involved in a project using ASP.NET. At this point I had a dream :wink: Ruby that works on .NET (knowing ruby, neither VB nor…

---

## [Re: Problem with reqular expression](https://www.ruby-forum.com/t/re-problem-with-reqular-expression/95157)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 0\
**Last updated:** [May 23, 2006, 1:06pm UTC](https://www.ruby-forum.com/t/re-problem-with-reqular-expression/95157 "2006-05-23T13:06:17Z")

</div>

pls ignore slow mail; i thought no one was answering. argh… better wait longer… -----Original Message----- From: PeÃ±a, Botp \[mailto:removed\_email\_address@domain.invalid\] Sent: Tuesday, May 23, 2006 6:50 PM To: rub…

---

## [Re: Problem with reqular expression](https://www.ruby-forum.com/t/re-problem-with-reqular-expression/95155)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 0\
**Last updated:** [May 23, 2006, 12:50pm UTC](https://www.ruby-forum.com/t/re-problem-with-reqular-expression/95155 "2006-05-23T12:50:45Z")

</div>

fr Ilyas: I have this string: Color1 R=144 G=248 B=255 Need regular expression for get R,G,B How I can simplify it: lines.gsub!(/Color1 R=(\\d+) G=(\\d+) B=(\\d+)/) { puts $1 puts $2 puts $3 } irb(main):026:0\> s = “Co…

---

## [Script running in Ruby version 1.6.7 but not in 1.8.4](https://www.ruby-forum.com/t/script-running-in-ruby-version-1-6-7-but-not-in-1-8-4/61348)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [May 23, 2006, 12:41pm UTC](https://www.ruby-forum.com/t/script-running-in-ruby-version-1-6-7-but-not-in-1-8-4/61348 "2006-05-23T12:41:37Z")

</div>

Hi, I have written a script in Ruby version 1.6.7 running in Windows and it is doing fine. But when I start it in Linux with Ruby version 1.8.4 there are lot of error messages. I minimized the script to that part, …

---

## [Libxml on Windows?](https://www.ruby-forum.com/t/libxml-on-windows/61314)

<div class="topic-metadata">

**Author:** [@marcan](https://www.ruby-forum.com/u/marcan)\
**Replies:** 3\
**Last updated:** [May 23, 2006, 11:11am UTC](https://www.ruby-forum.com/t/libxml-on-windows/61314 "2006-05-23T11:11:48Z")

</div>

See it as a small echo to the performance thread… I want to parse large XML documents. Doing it with REXML is (unacceptably) slow (more than a minute compared to Java with a couple of seconds which is perfectly ok). S…

---

## [Sysread changes behavior in the presence of threads?](https://www.ruby-forum.com/t/sysread-changes-behavior-in-the-presence-of-threads/61176)

<div class="topic-metadata">

**Author:** [@blackhedd](https://www.ruby-forum.com/u/blackhedd)\
**Replies:** 21\
**Last updated:** [May 23, 2006, 10:53am UTC](https://www.ruby-forum.com/t/sysread-changes-behavior-in-the-presence-of-threads/61176 "2006-05-23T10:53:09Z")

</div>

What am I missing here? require ‘socket’ require ‘fcntl’ Thread.new {sleep 100} sd = TCPsocket.new( “www.cisco.com”, 80) m = sd.fcntl( Fcntl::F\_GETFL, 0) sd.fcntl( Fcntl::F\_SETFL, Fcntl::O\_NONBLOCK | m) sd.sysread…

---

## [Ruby mysql windows](https://www.ruby-forum.com/t/ruby-mysql-windows/61330)

<div class="topic-metadata">

**Author:** [@bob](https://www.ruby-forum.com/u/bob)\
**Replies:** 3\
**Last updated:** [May 23, 2006, 9:13am UTC](https://www.ruby-forum.com/t/ruby-mysql-windows/61330 "2006-05-23T09:13:05Z")

</div>

I’ve been googling for this for hours now. Does anyone know how to get Ruby to talk to a MySql database on Windows. Some instructions would be nice. A tutorial would be paradise. Thanks Bob

---

## [Performance characteristics of Ruby constructs](https://www.ruby-forum.com/t/performance-characteristics-of-ruby-constructs/95150)

<div class="topic-metadata">

**Author:** [@Ola\_B](https://www.ruby-forum.com/u/Ola_B)\
**Replies:** 0\
**Last updated:** [May 23, 2006, 8:11am UTC](https://www.ruby-forum.com/t/performance-characteristics-of-ruby-constructs/95150 "2006-05-23T08:11:38Z")

</div>

Hi. I’m right in the situation where I would like to find out some performance characteristics for various parts of Ruby, to optimize an application. Is there any resources available for this? To make it concrete, le…

---

## [Metaprogramming, Lisp, Symbols, and Macros](https://www.ruby-forum.com/t/metaprogramming-lisp-symbols-and-macros/61324)

<div class="topic-metadata">

**Author:** [@Dido\_S](https://www.ruby-forum.com/u/Dido_S)\
**Replies:** 1\
**Last updated:** [May 23, 2006, 6:45am UTC](https://www.ruby-forum.com/t/metaprogramming-lisp-symbols-and-macros/61324 "2006-05-23T06:45:32Z")

</div>

I’ve been reading some articles on why Ruby has symbols and all that, and one of the most interesting articles on this subject I’ve read opines that Ruby has them because they are preparation for a future metaprogramm…

---

## [Re: Zed and Luis drop the bomb on Ruby's poor performance](https://www.ruby-forum.com/t/re-zed-and-luis-drop-the-bomb-on-rubys-poor-performance/95134)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 4\
**Last updated:** [May 23, 2006, 5:56am UTC](https://www.ruby-forum.com/t/re-zed-and-luis-drop-the-bomb-on-rubys-poor-performance/95134 "2006-05-23T05:56:46Z")

</div>

A couple weeks ago I asked whether YARV could compile most Ruby programs on Win32 (since I could not figure out a satisfactory answer from web pages to which I was referred). I am still hoping that someone can appris…

---

## [What's up with symbols?](https://www.ruby-forum.com/t/whats-up-with-symbols/56744)

<div class="topic-metadata">

**Author:** [@Hans-Eric\_GrSSSSnlu](https://www.ruby-forum.com/u/Hans-Eric_GrSSSSnlu)\
**Replies:** 3\
**Last updated:** [May 23, 2006, 4:20am UTC](https://www.ruby-forum.com/t/whats-up-with-symbols/56744 "2006-05-23T04:20:53Z")

</div>

Hello fellows! I’m trying to understand symbols. Not what they are, but rather why Ruby has them. They are neat and I use them, but effectively you end up with the same thing using plain strings, right? So why extend …

---

## [Rcov 0.4.0 (code coverage) - scriptability, accuracy, unrott](https://www.ruby-forum.com/t/rcov-0-4-0-code-coverage-scriptability-accuracy-unrott/61250)

<div class="topic-metadata">

**Author:** [@tulkas](https://www.ruby-forum.com/u/tulkas)\
**Replies:** 3\
**Last updated:** [May 23, 2006, 12:06am UTC](https://www.ruby-forum.com/t/rcov-0-4-0-code-coverage-scriptability-accuracy-unrott/61250 "2006-05-23T00:06:18Z")

</div>

Source code, additional information, screenshots… available at eigenclass.org Release information: eigenclass.org You can find a sample code coverage report generated by rcov at eigenclass.org If you’re on win32, y…

---

## [Re: Creating Hash of Arrays](https://www.ruby-forum.com/t/re-creating-hash-of-arrays/95140)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [May 22, 2006, 10:42pm UTC](https://www.ruby-forum.com/t/re-creating-hash-of-arrays/95140 "2006-05-22T22:42:27Z")

</div>

Pseudo Code myhash\[‘customercode’\]\[0\]=Firstname myhash\[‘customercode’\]\[1\]=M.I myhash\[‘customercode’\]\[2\]=Lastname myhash.each do |k,v| myhash\[‘k’\].each do |elm| puts “#{k} -\> elm” end end Except for a line break …

---

## [Re: warning: fork terminates thread at ./application.rb:84](https://www.ruby-forum.com/t/re-warning-fork-terminates-thread-at-application-rb-84/95135)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 3\
**Last updated:** [May 22, 2006, 9:00pm UTC](https://www.ruby-forum.com/t/re-warning-fork-terminates-thread-at-application-rb-84/95135 "2006-05-22T21:00:24Z")

</div>

Enterprise Linux 4. It’s Ruby 1.8.1 with a bunch of patches. I’m getting a bunch these warnings: warning: fork terminates thread at ./application.rb:84 I searched the archives and Matz said that the warnings would …

---

## [Ruby Invoicing System?](https://www.ruby-forum.com/t/ruby-invoicing-system/61178)

<div class="topic-metadata">

**Author:** [@lazukars](https://www.ruby-forum.com/u/lazukars)\
**Replies:** 9\
**Last updated:** [May 22, 2006, 8:50pm UTC](https://www.ruby-forum.com/t/ruby-invoicing-system/61178 "2006-05-22T20:50:48Z")

</div>

I know we have quite a few consultants in the Ruby world. Does anyone have a nice system for generating billable invoices, possibly Rails-based, which generates PDF or something of that nature? Something they would be…

---

## [Compiling ruby - cannot find install-sh or install.sh](https://www.ruby-forum.com/t/compiling-ruby-cannot-find-install-sh-or-install-sh/61271)

<div class="topic-metadata">

**Author:** [@krisleech](https://www.ruby-forum.com/u/krisleech)\
**Replies:** 1\
**Last updated:** [May 22, 2006, 8:44pm UTC](https://www.ruby-forum.com/t/compiling-ruby-cannot-find-install-sh-or-install-sh/61271 "2006-05-22T20:44:25Z")

</div>

I’ve compiled ruby in the past using MingGW / MSYS on Windows, but for some reason I’m now getting an error when doing the “./configure” command, which is “configure: error: cannot find install-sh or install.sh” using…

---

## [Warning: fork terminates thread at ./application.rb:84](https://www.ruby-forum.com/t/warning-fork-terminates-thread-at-application-rb-84/61285)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 0\
**Last updated:** [May 22, 2006, 7:59pm UTC](https://www.ruby-forum.com/t/warning-fork-terminates-thread-at-application-rb-84/61285 "2006-05-22T19:59:43Z")

</div>

Hi, I’m using the version of Ruby that comes with Redhat Enterprise Linux 4. It’s Ruby 1.8.1 with a bunch of patches. I’m getting a bunch these warnings: warning: fork terminates thread at ./application.rb:84 I sea…

---

## [Extending RedCloth](https://www.ruby-forum.com/t/extending-redcloth/61281)

<div class="topic-metadata">

**Author:** [@Daniel\_VSSSSlkerts](https://www.ruby-forum.com/u/Daniel_VSSSSlkerts)\
**Replies:** 2\
**Last updated:** [May 22, 2006, 7:50pm UTC](https://www.ruby-forum.com/t/extending-redcloth/61281 "2006-05-22T19:50:10Z")

</div>

Hi there, I’d like to extend RedCloth. For example I’d like that although expressions like !C! Textline are substituted with Text What is the best/ruby way to achieve this? My ideas was: a. write a extension for RedCl…

---

## [Re: Zed and Luis drop the bomb on Ruby's poor performance](https://www.ruby-forum.com/t/re-zed-and-luis-drop-the-bomb-on-rubys-poor-performance/95132)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 1\
**Last updated:** [May 22, 2006, 7:28pm UTC](https://www.ruby-forum.com/t/re-zed-and-luis-drop-the-bomb-on-rubys-poor-performance/95132 "2006-05-22T19:28:25Z")

</div>

With respect, I do not agree with the argument that one should use an external language to get speed in Ruby. I do not know C and have no desire to learn it. I program in Ruby partly to avoid the low level details th…

---

## [Re: Zed and Luis drop the bomb on Ruby's poor performance](https://www.ruby-forum.com/t/re-zed-and-luis-drop-the-bomb-on-rubys-poor-performance/95133)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [May 22, 2006, 7:06pm UTC](https://www.ruby-forum.com/t/re-zed-and-luis-drop-the-bomb-on-rubys-poor-performance/95133 "2006-05-22T19:06:43Z")

</div>

partly to avoid the low level details that C programming demands. I’m going offtopic here, but I suggest you learn C. If you ever want to interface with your operating system or a 3rd party library where Ruby bindin…

---

## [Problem building 'mysql' gem on an AMD64](https://www.ruby-forum.com/t/problem-building-mysql-gem-on-an-amd64/61275)

<div class="topic-metadata">

**Author:** [@Alexandru\_ESUngur](https://www.ruby-forum.com/u/Alexandru_ESUngur)\
**Replies:** 0\
**Last updated:** [May 22, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/problem-building-mysql-gem-on-an-amd64/61275 "2006-05-22T17:44:01Z")

</div>

Hi all, I am having a bit of a hardtime installing the mysql gem on an AMD 64: Here are all the details I think that could be useful. The system is an RHEL 4(Update 3) with Ruby freshly installed from sources (so is…

---

## [Re: Getting a list of available methods from XMLRPC::Server](https://www.ruby-forum.com/t/re-getting-a-list-of-available-methods-from-xmlrpc-server/95128)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [May 22, 2006, 5:02pm UTC](https://www.ruby-forum.com/t/re-getting-a-list-of-available-methods-from-xmlrpc-server/95128 "2006-05-22T17:02:57Z")

</div>

addIntrospection: -tim Thanks Tim. Good to know. When I try to call that against a Rails webservice I get an error: rpc = XMLRPC::Client.new(‘localhost’, ‘http://localhost/webservice/api’, 3000) p rpc.call(‘syst…

---

## [Getting a list of available methods from XMLRPC::Server](https://www.ruby-forum.com/t/getting-a-list-of-available-methods-from-xmlrpc-server/61265)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 1\
**Last updated:** [May 22, 2006, 4:25pm UTC](https://www.ruby-forum.com/t/getting-a-list-of-available-methods-from-xmlrpc-server/61265 "2006-05-22T16:25:49Z")

</div>

Hi all, Does the XMLRPC::Server class from Ruby’s xmlrpc lib automatically provide a method to list all available methods being served? Or do I have to roll that myself? Thanks, Dan This communication is the prope…

---

## [Payment Gem error](https://www.ruby-forum.com/t/payment-gem-error/61207)

<div class="topic-metadata">

**Author:** [@Robert\_MannI](https://www.ruby-forum.com/u/Robert_MannI)\
**Replies:** 1\
**Last updated:** [May 22, 2006, 4:03pm UTC](https://www.ruby-forum.com/t/payment-gem-error/61207 "2006-05-22T16:03:53Z")

</div>

Hi! I’m getting this error when trying to initialize Payment::AuthorizeNet couldn’t find HOME environment – expanding ~/.payment.yml' /usr/local/lib/ruby/gems/1.8/gems/payment- 1.0.1/lib/payment/base.rb:21:inexpand\_pat…

---

## [Transformation in DNF and KNF?](https://www.ruby-forum.com/t/transformation-in-dnf-and-knf/61243)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 2\
**Last updated:** [May 22, 2006, 3:45pm UTC](https://www.ruby-forum.com/t/transformation-in-dnf-and-knf/61243 "2006-05-22T15:45:28Z")

</div>

Hello, i need yours help… Could someone give me an example for the transformation from a logical expression to DNF or KNF? Thanks

---

## [\[ANN\] Interviews at O'Reillynet](https://www.ruby-forum.com/t/ann-interviews-at-oreillynet/61258)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 0\
**Last updated:** [May 22, 2006, 2:49pm UTC](https://www.ruby-forum.com/t/ann-interviews-at-oreillynet/61258 "2006-05-22T14:49:45Z")

</div>

Most of you have probably read the interview with Zed S.: O'Reilly Media - Technology and Business Training I posted a companion interview with Luis L. this morning, you can read it in English at: O'Reilly Media - Te…

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

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