# Ruby

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

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

---

## [Rhtml can't find rubygems](https://www.ruby-forum.com/t/rhtml-cant-find-rubygems/99542)

<div class="topic-metadata">

**Author:** [@maxbohr](https://www.ruby-forum.com/u/maxbohr)\
**Replies:** 7\
**Last updated:** [July 25, 2006, 2:53pm UTC](https://www.ruby-forum.com/t/rhtml-cant-find-rubygems/99542 "2006-07-25T14:53:10Z")

</div>

I’m having some problems including rubygems in rhtml files. I’m on OSX Tiger and I set up apache to serve rhtml files(herein may lie the problem). While certain libs load fine ie ‘open-uri’ attempting to require ‘ru…

---

## [Test::Unit and logging](https://www.ruby-forum.com/t/test-unit-and-logging/99700)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 1\
**Last updated:** [July 25, 2006, 2:42pm UTC](https://www.ruby-forum.com/t/test-unit-and-logging/99700 "2006-07-25T14:42:58Z")

</div>

Is there a simple way to have Test::Unit use Log4r (or Logger) to add a log message whenever a test fails? My first step in debugging is to look at the logs. But, with copious logs, it’s hard to find the case which f…

---

## [GC in C extension](https://www.ruby-forum.com/t/gc-in-c-extension/99280)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 9\
**Last updated:** [July 25, 2006, 2:35pm UTC](https://www.ruby-forum.com/t/gc-in-c-extension/99280 "2006-07-25T14:35:55Z")

</div>

Hi all, I’m working on a database driver for the Ingres database and I’m nearly done but I’ve got one outstanding issue. Initially I thought it was a bug in rb\_ary\_new but now I’m wonding if it’s a problem with garbag…

---

## [Object to which a meta class belongs?](https://www.ruby-forum.com/t/object-to-which-a-meta-class-belongs/99681)

<div class="topic-metadata">

**Author:** [@erikveen](https://www.ruby-forum.com/u/erikveen)\
**Replies:** 3\
**Last updated:** [July 25, 2006, 2:31pm UTC](https://www.ruby-forum.com/t/object-to-which-a-meta-class-belongs/99681 "2006-07-25T14:31:56Z")

</div>

If a singleton class belongs to an object, it should be possible to determine to which object it belongs. Is that possible? I came up with the code below, but it might not be very fast. Thanks. gegroet, Erik V. - h…

---

## [Irb on Mac OS X not displaying previous lines](https://www.ruby-forum.com/t/irb-on-mac-os-x-not-displaying-previous-lines/99559)

<div class="topic-metadata">

**Author:** [@tomrobinson](https://www.ruby-forum.com/u/tomrobinson)\
**Replies:** 8\
**Last updated:** [July 25, 2006, 11:32am UTC](https://www.ruby-forum.com/t/irb-on-mac-os-x-not-displaying-previous-lines/99559 "2006-07-25T11:32:08Z")

</div>

I just started using irb on my Mac. When I press the Up arrow I should see the previously entered line, right? Instead it writes “^\[\[A” to the prompt. I’ve tried Terminal.app, iTerm, and xterm within X11, all do the s…

---

## [Escaping international characters](https://www.ruby-forum.com/t/escaping-international-characters/99743)

<div class="topic-metadata">

**Author:** [@alexanderl](https://www.ruby-forum.com/u/alexanderl)\
**Replies:** 3\
**Last updated:** [July 25, 2006, 11:16am UTC](https://www.ruby-forum.com/t/escaping-international-characters/99743 "2006-07-25T11:16:16Z")

</div>

Hello, This seems rather simple but it doesn’t work as expected: I have a string like “'Ã©cole” I would like to get “école”. I tried: @aName = CGI.escapeHTML(myString) but it doesn’t work? (I am not doing a rails a…

---

## [Had Ruby interview, considering J2ME as well](https://www.ruby-forum.com/t/had-ruby-interview-considering-j2me-as-well/99712)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [July 25, 2006, 11:15am UTC](https://www.ruby-forum.com/t/had-ruby-interview-considering-j2me-as-well/99712 "2006-07-25T11:15:58Z")

</div>

I had sent a contractor the following message (below). They are going to have J2ME training and they say they help with job placement for J2ME, I might like suggestions on how to determine if I should take their train…

---

## [Fcgi](https://www.ruby-forum.com/t/fcgi/99722)

<div class="topic-metadata">

**Author:** [@tma](https://www.ruby-forum.com/u/tma)\
**Replies:** 1\
**Last updated:** [July 25, 2006, 6:55am UTC](https://www.ruby-forum.com/t/fcgi/99722 "2006-07-25T06:55:08Z")

</div>

I am a little familiar with running FCGI applications and have done some work in Perl. Under Perl I can test it easily enough by running the script from command line with STDIN/STDOUT and command line args. But thi…

---

## [Confused by different REXML/xmllint parsing errors](https://www.ruby-forum.com/t/confused-by-different-rexml-xmllint-parsing-errors/99718)

<div class="topic-metadata">

**Author:** [@ammonc](https://www.ruby-forum.com/u/ammonc)\
**Replies:** 1\
**Last updated:** [July 25, 2006, 6:26am UTC](https://www.ruby-forum.com/t/confused-by-different-rexml-xmllint-parsing-errors/99718 "2006-07-25T06:26:59Z")

</div>

Here’s the XML be the (2n) Ã? REXML throws a ParseException: #\<REXML::ParseException: Missing end tag for ‘span’ (got “nobr”) Line: 1 Position: 114 Last 80 unconsumed characters: xmllint from libxml2-utils gives …

---

## [Htmltools incorrectly parsing HTML containing server-side ta](https://www.ruby-forum.com/t/htmltools-incorrectly-parsing-html-containing-server-side-ta/99662)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [July 25, 2006, 6:07am UTC](https://www.ruby-forum.com/t/htmltools-incorrectly-parsing-html-containing-server-side-ta/99662 "2006-07-25T06:07:29Z")

</div>

I’m using HTML Tools 1.09 to parse HTML that contains tags that are to be processed by the web server. For example, here’s an image tag: The \<$DCGallery$\> will be replaced by some text when returned to the browser …

---

## [Question on instance variable access](https://www.ruby-forum.com/t/question-on-instance-variable-access/99723)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [July 25, 2006, 5:07am UTC](https://www.ruby-forum.com/t/question-on-instance-variable-access/99723 "2006-07-25T05:07:37Z")

</div>

I came accross a problem which made me wonder. Sort of about dotting into a variable. I could find the answer in my ruby book. How would I do the access at the end here. I know I could probably use accessors, but is …

---

## [Marshal Problem](https://www.ruby-forum.com/t/marshal-problem/97437)

<div class="topic-metadata">

**Author:** [@revans](https://www.ruby-forum.com/u/revans)\
**Replies:** 5\
**Last updated:** [July 25, 2006, 2:05am UTC](https://www.ruby-forum.com/t/marshal-problem/97437 "2006-07-25T02:05:45Z")

</div>

Hi, I’ve got a serialized object that I am trying to read back in with Marshal. When it reads the class back in, it complains with the following message: undefined class/module ; This is running on windows. Under Ma…

---

## [How to create standl alones applications with Ruby](https://www.ruby-forum.com/t/how-to-create-standl-alones-applications-with-ruby/99608)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 6\
**Last updated:** [July 25, 2006, 1:34am UTC](https://www.ruby-forum.com/t/how-to-create-standl-alones-applications-with-ruby/99608 "2006-07-25T01:34:57Z")

</div>

Hi all In .NET, Eclipse/SWT, Interface Builder (mac os X) it is possible to create a new form, and use drag/drop controls such as textboxes, comboboxes, lists, datagrids, etc. And Also create reports in a similar way…

---

## [Mongrel XMLRPC?](https://www.ruby-forum.com/t/mongrel-xmlrpc/99690)

<div class="topic-metadata">

**Author:** [@regularfry](https://www.ruby-forum.com/u/regularfry)\
**Replies:** 1\
**Last updated:** [July 25, 2006, 1:31am UTC](https://www.ruby-forum.com/t/mongrel-xmlrpc/99690 "2006-07-25T01:31:38Z")

</div>

Hi all, Has anyone looked at wrapping the stdlib’s XMLRPC server in Mongrel? I can’t imagine it being too tricky, but I thought I’d check to see if anyone had tackled it yet.

---

## [RubyJavaBridge (rjb) - let's try again](https://www.ruby-forum.com/t/rubyjavabridge-rjb-lets-try-again/99687)

<div class="topic-metadata">

**Author:** [@weliwarmer](https://www.ruby-forum.com/u/weliwarmer)\
**Replies:** 0\
**Last updated:** [July 24, 2006, 11:29pm UTC](https://www.ruby-forum.com/t/rubyjavabridge-rjb-lets-try-again/99687 "2006-07-24T23:29:15Z")

</div>

Does anyone know where I can find the binaries for this? The config requires you to have Microsoft’s c compiler (cl.exe) which I don’t have.

---

## [RubyJavaBridge (rjb)](https://www.ruby-forum.com/t/rubyjavabridge-rjb/99683)

<div class="topic-metadata">

**Author:** [@weliwarmer](https://www.ruby-forum.com/u/weliwarmer)\
**Replies:** 0\
**Last updated:** [July 24, 2006, 11:24pm UTC](https://www.ruby-forum.com/t/rubyjavabridge-rjb/99683 "2006-07-24T23:24:34Z")

</div>

Hi, Does anyone know where I can find the binaries to RubyJavaBridge? I downloaded the source from http://arton.no-ip.info/collabo/backyard/?RubyJavaBridge but the config in setup.rb requires you to have Microsoft’s …

---

## [Apache + fastcgi timeouts?](https://www.ruby-forum.com/t/apache-fastcgi-timeouts/99672)

<div class="topic-metadata">

**Author:** [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Replies:** 0\
**Last updated:** [July 24, 2006, 9:02pm UTC](https://www.ruby-forum.com/t/apache-fastcgi-timeouts/99672 "2006-07-24T21:02:20Z")

</div>

Hello, I presume that the PHP’s “script timeout” ruby counterpart should be the -idle-timeout parameter of the FastCgiServer in httpd.conf ? I just need to be sure Thanks

---

## [How do I scan for keypresses in console ruby?](https://www.ruby-forum.com/t/how-do-i-scan-for-keypresses-in-console-ruby/99663)

<div class="topic-metadata">

**Author:** [@Myrddin\_Emrys](https://www.ruby-forum.com/u/Myrddin_Emrys)\
**Replies:** 1\
**Last updated:** [July 24, 2006, 8:05pm UTC](https://www.ruby-forum.com/t/how-do-i-scan-for-keypresses-in-console-ruby/99663 "2006-07-24T20:05:51Z")

</div>

I’m writing some text apps that need keyboard scanning… the only module I’ve seen that does keypress scanning in Ruby is SDL, but that sucks in X if I try to install it (Gentoo)… I don’t even have X installed. Is ther…

---

## [Help making a ruby module](https://www.ruby-forum.com/t/help-making-a-ruby-module/98493)

<div class="topic-metadata">

**Author:** [@Ryan\_McGovern](https://www.ruby-forum.com/u/Ryan_McGovern)\
**Replies:** 3\
**Last updated:** [July 24, 2006, 7:40pm UTC](https://www.ruby-forum.com/t/help-making-a-ruby-module/98493 "2006-07-24T19:40:14Z")

</div>

I am working on making a ruby module to wrapper the xsan quota fctl calls. I have C code that will get the quota information, but using the picaxe book i dont quite understand how to make a wrapper. Essecally i need …

---

## [Web bassed file manager using drb(optionally) and rails](https://www.ruby-forum.com/t/web-bassed-file-manager-using-drb-optionally-and-rails/98827)

<div class="topic-metadata">

**Author:** [@Ryan\_McGovern](https://www.ruby-forum.com/u/Ryan_McGovern)\
**Replies:** 5\
**Last updated:** [July 24, 2006, 7:10pm UTC](https://www.ruby-forum.com/t/web-bassed-file-manager-using-drb-optionally-and-rails/98827 "2006-07-24T19:10:18Z")

</div>

http://usor.leerao.com username:usor\_demo password:demo Usor stands for User Space On Rails, and is a project i’ve been working on for the university of Cincinnati. They are kind enough to let me use the source for …

---

## [CGI session and namespaces](https://www.ruby-forum.com/t/cgi-session-and-namespaces/99651)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 0\
**Last updated:** [July 24, 2006, 6:56pm UTC](https://www.ruby-forum.com/t/cgi-session-and-namespaces/99651 "2006-07-24T18:56:27Z")

</div>

Are there any issues in storing objects defined within namespaces (eg Module A; Class B) in CGI Sessions? I’m trying to debug a weird bug, and I’m wondering if this might be the cause. Perhaps the problems arise when…

---

## [Mongoose 0.2.0](https://www.ruby-forum.com/t/mongoose-0-2-0/99323)

<div class="topic-metadata">

**Author:** [@Jamey\_C](https://www.ruby-forum.com/u/Jamey_C)\
**Replies:** 18\
**Last updated:** [July 24, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/mongoose-0-2-0/99323 "2006-07-24T17:59:41Z")

</div>

You can download it from: http://rubyforge.org/projects/mongoose/ What’s New Thanks, to Ezra Z., this release features a much cleaner query language, so I decided to get this out before anyone gets too used to the o…

---

## [Store function output to string?](https://www.ruby-forum.com/t/store-function-output-to-string/99636)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [July 24, 2006, 5:28pm UTC](https://www.ruby-forum.com/t/store-function-output-to-string/99636 "2006-07-24T17:28:20Z")

</div>

I am looking for a way to store a function’s output to a string. Believe it or not, I’ve had some trouble finding this using google. I have a function for web testing (WET) that displays the text in an IE pop-up: $ie…

---

## [Export Data from Microsoft Access database](https://www.ruby-forum.com/t/export-data-from-microsoft-access-database/99610)

<div class="topic-metadata">

**Author:** [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Replies:** 7\
**Last updated:** [July 24, 2006, 5:08pm UTC](https://www.ruby-forum.com/t/export-data-from-microsoft-access-database/99610 "2006-07-24T17:08:23Z")

</div>

How could I leverage Ruby to export mdb tables definations, data, forms, queries and then be able to import it in to some other dbms like oracle/db2 etc? Regards, Jatinder

---

## [Yadda yadda yadda operator](https://www.ruby-forum.com/t/yadda-yadda-yadda-operator/99523)

<div class="topic-metadata">

**Author:** [@Son\_SonOfLilit](https://www.ruby-forum.com/u/Son_SonOfLilit)\
**Replies:** 23\
**Last updated:** [July 24, 2006, 4:42pm UTC](https://www.ruby-forum.com/t/yadda-yadda-yadda-operator/99523 "2006-07-24T16:42:23Z")

</div>

Hello. I was reading about perl6 on wikipedia for amusement today and I came upon the “yadda yadda yadda” operator: if is\_true() { for @array { … } } The three dots above (…) are syntactically valid in Perl 6 a…

---

## [Shared memory between servers](https://www.ruby-forum.com/t/shared-memory-between-servers/99586)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [July 24, 2006, 4:34pm UTC](https://www.ruby-forum.com/t/shared-memory-between-servers/99586 "2006-07-24T16:34:56Z")

</div>

Hi all: I was thinking about this question all weekend. It’s possible to have shared memory or objets or repository of objets between servers?? Imagine this: I want that all servers (several) have same data (an array…

---

## [Ruby settings, path/env/lib etc](https://www.ruby-forum.com/t/ruby-settings-path-env-lib-etc/99627)

<div class="topic-metadata">

**Author:** [@rube](https://www.ruby-forum.com/u/rube)\
**Replies:** 1\
**Last updated:** [July 24, 2006, 4:27pm UTC](https://www.ruby-forum.com/t/ruby-settings-path-env-lib-etc/99627 "2006-07-24T16:27:52Z")

</div>

Hello I just downloaded the ruby one click installer. I am on a windows machine with no administrator rights. I install all my personal apps to desktop/bin. SciTe wouldn’t run properly until I edited the properties t…

---

## [List of RubyConf 2006 presentations](https://www.ruby-forum.com/t/list-of-rubyconf-2006-presentations/99614)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [July 24, 2006, 3:13pm UTC](https://www.ruby-forum.com/t/list-of-rubyconf-2006-presentations/99614 "2006-07-24T15:13:45Z")

</div>

Hi – The (unordered :slight\_smile: list of RubyConf 2006 presentations is now available, at http://www.rubycentral.org/conference/talks.html. Registration is going to happen as soon as we’ve finished setting up our n…

---

## [One-Click Ruby Installer 1.8.4-20 is available](https://www.ruby-forum.com/t/one-click-ruby-installer-1-8-4-20-is-available/99601)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 0\
**Last updated:** [July 24, 2006, 1:15pm UTC](https://www.ruby-forum.com/t/one-click-ruby-installer-1-8-4-20-is-available/99601 "2006-07-24T13:15:24Z")

</div>

If you already have 1.8.4-19 you probably don’t need this release, which has three minor changes (see below). You can downoad this release from: http://rubyforge.org/frs/?group\_id=167 Changes: The “src” subdirecto…

---

## [Bad query?](https://www.ruby-forum.com/t/bad-query/99575)

<div class="topic-metadata">

**Author:** [@raffir](https://www.ruby-forum.com/u/raffir)\
**Replies:** 3\
**Last updated:** [July 24, 2006, 1:09pm UTC](https://www.ruby-forum.com/t/bad-query/99575 "2006-07-24T13:09:07Z")

</div>

I have a find() query inside a for loop. Basically, I want the loop to go through all elements in User.accounts and find all elements in Accounts that have the same name as each element (to see other users who have ac…

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

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