# Ruby

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

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

---

## [Minor Change Proposal for Classe 'UnboundMethod'](https://www.ruby-forum.com/t/minor-change-proposal-for-classe-unboundmethod/82691)

<div class="topic-metadata">

**Author:** [@wonado](https://www.ruby-forum.com/u/wonado)\
**Replies:** 0\
**Last updated:** [January 19, 2007, 6:55pm UTC](https://www.ruby-forum.com/t/minor-change-proposal-for-classe-unboundmethod/82691 "2007-01-19T18:55:31Z")

</div>

Minor Change Proposal for Classe ‘UnboundMethod’ I would like to make a small change suggestion on the class ‘UnboundMethod’. Background: The proposal is to add one or two additional methods for class ‘UnboundMeth…

---

## [DRb and catching connection close](https://www.ruby-forum.com/t/drb-and-catching-connection-close/82661)

<div class="topic-metadata">

**Author:** [@kwi](https://www.ruby-forum.com/u/kwi)\
**Replies:** 0\
**Last updated:** [January 19, 2007, 5:12pm UTC](https://www.ruby-forum.com/t/drb-and-catching-connection-close/82661 "2007-01-19T17:12:18Z")

</div>

Hello, I post here as i have a problem that i can’t fix with DRb, i made two (or more) servers connected together via DRb, and i want to catch the “connection close” event if a script bug or just exit. Drb raise an e…

---

## [Rb-appscript 0.3.0 released](https://www.ruby-forum.com/t/rb-appscript-0-3-0-released/82657)

<div class="topic-metadata">

**Author:** [@has](https://www.ruby-forum.com/u/has)\
**Replies:** 0\
**Last updated:** [January 19, 2007, 4:52pm UTC](https://www.ruby-forum.com/t/rb-appscript-0-3-0-released/82657 "2007-01-19T16:52:07Z")

</div>

Announcing the release of rb-appscript 0.3.0, a high-level, user-friendly Apple event bridge that allows you to control scriptable Mac OS X applications using ordinary Ruby scripts: http://rubyforge.org/frs/?group\_id=…

---

## [Rake, Hoe, Meta-Programming, and Warnings (oh my!)](https://www.ruby-forum.com/t/rake-hoe-meta-programming-and-warnings-oh-my/82336)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 7\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/rake-hoe-meta-programming-and-warnings-oh-my/82336 "2007-01-19T16:31:59Z")

</div>

Is there a way to disable specific warnings from within a Ruby program (not from the command line)? The warnings are coming from some meta-programming code that is redefining instance methods on the fly based on user …

---

## [Hash#open! / Hash#close!](https://www.ruby-forum.com/t/hash-open-hash-close/82244)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 8\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/hash-open-hash-close/82244 "2007-01-19T16:31:56Z")

</div>

hi– have a look: class Hash def open! class \<\< self @\_were\_public = public\_instance\_methods - \['close!'\] @\_were\_public.each { |m| private m } def method\_missing(s,\*a) if s.to\_s\[-1,1\] == '=' …

---

## [Eruby and charset](https://www.ruby-forum.com/t/eruby-and-charset/82637)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/eruby-and-charset/82637 "2007-01-19T16:31:54Z")

</div>

At the page : http://www.yvon-thoraval.com/eruby/index.rhtml the headers give : Content-type: text/html; charset=iso-8859-1 i don’t know where this info comes from, because it isn’t in my httpd.conf file and the fil…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/82636)

<div class="topic-metadata">

**Author:** [@Karl\_Lopes](https://www.ruby-forum.com/u/Karl_Lopes)\
**Replies:** 0\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/no-subject/82636 "2007-01-19T16:31:53Z")

</div>

unsubscribe

---

## ["soemthing".pluralize/at/from/... -\> NoMethodError](https://www.ruby-forum.com/t/soemthing-pluralize-at-from-nomethoderror/81800)

<div class="topic-metadata">

**Author:** [@dxk3355](https://www.ruby-forum.com/u/dxk3355)\
**Replies:** 10\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/soemthing-pluralize-at-from-nomethoderror/81800 "2007-01-19T16:31:53Z")

</div>

Hello, I’ve been wondering about this for some time now… Why don’t any of the following methods work: string.at/from/first/last/humanize/pluralize ? IRB returns: NoMethodError: undefined method \`pluralize’ for “somet…

---

## [TkConfigMethod#\_\_confinfo\_cmd should be private](https://www.ruby-forum.com/t/tkconfigmethod-confinfo-cmd-should-be-private/81257)

<div class="topic-metadata">

**Author:** [@okkez](https://www.ruby-forum.com/u/okkez)\
**Replies:** 2\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/tkconfigmethod-confinfo-cmd-should-be-private/81257 "2007-01-19T16:31:52Z")

</div>

e$B$3$s$P$s$O!#e(B okkeze$B$G$9!#e(B e$B%j%U%!%l%s%9%^%K%e%"%k$N:n6H$r$7$F$$$F5$$E$$$?$N$G$9$,!“e(B TkConfigMethod#\_\_confinfo\_cmd e$B$Oe(B private e$B$K$7$F$\*$/$Y$-$G$O$J$$$G$7$g$&$+!)e(B private :\_\_config\_cmd e$B$…

---

## [Ruby documentation browsing](https://www.ruby-forum.com/t/ruby-documentation-browsing/82369)

<div class="topic-metadata">

**Author:** [@gmarik](https://www.ruby-forum.com/u/gmarik)\
**Replies:** 3\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/ruby-documentation-browsing/82369 "2007-01-19T16:31:52Z")

</div>

Hi! I’m new to ruby, and Ruby rox. Being a new to Ruby i constantly look into documentation to get help and so on, but i don’t like the way i’m doing it now. So for gems there’s gem server - well it works for me just…

---

## [Ruby 1.8.2 install missing mkmf.rb on Red Hat Linux](https://www.ruby-forum.com/t/ruby-1-8-2-install-missing-mkmf-rb-on-red-hat-linux/82370)

<div class="topic-metadata">

**Author:** [@Bill\_McNeill](https://www.ruby-forum.com/u/Bill_McNeill)\
**Replies:** 5\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/ruby-1-8-2-install-missing-mkmf-rb-on-red-hat-linux/82370 "2007-01-19T16:31:49Z")

</div>

My version of Ruby on Red Hat Linux is missing mkmf.rb. $ irb irb(main):001:0\> require ‘mkmf’ LoadError: no such file to load – mkmf from (irb):1:in \`require’ from (irb):1 $ ls /usr/lib/ruby/1.8/mkmf.rb ls: /usr/l…

---

## [Performance comparison between screen scrapers](https://www.ruby-forum.com/t/performance-comparison-between-screen-scrapers/81684)

<div class="topic-metadata">

**Author:** [@chuboy](https://www.ruby-forum.com/u/chuboy)\
**Replies:** 3\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/performance-comparison-between-screen-scrapers/81684 "2007-01-19T16:31:48Z")

</div>

Does anyone know how the following screen scrapers perform against one another? ScrAPI RubyfulSoup HTree Hpricot I’m trying to write up a tool where a person enters in a URL, and I use an AJAX call to scrape the con…

---

## [IO#lineno always returns 0](https://www.ruby-forum.com/t/io-lineno-always-returns-0/81019)

<div class="topic-metadata">

**Author:** [@Minero\_A](https://www.ruby-forum.com/u/Minero_A)\
**Replies:** 3\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/io-lineno-always-returns-0/81019 "2007-01-19T16:31:46Z")

</div>

e$B@DLZ$G$9!#e(B HEAD e$B$Ge(B IO#lineno e$B$,\>o$Ke(B 0 e$B$rJV$9$h$&$K$J$C$F$$$^$9!#e(B ~/c/bitclust % rm -f tmp ~/c/bitclust % echo a \> tmp ~/c/bitclust % echo b \>\> tmp ~/c/bitclust % echo c \>\> tmp ~/c/bitclust %…

---

## [Array#modified](https://www.ruby-forum.com/t/array-modified/81824)

<div class="topic-metadata">

**Author:** [@juozas](https://www.ruby-forum.com/u/juozas)\
**Replies:** 8\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/array-modified/81824 "2007-01-19T16:31:46Z")

</div>

I’m looking for a simple and short solution/library that does this: a = \[\] def a.modified puts “Array a changed” end a \<\< ‘x’ puts a a\[0\] = ‘y’ puts a ----OUTPUT---- Array a changed x Array a changed y

---

## [A loop within another loop](https://www.ruby-forum.com/t/a-loop-within-another-loop/81720)

<div class="topic-metadata">

**Author:** [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Replies:** 3\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/a-loop-within-another-loop/81720 "2007-01-19T16:31:39Z")

</div>

Hi. Hopefully you will see the code and see what I’m trying to do, and see the problem. The loop seems messy, but my method to help with eye strain is to match up the do-end’s down an imaginary column… ie: array.each …

---

## [Splitting a multirecord per file format to a single record p](https://www.ruby-forum.com/t/splitting-a-multirecord-per-file-format-to-a-single-record-p/82423)

<div class="topic-metadata">

**Author:** [@randy\_k](https://www.ruby-forum.com/u/randy_k)\
**Replies:** 2\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/splitting-a-multirecord-per-file-format-to-a-single-record-p/82423 "2007-01-19T16:31:39Z")

</div>

I’m trying to write essentially what I guess you’d call a filter (or maybe not quite exactly). It needs to: read multi-line records from a file (one record at a time) then, with that one record: prepend some additi…

---

## [RSpec 0.7.5.1](https://www.ruby-forum.com/t/rspec-0-7-5-1/82605)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 0\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/rspec-0-7-5-1/82605 "2007-01-19T16:31:38Z")

</div>

Announcing the release of RSpec 0.7.5.1. This release fixes a bug that prevents you from installing RSpec with rubygems 0.9.1. It does not include any other fixes, so we do not recommend that you upgrade to this if yo…

---

## [Webgen 0.4.1](https://www.ruby-forum.com/t/webgen-0-4-1/82607)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 0\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/webgen-0-4-1/82607 "2007-01-19T16:31:38Z")

</div>

Hi, just wanna let you know that I have released webgen 0.4.1, a minor release that fixes some issues! Specifically, webgen should run properly under Windows now! See http://webgen.rubyforge.org/news.html for the cha…

---

## [Optional Dependencies in Rubygems](https://www.ruby-forum.com/t/optional-dependencies-in-rubygems/82596)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 1\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/optional-dependencies-in-rubygems/82596 "2007-01-19T16:31:36Z")

</div>

Ok, so after the long Hoe discussion, I have decided to add optional/developer-time dependencies to ruby-gems. The first implementation will be purely for developer-dependencies, not for optional “This will be faster …

---

## [Sharing constants between C and Ruby code](https://www.ruby-forum.com/t/sharing-constants-between-c-and-ruby-code/81691)

<div class="topic-metadata">

**Author:** [@ntalbott](https://www.ruby-forum.com/u/ntalbott)\
**Replies:** 9\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/sharing-constants-between-c-and-ruby-code/81691 "2007-01-19T16:31:35Z")

</div>

Hello, I’m new to ruby, but fairly experienced in C. I am using Ruby on Rails to chat to a postgres database. I have some C functions that I can run in the database backend. I would like to use constants defined in C …

---

## [Curb 0.1.2](https://www.ruby-forum.com/t/curb-0-1-2/82595)

<div class="topic-metadata">

**Author:** [@ross\_b](https://www.ruby-forum.com/u/ross_b)\
**Replies:** 0\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/curb-0-1-2/82595 "2007-01-19T16:31:33Z")

</div>

Curb 0.1.2 is now available from the curb project on Rubyforge (http://curb.rubyforge.org). Curb provides easy to use bindings to the libcurl URL transfer library. This release fixes a bug when compiling against libcu…

---

## [Class Variable Confusion](https://www.ruby-forum.com/t/class-variable-confusion/80164)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 11\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/class-variable-confusion/80164 "2007-01-19T16:31:33Z")

</div>

I generally avoid class variables but at the last meeting of the New Haven Ruby Brigade a simple question about them led to a long discussion and irb session that only served to confuse us all more. I’m hoping someone…

---

## [Ide](https://www.ruby-forum.com/t/ide/81747)

<div class="topic-metadata">

**Author:** [@madsurfer](https://www.ruby-forum.com/u/madsurfer)\
**Replies:** 2\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/ide/81747 "2007-01-19T16:31:32Z")

</div>

Hi I was wishing to get an IDE to use with ruby, after trying eclipse (which appears to be good but complicated) I thought about using Mondrian. After downloading it for my Ubuntu I went ahead to try install it. Afte…

---

## [Installing FileUtils Module](https://www.ruby-forum.com/t/installing-fileutils-module/82491)

<div class="topic-metadata">

**Author:** [@lmcilwain](https://www.ruby-forum.com/u/lmcilwain)\
**Replies:** 1\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/installing-fileutils-module/82491 "2007-01-19T16:31:31Z")

</div>

Does anyone know how I can install the fileutils module for ruby? or tell me how I can check to see if I already have it installed be default?

---

## [Threading nightmare](https://www.ruby-forum.com/t/threading-nightmare/81651)

<div class="topic-metadata">

**Author:** [@Thiago\_J](https://www.ruby-forum.com/u/Thiago_J)\
**Replies:** 5\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/threading-nightmare/81651 "2007-01-19T16:31:31Z")

</div>

The scenario (for test purposes) I’m trying to accomplish when running rake on a new Rakefile is: start a java server (which doesn’t have an option to ‘daemonize’ it) and get its pid interact with the server by sendi…

---

## [RubyLex fails to read "#{Time.now.strftime("%m/%d")}"](https://www.ruby-forum.com/t/rubylex-fails-to-read-time-now-strftime-m-d/82452)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 2\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/rubylex-fails-to-read-time-now-strftime-m-d/82452 "2007-01-19T16:31:30Z")

</div>

e$B$\`$H$&$G$9!#e(B RubyLexe$B$r;H$o$5$;$F$$$?$@$$$F$$$k$N$G$9$,e(B “#{Time.now.strftime(”%m/%d")}" e$B$H$$$&7A\<0$NJ8;zNs$,$"$k\>l9g!"%7%s%?%C%/%9%(%i!\<$K$J$j$^$9!#e(B e$B0J2\<$N$h$&$K$9$k$H:F8=$7$^$9!#e(B % ruby -rirb…

---

## [Ruby + Glade](https://www.ruby-forum.com/t/ruby-glade/81594)

<div class="topic-metadata">

**Author:** [@lmcdougal](https://www.ruby-forum.com/u/lmcdougal)\
**Replies:** 3\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/ruby-glade/81594 "2007-01-19T16:31:30Z")

</div>

Hello, I was wondering if anyone knows about a tutorial which explains how to use ruby and glade. I searched on google and the archives of this mailing list as well as I could, but I haven’t found much. –lf – “Wha…

---

## [Script Exiting Unexpectedly](https://www.ruby-forum.com/t/script-exiting-unexpectedly/82578)

<div class="topic-metadata">

**Author:** [@gregarican](https://www.ruby-forum.com/u/gregarican)\
**Replies:** 0\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/script-exiting-unexpectedly/82578 "2007-01-19T16:31:29Z")

</div>

A script I wrote checks incoming caller ID’s against Microsoft Outlook’s Contact list. What I’ve found is that without explicitly including a ‘return’ line in the conditional routine the script exits unexpectedly. I’v…

---

## [Cooloptions 1.1.0 Released](https://www.ruby-forum.com/t/cooloptions-1-1-0-released/81653)

<div class="topic-metadata">

**Author:** [@ntalbott](https://www.ruby-forum.com/u/ntalbott)\
**Replies:** 6\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/cooloptions-1-1-0-released/81653 "2007-01-19T16:31:25Z")

</div>

cooloptions version 1.1.0 has been released! http://cooloptions.rubyforge.org/ As a huge fan of optparse due to its flexibility, self-documenting nature, and ease of use, I nevertheless found myself doing almost the …

---

## [Re: unsubscribe](https://www.ruby-forum.com/t/re-unsubscribe/81214)

<div class="topic-metadata">

**Author:** [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Replies:** 2\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/re-unsubscribe/81214 "2007-01-19T16:31:24Z")

</div>

It’s BROKEN. I’ve tried this many times, in many ways. ----- Original Message ---- From: Mat S. removed\_email\_address@domain.invalid To: ruby-talk ML removed\_email\_address@domain.invalid Sent: Thursday, January 4, 20…

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

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