# Ruby

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

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

---

## [Literate Ruby (#102)](https://www.ruby-forum.com/t/literate-ruby-102/77077)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [November 24, 2006, 2:56am UTC](https://www.ruby-forum.com/t/literate-ruby-102/77077 "2006-11-24T02:56:29Z")

</div>

We definitely have to do more quizzes where the nature of the problem encourages submitters to summarize their own solution! Multiple submitters did just that, so I recommend taking the time to read through the subm…

---

## [Logger question](https://www.ruby-forum.com/t/logger-question/77069)

<div class="topic-metadata">

**Author:** [@brad7a0](https://www.ruby-forum.com/u/brad7a0)\
**Replies:** 2\
**Last updated:** [November 24, 2006, 1:02am UTC](https://www.ruby-forum.com/t/logger-question/77069 "2006-11-24T01:02:19Z")

</div>

Is there a way to make logger not write the header line (first line) of a log file? I’d rather it not write anything but log entries. Logfile created on Thu Nov 23 14:44:09 -0500 2006 by logger.rb/1.5.2.9 log\_entry l…

---

## [SOAP4R logging](https://www.ruby-forum.com/t/soap4r-logging/76803)

<div class="topic-metadata">

**Author:** [@Gareth\_A](https://www.ruby-forum.com/u/Gareth_A)\
**Replies:** 3\
**Last updated:** [November 24, 2006, 12:26am UTC](https://www.ruby-forum.com/t/soap4r-logging/76803 "2006-11-24T00:26:16Z")

</div>

Hi guys, Is there an easy way to see the output sent by SOAP::WSDLDriver? I’m getting errors about wrong arguments from the remote service that I’m not expecting, and I can’t work out why. soap = SOAP::WSDLDriverF…

---

## [Fox 1.2 on one-click installer 1.8.5-21](https://www.ruby-forum.com/t/fox-1-2-on-one-click-installer-1-8-5-21/77052)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [November 23, 2006, 7:31pm UTC](https://www.ruby-forum.com/t/fox-1-2-on-one-click-installer-1-8-5-21/77052 "2006-11-23T19:31:42Z")

</div>

I’ve switched to 1.8.5 just a few days ago and my scripts that use fox12 just generate 8338 warnings like the following: :/dev/ruby/lib/ruby/gems/1.8/gems/fxruby-1.2.6-mswin32/ext/fox12/fox12.so: warning: already init…

---

## [FastRI 0.2.1: faster full-text searching, multiple queries,](https://www.ruby-forum.com/t/fastri-0-2-1-faster-full-text-searching-multiple-queries/77010)

<div class="topic-metadata">

**Author:** [@tulkas](https://www.ruby-forum.com/u/tulkas)\
**Replies:** 5\
**Last updated:** [November 23, 2006, 6:05pm UTC](https://www.ruby-forum.com/t/fastri-0-2-1-faster-full-text-searching-multiple-queries/77010 "2006-11-23T18:05:30Z")

</div>

FastRI is an alternative to the ri command-line tool. It is much faster, and also allows you to offer RI lookup services over DRb. FastRI is smarter than ri, and can find classes anywhere in the hierarchy without spe…

---

## [Matchdata](https://www.ruby-forum.com/t/matchdata/77012)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 2\
**Last updated:** [November 23, 2006, 5:35pm UTC](https://www.ruby-forum.com/t/matchdata/77012 "2006-11-23T17:35:23Z")

</div>

I have a file that I want to scan for matches of a regular expression. The expression crosses multiple lines (/m), so I can’t use each\_line. I’ve been using scan, but I now need a match data object for each match so I…

---

## [Create array of hash values](https://www.ruby-forum.com/t/create-array-of-hash-values/76705)

<div class="topic-metadata">

**Author:** [@drlelon](https://www.ruby-forum.com/u/drlelon)\
**Replies:** 11\
**Last updated:** [November 23, 2006, 4:37pm UTC](https://www.ruby-forum.com/t/create-array-of-hash-values/76705 "2006-11-23T16:37:14Z")

</div>

Hi, I have a hash that contains the following keys/values: \[#\<Contact\_List:0x2607150 @attributes={“contact\_id”=\>“4”}\>, #\<Contact\_List:0x2607114 @attributes={“contact\_id”=\>“8”}\>\] I want to create an array containing t…

---

## [RailsInCocoa - example](https://www.ruby-forum.com/t/railsincocoa-example/77020)

<div class="topic-metadata">

**Author:** [@lukeda](https://www.ruby-forum.com/u/lukeda)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 2:09pm UTC](https://www.ruby-forum.com/t/railsincocoa-example/77020 "2006-11-23T14:09:51Z")

</div>

Hi, I recently posted about running a Rails app inside of a Cocoa application via RubyCocoa. I have a (very raw and ugly) proof of concept available: http://www.ldaley.com/dl/RailsInCocoa.dmg Also, a short write up …

---

## [NKF$BJQ49$NJ8;zNsKvHx(B](https://www.ruby-forum.com/t/nkf-bjq49-nj8-znskvhx-b/76981)

<div class="topic-metadata">

**Author:** [@SSSBSHS\_SSSSS5SRSmS](https://www.ruby-forum.com/u/SSSBSHS_SSSSS5SRSmS)\
**Replies:** 2\
**Last updated:** [November 23, 2006, 10:39am UTC](https://www.ruby-forum.com/t/nkf-bjq49-nj8-znskvhx-b/76981 "2006-11-23T10:39:15Z")

</div>

e$B$H$\_$?$G$9!#e(B Ruby 1.8.5 e$B$Ne(B NKF e$B$,!"J8;zNs$NKvHx$Ke(B ESC ( B e$B$r$D$1$F$/$l$^$;$s!#e(B $ ruby -v -rnkf -e ‘p NKF.nkf("-j", “e$B$”$$$&e(B")’ ruby 1.8.5 (2006-08-25) \[i686-linux\] “\\e$B$”$$$&" 1.8.4 e$…

---

## [Compare Array Values?](https://www.ruby-forum.com/t/compare-array-values/76985)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 30\
**Last updated:** [November 23, 2006, 6:48am UTC](https://www.ruby-forum.com/t/compare-array-values/76985 "2006-11-23T06:48:52Z")

</div>

I want to check to see if two arrays contain the same values. That is, are they the same array but not in the same order. Example equal \[1,2,3,4,“abc”\] should equal \[2,3,1,“abc”,4\] and all the other different orde…

---

## [Regular expression too big](https://www.ruby-forum.com/t/regular-expression-too-big/75705)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 30\
**Last updated:** [November 23, 2006, 6:30am UTC](https://www.ruby-forum.com/t/regular-expression-too-big/75705 "2006-11-23T06:30:51Z")

</div>

Hi, got problem with big regexes: I have a regex of about 70000+ words concated with ‘|’ that I’d like to match as a regex. /bla|blub|foo|bar|…(70000)/ But unfortunately ruby gives me a ‘regular expression too big’ …

---

## [Re: win32api: how to access NetFileEnum results?](https://www.ruby-forum.com/t/re-win32api-how-to-access-netfileenum-results/76988)

<div class="topic-metadata">

**Author:** [@Robert\_Chastain](https://www.ruby-forum.com/u/Robert_Chastain)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 4:18am UTC](https://www.ruby-forum.com/t/re-win32api-how-to-access-netfileenum-results/76988 "2006-11-23T04:18:38Z")

</div>

Trying to modify the below script to allow me to query remote machines. The first parameter to NetFileEnum needs to be a char \* to the machine name. Can’t seem to work out how to do that in ruby. Thanks, RC Subject:…

---

## [RUBYSCRIPT2EXE.appdir show the temp dir](https://www.ruby-forum.com/t/rubyscript2exe-appdir-show-the-temp-dir/76982)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [November 23, 2006, 1:46am UTC](https://www.ruby-forum.com/t/rubyscript2exe-appdir-show-the-temp-dir/76982 "2006-11-23T01:46:20Z")

</div>

I’m trying the following code require “rubyscript2exe” @app\_dir = RUBYSCRIPT2EXE.appdir() that on compile time works properly, giving me the path to the .rb script. On run-time though it gives to me the dir wh…

---

## [Problems installing rails on OSX](https://www.ruby-forum.com/t/problems-installing-rails-on-osx/76947)

<div class="topic-metadata">

**Author:** [@mamboze](https://www.ruby-forum.com/u/mamboze)\
**Replies:** 2\
**Last updated:** [November 23, 2006, 1:04am UTC](https://www.ruby-forum.com/t/problems-installing-rails-on-osx/76947 "2006-11-23T01:04:17Z")

</div>

Help out a poor dumb Pythonista who’s trying to give rails a try. I’m running OSX 10.3.9. I followed the directions at Ruby on Rails — A web-app framework that includes everything needed to create database-backed web …

---

## [File descriptors](https://www.ruby-forum.com/t/file-descriptors/76728)

<div class="topic-metadata">

**Author:** [@atd](https://www.ruby-forum.com/u/atd)\
**Replies:** 7\
**Last updated:** [November 23, 2006, 12:06am UTC](https://www.ruby-forum.com/t/file-descriptors/76728 "2006-11-23T00:06:10Z")

</div>

Hi, I’m trying to code a script for replacing an application which takes it’s input from file descriptors 0 (stdin) and 1 (stdout). It must also be able to open another application which in turn also reads from the a…

---

## [Unknown ruby processes show up in "top" when running cronjob](https://www.ruby-forum.com/t/unknown-ruby-processes-show-up-in-top-when-running-cronjob/76731)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [November 22, 2006, 11:52pm UTC](https://www.ruby-forum.com/t/unknown-ruby-processes-show-up-in-top-when-running-cronjob/76731 "2006-11-22T23:52:08Z")

</div>

Hello, I have a ruby (rails) cronjob. When I monitor the execution of the cronjob with top, I notice that 2 more processes show up in there (instead of just one for my cronjob). My cronjob captures the output of runn…

---

## [Using Ruby/GStreamer for a DVD player](https://www.ruby-forum.com/t/using-ruby-gstreamer-for-a-dvd-player/76975)

<div class="topic-metadata">

**Author:** [@James\_Mills](https://www.ruby-forum.com/u/James_Mills)\
**Replies:** 0\
**Last updated:** [November 22, 2006, 11:30pm UTC](https://www.ruby-forum.com/t/using-ruby-gstreamer-for-a-dvd-player/76975 "2006-11-22T23:30:03Z")

</div>

Hello list. I have been successful in getting the gstreamer bindings for ruby to work for simple application such as those included in the “examples” section of the bindings source. However, I would really like to be …

---

## [Qtruby and the ListViewItemIterator](https://www.ruby-forum.com/t/qtruby-and-the-listviewitemiterator/76361)

<div class="topic-metadata">

**Author:** [@Nigel\_W](https://www.ruby-forum.com/u/Nigel_W)\
**Replies:** 4\
**Last updated:** [November 22, 2006, 8:23pm UTC](https://www.ruby-forum.com/t/qtruby-and-the-listviewitemiterator/76361 "2006-11-22T20:23:37Z")

</div>

Hi folks I’m trying qtruby out and have struck an issue I can’t conquer. I have a listview widget which is populated with listviewitems and want to iterate through the whole lot. The code snippet is it = Qt::ListVie…

---

## [Libxml-Ruby 0.3.8.2 now available (Repost)](https://www.ruby-forum.com/t/libxml-ruby-0-3-8-2-now-available-repost/76937)

<div class="topic-metadata">

**Author:** [@ross\_b](https://www.ruby-forum.com/u/ross_b)\
**Replies:** 1\
**Last updated:** [November 22, 2006, 6:57pm UTC](https://www.ruby-forum.com/t/libxml-ruby-0-3-8-2-now-available-repost/76937 "2006-11-22T18:57:24Z")

</div>

(I posted this to comp.lang.ruby a while ago, but posts don’t seem to be crossing the gateway in this direction so I’ll repost. Apologies if this turns up as a dupe). ============ Libxml-Ruby 0.3.8.2 is now available…

---

## [Literate Ruby (#102)](https://www.ruby-forum.com/t/literate-ruby-102/76309)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 11\
**Last updated:** [November 22, 2006, 6:37pm UTC](https://www.ruby-forum.com/t/literate-ruby-102/76309 "2006-11-22T18:37:16Z")

</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: …

---

## [Inotify over nfs](https://www.ruby-forum.com/t/inotify-over-nfs/76913)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 4\
**Last updated:** [November 22, 2006, 6:01pm UTC](https://www.ruby-forum.com/t/inotify-over-nfs/76913 "2006-11-22T18:01:10Z")

</div>

I had a happily-running inotify daemon monitoring file creation and deletion that broke when we moved to a multiple machine + NFS setup. Apparently inotify doesn’t work over NFS, but it does if you have the watcher on…

---

## [Another YAML bug?](https://www.ruby-forum.com/t/another-yaml-bug/76935)

<div class="topic-metadata">

**Author:** [@popolzen](https://www.ruby-forum.com/u/popolzen)\
**Replies:** 1\
**Last updated:** [November 22, 2006, 4:51pm UTC](https://www.ruby-forum.com/t/another-yaml-bug/76935 "2006-11-22T16:51:01Z")

</div>

\#!/usr/bin/ruby1.8 require 'yaml' a = { "b" =\> "c", "d" =\> nil, "e" =\> "f" } puts a.to\_yaml result: b: c d: e: f but must be: b: c d: ~ e: f

---

## [Tartan: wiki-text parser](https://www.ruby-forum.com/t/tartan-wiki-text-parser/76923)

<div class="topic-metadata">

**Author:** [@Larry\_Baltz](https://www.ruby-forum.com/u/Larry_Baltz)\
**Replies:** 0\
**Last updated:** [November 22, 2006, 3:06pm UTC](https://www.ruby-forum.com/t/tartan-wiki-text-parser/76923 "2006-11-22T15:06:37Z")

</div>

Tartan is a general purpose text parsing engine whose main target is wiki text parsing. It doesn’t implement one specific mark-up, but instead, provides a way to specify a variety of mark-ups. So, Tartan is a bit mor…

---

## [Ruby unit testing](https://www.ruby-forum.com/t/ruby-unit-testing/76837)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 9\
**Last updated:** [November 22, 2006, 1:34pm UTC](https://www.ruby-forum.com/t/ruby-unit-testing/76837 "2006-11-22T13:34:51Z")

</div>

Hi, I have a ruby script that I would like to apply unit testing against but Ive never actually created any previously and the documentation is not bad but im struggling to apply it to my own code. Could someone give…

---

## [Is there a class that can control the command window](https://www.ruby-forum.com/t/is-there-a-class-that-can-control-the-command-window/76801)

<div class="topic-metadata">

**Author:** [@oliviabean](https://www.ruby-forum.com/u/oliviabean)\
**Replies:** 5\
**Last updated:** [November 22, 2006, 1:12pm UTC](https://www.ruby-forum.com/t/is-there-a-class-that-can-control-the-command-window/76801 "2006-11-22T13:12:30Z")

</div>

I use ruby to do testing. There are some scenario that look like this: Do some navigation in the web browser and do some operation in it run some command, especially telnet to another machine and then run the command…

---

## [Project management tools in ruby? ala Trac/Bugzilla?](https://www.ruby-forum.com/t/project-management-tools-in-ruby-ala-trac-bugzilla/76911)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [November 22, 2006, 11:32am UTC](https://www.ruby-forum.com/t/project-management-tools-in-ruby-ala-trac-bugzilla/76911 "2006-11-22T11:32:19Z")

</div>

is there anything like trac (python) or bugzilla for managing issues / projects/ bugs in ruby? tx! /dc

---

## [ActiveRecord](https://www.ruby-forum.com/t/activerecord/76872)

<div class="topic-metadata">

**Author:** [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Replies:** 8\
**Last updated:** [November 22, 2006, 10:08am UTC](https://www.ruby-forum.com/t/activerecord/76872 "2006-11-22T10:08:11Z")

</div>

First Post. Totally new to Ruby and am trying ActiveRecord. I’ve written a standalone script but it produces the following warnings before running and outputting the correct results. Any pointers, please? -Ants scr…

---

## [Help Wanted: RailsInCocoa](https://www.ruby-forum.com/t/help-wanted-railsincocoa/76907)

<div class="topic-metadata">

**Author:** [@lukeda](https://www.ruby-forum.com/u/lukeda)\
**Replies:** 0\
**Last updated:** [November 22, 2006, 9:38am UTC](https://www.ruby-forum.com/t/help-wanted-railsincocoa/76907 "2006-11-22T09:38:08Z")

</div>

This is being cross posted in the Rails-Talk and in Ruby-Talk mailing list, apologies if it hits you twice. I am looking for collaborators on a project aimed at getting a web server hosting a rails application running…

---

## [Error Install ruby (newbie)](https://www.ruby-forum.com/t/error-install-ruby-newbie/76809)

<div class="topic-metadata">

**Author:** [@andre\_hartawan](https://www.ruby-forum.com/u/andre_hartawan)\
**Replies:** 7\
**Last updated:** [November 22, 2006, 9:26am UTC](https://www.ruby-forum.com/t/error-install-ruby-newbie/76809 "2006-11-22T09:26:07Z")

</div>

I have installed ruby on windows using (One-Click Installer ver ,then in command prompt i try to run c:\\ruby\>gem install rails - remote ,but an error come up (Error : While executing gem… (Gem:: GemNotFoundException…

---

## [Active Record out of rails: still assumes id?](https://www.ruby-forum.com/t/active-record-out-of-rails-still-assumes-id/76816)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 7\
**Last updated:** [November 22, 2006, 1:05am UTC](https://www.ruby-forum.com/t/active-record-out-of-rails-still-assumes-id/76816 "2006-11-22T01:05:30Z")

</div>

Hi, Im currently writing a ruby script that will connect to a database using active record and then insert data that has been scraped from certain websites. A problem that I have run into is that when i try to use th…

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

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