# Ruby

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

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

---

## [Any recommendations on ruby editor](https://www.ruby-forum.com/t/any-recommendations-on-ruby-editor/111781)

<div class="topic-metadata">

**Author:** [@harry\_pillei](https://www.ruby-forum.com/u/harry_pillei)\
**Replies:** 30\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/any-recommendations-on-ruby-editor/111781 "2007-09-25T23:04:25Z")

</div>

Hi, I am looking into investing in an editor for working with ruby(including rails), any recommendations?. Experience and feedback appreciated. thanks Hari

---

## [Microsoft announces IronRuby](https://www.ruby-forum.com/t/microsoft-announces-ironruby/103033)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/microsoft-announces-ironruby/103033 "2007-09-25T23:04:24Z")

</div>

Interesting. http://news.com.com/2100-1012\_3-6180322.html?part=rss&tag=2547-1\_3-0-5&subj=news

---

## [Class Overkill? What's practical?](https://www.ruby-forum.com/t/class-overkill-whats-practical/110094)

<div class="topic-metadata">

**Author:** [@toadkicker](https://www.ruby-forum.com/u/toadkicker)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/class-overkill-whats-practical/110094 "2007-09-25T23:04:19Z")

</div>

I’ve hacked out a monolithic script to parse a 3D file and create a custom bill of materials spreadsheet using win32ole and Microsoft Excel. Neat stuff. Very fast. Lots of methods - all of them defaulting to the Obj…

---

## [How is Ruby the "Perlification" of Lisp?](https://www.ruby-forum.com/t/how-is-ruby-the-perlification-of-lisp/83711)

<div class="topic-metadata">

**Author:** [@Griff](https://www.ruby-forum.com/u/Griff)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/how-is-ruby-the-perlification-of-lisp/83711 "2007-09-25T23:04:17Z")

</div>

I read that Ruby is the “Perlification” of Lisp or something to that effect. May some please elaborate on this?

---

## [Query MS Exchange Inbox](https://www.ruby-forum.com/t/query-ms-exchange-inbox/114614)

<div class="topic-metadata">

**Author:** [@nickh](https://www.ruby-forum.com/u/nickh)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/query-ms-exchange-inbox/114614 "2007-09-25T23:04:13Z")

</div>

I have been looking for some information on the net to use ruby and query my microsoft exchange inbox. I thought exchange was using IMAP but i guess i was wrong because i receive an “authentication not supported” erro…

---

## [Mod\_ruby, eRuby Question](https://www.ruby-forum.com/t/mod-ruby-eruby-question/83018)

<div class="topic-metadata">

**Author:** [@Lincoln\_Anderson](https://www.ruby-forum.com/u/Lincoln_Anderson)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/mod-ruby-eruby-question/83018 "2007-09-25T23:04:13Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I’ve got an Apache2 testbed server set up to do some work with Ruby and RoR… As part of the setup I installed mod\_ruby so that Apache can process Ruby scripts, as well as…

---

## [IAre there some subtle bugs in ERB parsing?](https://www.ruby-forum.com/t/iare-there-some-subtle-bugs-in-erb-parsing/110055)

<div class="topic-metadata">

**Author:** [@vfcforums](https://www.ruby-forum.com/u/vfcforums)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/iare-there-some-subtle-bugs-in-erb-parsing/110055 "2007-09-25T23:04:12Z")

</div>

Is there any code in this ERB snippet that causes text after the EOF to be included in the template. Unless my understanding of ERB is inadequate there has to be some bug in it. It has me at my wit’s end. ==========…

---

## [NArray Gem?](https://www.ruby-forum.com/t/narray-gem/113993)

<div class="topic-metadata">

**Author:** [@Benjohn\_B](https://www.ruby-forum.com/u/Benjohn_B)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/narray-gem/113993 "2007-09-25T23:04:11Z")

</div>

Am I missing the obvious here? Is there not a gem for narray? Cheers, Benjohn

---

## [Rubyscript2exe for Unix ?!](https://www.ruby-forum.com/t/rubyscript2exe-for-unix/85415)

<div class="topic-metadata">

**Author:** [@RebhanS\_Gilbert](https://www.ruby-forum.com/u/RebhanS_Gilbert)\
**Replies:** 6\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/rubyscript2exe-for-unix/85415 "2007-09-25T23:04:11Z")

</div>

Hi, i’m using rubyscript2exe a lot on Windows, works fine. Now i want to know whether there is a similar tool available for Unix also, creating executables for my rubyscripts ? Regards, Gilbert

---

## [Fwd: Maximum Sub-Array (#131)](https://www.ruby-forum.com/t/fwd-maximum-sub-array-131/198527)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/fwd-maximum-sub-array-131/198527 "2007-09-25T23:04:11Z")

</div>

Begin forwarded message:

---

## [Creating and adding new methods in runtime](https://www.ruby-forum.com/t/creating-and-adding-new-methods-in-runtime/103930)

<div class="topic-metadata">

**Author:** [@konryd](https://www.ruby-forum.com/u/konryd)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/creating-and-adding-new-methods-in-runtime/103930 "2007-09-25T23:04:09Z")

</div>

Hello, I need to add in runtime several methods to my class. How can I accomplish this in ruby? More precisely: I need my class to overload arithmetic operators with fixnums in both ways (4+MyClass, MyClass+4). All th…

---

## [\[\]\[1,&nil\] = 2](https://www.ruby-forum.com/t/1-nil-2/108155)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/1-nil-2/108155 "2007-09-25T23:04:08Z")

</div>

e$B0J2\<$N$h$&$Ke(B \[\]\[1,&nil\] = 2 e$B$H$9$k$H!"e(Bnil e$B$Ke(B \[\]= e$B$,$J$$$H$$e(B e$B$&%(%i!\<$K$J$k$N$O0U?^$;$6$k$b$N$G$O$J$$$G$7$g$&$+!#e(B % ./ruby -ve ‘\[\]\[1,&nil\] = 2’ ruby 1.9.0 (2007-06-29 patchlevel 0) \[i686-…

---

## [Regarding \_popen() in windows 2000](https://www.ruby-forum.com/t/regarding-popen-in-windows-2000/114778)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/regarding-popen-in-windows-2000/114778 "2007-09-25T23:04:03Z")

</div>

Hi All, I have a console application. In windows 2000, \_popen() is returning invalid handle. I checked the same app with 2003 Server, its working fine. Please suggest … Thanks !

---

## [Firebrigade status?](https://www.ruby-forum.com/t/firebrigade-status/112630)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/firebrigade-status/112630 "2007-09-25T23:03:56Z")

</div>

Hi, http://firebrigade.seattlerb.org gives me only, On Fire! Firebrigade has caught fire. Sorry. What’s up? Later,

---

## [Problems with test cases and other things with Ruby-WordNet](https://www.ruby-forum.com/t/problems-with-test-cases-and-other-things-with-ruby-wordnet/110032)

<div class="topic-metadata">

**Author:** [@H\_H](https://www.ruby-forum.com/u/H_H)\
**Replies:** 6\
**Last updated:** [September 25, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/problems-with-test-cases-and-other-things-with-ruby-wordnet/110032 "2007-09-25T23:03:56Z")

</div>

I tried to post this as a ticket to Ruby-WordNet trac as a ticket but it kept rejecting it as “Possible Spam” so here it. (For those of you having problems running convertdb.rb and core dumps - jump to the end) Ubun…

---

## [Ruport Book Roundtable Discussion, 2007.07.16](https://www.ruby-forum.com/t/ruport-book-roundtable-discussion-2007-07-16/109120)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/ruport-book-roundtable-discussion-2007-07-16/109120 "2007-09-25T23:03:53Z")

</div>

Keeping with the notion of ‘incredibly open’ development of the Ruport Book\[0\], we’re planning an IRC meeting for next Monday evening, 9pm EDT. Mike and I will both be present and anyone who’s been tracking our progr…

---

## [Learning ruby from you?](https://www.ruby-forum.com/t/learning-ruby-from-you/111409)

<div class="topic-metadata">

**Author:** [@simonsaid](https://www.ruby-forum.com/u/simonsaid)\
**Replies:** 8\
**Last updated:** [September 25, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/learning-ruby-from-you/111409 "2007-09-25T23:03:36Z")

</div>

I’ve got an impressively spotty understanding of ruby, linux, programming in general, and math/logic, but have a project or two in mind that are just taking too long for me to make headway with on my own. I would like…

---

## [Check Flock Status on File](https://www.ruby-forum.com/t/check-flock-status-on-file/109494)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 6\
**Last updated:** [September 25, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/check-flock-status-on-file/109494 "2007-09-25T23:03:33Z")

</div>

I have a daemon that is checking files as they are uploaded by FTP and processing them accordingly. I noticed that occasionally the files are truncated, and have put this down to the file currently being written by th…

---

## [Introducing the "it" keyword](https://www.ruby-forum.com/t/introducing-the-it-keyword/105017)

<div class="topic-metadata">

**Author:** [@afg](https://www.ruby-forum.com/u/afg)\
**Replies:** 102\
**Last updated:** [September 25, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/introducing-the-it-keyword/105017 "2007-09-25T23:03:33Z")

</div>

A common pattern seen in a lot of ruby code is: g(m(x)) if/unless/while/until h(m(x)) for example, puts “User: #{opts\[:user\]}” if opts\[:user\] in this case, g(x) = puts “User: #{x}”, h(x) = x, and m(x) = opts\[:user\] …

---

## [Licensing/copyright reading material (was: Ruby Editor)](https://www.ruby-forum.com/t/licensing-copyright-reading-material-was-ruby-editor/110340)

<div class="topic-metadata">

**Author:** [@toadkicker](https://www.ruby-forum.com/u/toadkicker)\
**Replies:** 9\
**Last updated:** [September 25, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/licensing-copyright-reading-material-was-ruby-editor/110340 "2007-09-25T23:03:33Z")

</div>

have listened with strain technocrats, righteous anger not gentle whispers Seriously, I’d like to find some good reading material about the economy of the software industry, whether it be online or on hard copy. I’…

---

## [Non Existent Method Dir.empty? Description via "ri"](https://www.ruby-forum.com/t/non-existent-method-dir-empty-description-via-ri/111883)

<div class="topic-metadata">

**Author:** [@wonado](https://www.ruby-forum.com/u/wonado)\
**Replies:** 23\
**Last updated:** [September 25, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/non-existent-method-dir-empty-description-via-ri/111883 "2007-09-25T23:03:10Z")

</div>

Moin, moin! There is a description for a method that does not exist presented by “ri”: Console Protocol \>\>\>\>\> C:\\Dokumente und Einstellungen\\wolfgang\>ri Dir.empty? ----------------------------------------------…

---

## [What regexp can split a string to argv](https://www.ruby-forum.com/t/what-regexp-can-split-a-string-to-argv/110403)

<div class="topic-metadata">

**Author:** [@haomiao](https://www.ruby-forum.com/u/haomiao)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/what-regexp-can-split-a-string-to-argv/110403 "2007-09-25T23:03:06Z")

</div>

Hi I want to split a string to a array like shell doing. And the double qote string must be support. For example '1 2 " 3 4 5" 6 ’ =\> \[‘1’, ‘2’, ‘2 4 5’, ‘6’\] ‘1 2 7"3 4 5"6’ =\> \[‘1’, ‘2’, ‘72 4 56’\] Can reg…

---

## [Ruby-debug: 1) @-sign, 2) v i \<object\>](https://www.ruby-forum.com/t/ruby-debug-1-sign-2-v-i-object/112103)

<div class="topic-metadata">

**Author:** [@axel](https://www.ruby-forum.com/u/axel)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/ruby-debug-1-sign-2-v-i-object/112103 "2007-09-25T23:03:05Z")

</div>

Hello, when using ruby-debug ( not the standard debugger coming with Ruby), I cannot get the @-sign typed. Is there a way to get it typed? I’m using: a German keyboard Windows XP pro ruby-debug 0.9.3 (running it fro…

---

## [Does a DRbObject run on server or client?](https://www.ruby-forum.com/t/does-a-drbobject-run-on-server-or-client/109615)

<div class="topic-metadata">

**Author:** [@Magicloud\_M](https://www.ruby-forum.com/u/Magicloud_M)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/does-a-drbobject-run-on-server-or-client/109615 "2007-09-25T23:02:41Z")

</div>

Dear all, When a client using a DRbObject, does it costs server’s resource (CPU, memory)? Thanks.

---

## [Splitting A String](https://www.ruby-forum.com/t/splitting-a-string/89010)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 20\
**Last updated:** [September 25, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/splitting-a-string/89010 "2007-09-25T23:02:39Z")

</div>

Hello, What’s a (good) way to convert this: ‘a quick “brown fox” jumped “over the lazy” dog’ into this: \[ ‘a’, ‘quick’, ‘brown fox’, ‘jumped’, ‘over the lazy’, ‘dog’ \] ? Thanks! Regards, Andy S.

---

## [Unable to load fireruby gem](https://www.ruby-forum.com/t/unable-to-load-fireruby-gem/114700)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/unable-to-load-fireruby-gem/114700 "2007-09-25T23:02:38Z")

</div>

I get the following error when trying to load fireruby, despite having used “sudo gem install fireruby” to install the gem and confirming that fr\_lib.so exists at the location pointed to by the path. I have the follow…

---

## [Tail, start reading at EOF](https://www.ruby-forum.com/t/tail-start-reading-at-eof/112701)

<div class="topic-metadata">

**Author:** [@RebhanS\_Gilbert](https://www.ruby-forum.com/u/RebhanS_Gilbert)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/tail-start-reading-at-eof/112701 "2007-09-25T23:02:36Z")

</div>

Hi, how to alter tail function to start at the end of the file, not reading the lines already existing in file ? = File = File.open(ARGV\[0\]) while File.exists?(file.path) puts file.gets while !file.eof? sleep(1) e…

---

## [How to implement a hash whose key is another hash?](https://www.ruby-forum.com/t/how-to-implement-a-hash-whose-key-is-another-hash/112527)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/how-to-implement-a-hash-whose-key-is-another-hash/112527 "2007-09-25T23:02:35Z")

</div>

I understand that the key of a hash can be any object. Therefore, I would think that the key of a hash can be another hash. If I have the following code sequence. (I using ruby 1.8.5 (2006-08-25) \[i486- linux\]) requi…

---

## [IO#gets(sep\_string) usage](https://www.ruby-forum.com/t/io-gets-sep-string-usage/114709)

<div class="topic-metadata">

**Author:** [@ZyLo](https://www.ruby-forum.com/u/ZyLo)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/io-gets-sep-string-usage/114709 "2007-09-25T23:02:32Z")

</div>

Hello all. I’m trying to use the gets function, only I want to read in a file and make separators any sort of punctuation(",", “:”, “\\n”, etc.). My problem is trying to understand how the sep\_string=$/ option is sup…

---

## [Why Ruby?](https://www.ruby-forum.com/t/why-ruby/65381)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/why-ruby/65381 "2007-09-25T23:02:29Z")

</div>

I was amazed to see no comments on Andy’s “Why Ruby?” blog entry: http://www.toolshed.com/blog/articles/2006/02/09/why-ruby

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

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