# Ruby

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

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

---

## [Rhdl 0.5.0](https://www.ruby-forum.com/t/rhdl-0-5-0/98798)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [July 18, 2006, 2:54pm UTC](https://www.ruby-forum.com/t/rhdl-0-5-0/98798 "2006-07-18T14:54:05Z")

</div>

What is it? RHDL (Ruby Hardware Description Language) is a DSL for describing and simulating digital circuits. It looks very similar to VHDL. Where does it live? http://rhdl.rubyforge.org/ “Why should I be interest…

---

## [How to call system having trap("CHLD", "IGNORE")?](https://www.ruby-forum.com/t/how-to-call-system-having-trap-chld-ignore/98726)

<div class="topic-metadata">

**Author:** [@elgato](https://www.ruby-forum.com/u/elgato)\
**Replies:** 4\
**Last updated:** [July 18, 2006, 1:29pm UTC](https://www.ruby-forum.com/t/how-to-call-system-having-trap-chld-ignore/98726 "2006-07-18T13:29:42Z")

</div>

Hi all, doing some forks I want to ignore SIGCHLD. But trap(“CHLD”, “IGNORE”) system “echo” ends in ruby 1.8.2 (2005-04-11) \[i386-linux\] with a following error: in \`system’: no implicit conversion from nil to intege…

---

## [\[newbie\] in place file editing and ! meaning](https://www.ruby-forum.com/t/newbie-in-place-file-editing-and-meaning/98776)

<div class="topic-metadata">

**Author:** [@xhanin](https://www.ruby-forum.com/u/xhanin)\
**Replies:** 11\
**Last updated:** [July 18, 2006, 11:57am UTC](https://www.ruby-forum.com/t/newbie-in-place-file-editing-and-meaning/98776 "2006-07-18T11:57:09Z")

</div>

Hi all, I’m brand new to ruby, and I’m looking for a way to open a file, read its content and modify it. I’ve seen that I can open a file in read write mode, but I can’t figure out how it works. If I want to replace …

---

## [Uninstalling/upgrading Ruby](https://www.ruby-forum.com/t/uninstalling-upgrading-ruby/98767)

<div class="topic-metadata">

**Author:** [@digitalpodcast](https://www.ruby-forum.com/u/digitalpodcast)\
**Replies:** 4\
**Last updated:** [July 18, 2006, 9:46am UTC](https://www.ruby-forum.com/t/uninstalling-upgrading-ruby/98767 "2006-07-18T09:46:10Z")

</div>

Hi, I have Ruby 1.8.2 installed on a RHEL 3 server from the tarball, install with the usual make/make install procedure. How can I uninstall Ruby so I can install Ruby 1.8.4 ? Also, can you tell how could I build a R…

---

## [Another LLP64 problems](https://www.ruby-forum.com/t/another-llp64-problems/98717)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 1\
**Last updated:** [July 18, 2006, 8:07am UTC](https://www.ruby-forum.com/t/another-llp64-problems/98717 "2006-07-18T08:07:20Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B FIX2LONGe$B\<~$j$NOC$r=|$1$P!"e(BIL32LLP64e$BBP1~$NLdBjE@$Oe(B(e$B$?$V$se(B)e$B$3$le(B e$B$,:G8e$G$9!#e(B (1) e$BA0$K$bEj$2$?5$$,$7$^$9$,!"e(Bintern.he$B$Ne(Bst\_foreach…

---

## [Wsdl2ruby.rb problem on Windows](https://www.ruby-forum.com/t/wsdl2ruby-rb-problem-on-windows/98788)

<div class="topic-metadata">

**Author:** [@James\_Toomey](https://www.ruby-forum.com/u/James_Toomey)\
**Replies:** 3\
**Last updated:** [July 18, 2006, 6:47am UTC](https://www.ruby-forum.com/t/wsdl2ruby-rb-problem-on-windows/98788 "2006-07-18T06:47:00Z")

</div>

An earlier post mentioned that whenever he runs wsdl2ruby.rb, “even when it appears to think about it for a few seconds, I don’t get any output.” He later says, “Yup, I am an idiot. The wsdl2ruby.rb I need to execute …

---

## [Displaying all errors](https://www.ruby-forum.com/t/displaying-all-errors/98725)

<div class="topic-metadata">

**Author:** [@the-companion](https://www.ruby-forum.com/u/the-companion)\
**Replies:** 2\
**Last updated:** [July 18, 2006, 4:46am UTC](https://www.ruby-forum.com/t/displaying-all-errors/98725 "2006-07-18T04:46:16Z")

</div>

When running a program from the command-line, I get the following errors: from /usr/local/lib/site\_ruby/1.8/wordnet/lexicon.rb:211:in lookupSynsetsByKey' from /usr/local/lib/site\_ruby/1.8/wordnet/lexicon.rb:209:ineach…

---

## [WEBrick::HTTPServer::unmount](https://www.ruby-forum.com/t/webrick-unmount/98704)

<div class="topic-metadata">

**Author:** [@Masatoshi\_SEKI](https://www.ruby-forum.com/u/Masatoshi_SEKI)\
**Replies:** 1\
**Last updated:** [July 18, 2006, 3:54am UTC](https://www.ruby-forum.com/t/webrick-unmount/98704 "2006-07-18T03:54:05Z")

</div>

e$B31$H$$$$$^$9!#e(B 1.8e$B7O$Ne(BWEBricke$B$Ne(Bhttpserver.rbe$B$Ne(Bsprintfe$B$N0z?t$N?t$,B?$$$h$&$G$9!#e(B inspecte$B$rEO$5$J$-$c$$$$$N$+$J$!!#e(B RCS file: /var/cvs/src/ruby/lib/webrick/httpserver.rb,v retrieving…

---

## [Re: Initializing a DateTime object the best way](https://www.ruby-forum.com/t/re-initializing-a-datetime-object-the-best-way/98774)

<div class="topic-metadata">

**Author:** [@daveh](https://www.ruby-forum.com/u/daveh)\
**Replies:** 0\
**Last updated:** [July 18, 2006, 2:40am UTC](https://www.ruby-forum.com/t/re-initializing-a-datetime-object-the-best-way/98774 "2006-07-18T02:40:04Z")

</div>

On Jul 17, 2006, at 16:35, S Wayne wrote: This is an interesting conversation. Can you tell me where this DateTime class or the civil method comes from? require ‘date’

---

## [Ruby code to control Russound CAV6.6](https://www.ruby-forum.com/t/ruby-code-to-control-russound-cav6-6/98746)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 2\
**Last updated:** [July 18, 2006, 2:06am UTC](https://www.ruby-forum.com/t/ruby-code-to-control-russound-cav6-6/98746 "2006-07-18T02:06:08Z")

</div>

I’m (finally) starting to set up my home for automated electronics. The first bit I’m working on will be for the Russound CAV6.6, though (looking at their various API documents) it should be largely applicable to vari…

---

## [Net/http performance](https://www.ruby-forum.com/t/net-http-performance/98516)

<div class="topic-metadata">

**Author:** [@hagus](https://www.ruby-forum.com/u/hagus)\
**Replies:** 14\
**Last updated:** [July 18, 2006, 12:12am UTC](https://www.ruby-forum.com/t/net-http-performance/98516 "2006-07-18T00:12:33Z")

</div>

(notes: I posted this to comp.lang.ruby, figuring it would filter through to appropriate mailing lists, but it did not). It seems that net/http’s implementation is extremely inefficient when it comes to dealing with l…

---

## [Initializing a DateTime object the best way](https://www.ruby-forum.com/t/initializing-a-datetime-object-the-best-way/98748)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [July 18, 2006, 12:05am UTC](https://www.ruby-forum.com/t/initializing-a-datetime-object-the-best-way/98748 "2006-07-18T00:05:26Z")

</div>

Wow - dates and times sure are all over the place in Ruby. I want to initialize a DateTime object to have MDY of 12/30/1899 but time components matching the current time. I’ve tried: DateTime.strptime("%Y-%m-%d %h:%M…

---

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

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 1\
**Last updated:** [July 17, 2006, 10:42pm UTC](https://www.ruby-forum.com/t/no-subject/98736 "2006-07-17T22:42:40Z")

</div>

I have a server that is dedicated solely for running a single ruby application. Is there a ruby configuration file that I can change to help speed ruby up and take as much resources as it needs? Basically make sure…

---

## [Re: How to speed up ruby and make it as fast as possible](https://www.ruby-forum.com/t/re-how-to-speed-up-ruby-and-make-it-as-fast-as-possible/98452)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 24\
**Last updated:** [July 17, 2006, 10:06pm UTC](https://www.ruby-forum.com/t/re-how-to-speed-up-ruby-and-make-it-as-fast-as-possible/98452 "2006-07-17T22:06:40Z")

</div>

Certainly, Ruby performance is not always a problem. It may not even be a problem in most situations. The issue arises enough on the list, however, that, combined with personal experience, I am convinced it is a sig…

---

## [First ruby code, need hint on iterator](https://www.ruby-forum.com/t/first-ruby-code-need-hint-on-iterator/98684)

<div class="topic-metadata">

**Author:** [@Gerr](https://www.ruby-forum.com/u/Gerr)\
**Replies:** 4\
**Last updated:** [July 17, 2006, 9:52pm UTC](https://www.ruby-forum.com/t/first-ruby-code-need-hint-on-iterator/98684 "2006-07-17T21:52:50Z")

</div>

Hello, Consider the following code which generates a hexdump of a string: #!/usr/bin/ruby module Dump def hexdump x = 0 offset = 0 hex = "" str = "" o…

---

## [End of file](https://www.ruby-forum.com/t/end-of-file/98735)

<div class="topic-metadata">

**Author:** [@parvg](https://www.ruby-forum.com/u/parvg)\
**Replies:** 0\
**Last updated:** [July 17, 2006, 9:15pm UTC](https://www.ruby-forum.com/t/end-of-file/98735 "2006-07-17T21:15:12Z")

</div>

Can somebody body give me an idea on how to detect end of file in excel using ruby? I’m using ‘win32ole’ to open the file and write to it. Thanks for your help. parv.

---

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

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 0\
**Last updated:** [July 17, 2006, 9:07pm UTC](https://www.ruby-forum.com/t/no-subject/98734 "2006-07-17T21:07:42Z")

</div>

Daniel B. wrote: Well, the idea is that the 3rd party software is going to be using whatever classes it has always used, so just creating a subclass doesn’t get me anywhere because the 3rd party app (i.e. Rails) do…

---

## [Ruby Gems and the Mysterious 403 Error](https://www.ruby-forum.com/t/ruby-gems-and-the-mysterious-403-error/98694)

<div class="topic-metadata">

**Author:** [@Derek\_Perrault](https://www.ruby-forum.com/u/Derek_Perrault)\
**Replies:** 2\
**Last updated:** [July 17, 2006, 8:30pm UTC](https://www.ruby-forum.com/t/ruby-gems-and-the-mysterious-403-error/98694 "2006-07-17T20:30:23Z")

</div>

Hello all. When I attempt to install any remote gem, I get the following error: ERROR: While executing gem … (OpenURI::HTTPError) 403 Forbidden I first noticed this a couple weeks ago. This is a Windows XP system. …

---

## [Ruby for office database application](https://www.ruby-forum.com/t/ruby-for-office-database-application/98565)

<div class="topic-metadata">

**Author:** [@pedx78](https://www.ruby-forum.com/u/pedx78)\
**Replies:** 5\
**Last updated:** [July 17, 2006, 8:17pm UTC](https://www.ruby-forum.com/t/ruby-for-office-database-application/98565 "2006-07-17T20:17:17Z")

</div>

Hi, I have volunteered at my local charity to develop a database application, which keeps track of contacts, donations, organizations etc. i decided to use ruby for the job My question now is what frontend/approach …

---

## [Mystery regexp](https://www.ruby-forum.com/t/mystery-regexp/98720)

<div class="topic-metadata">

**Author:** [@stevetooke](https://www.ruby-forum.com/u/stevetooke)\
**Replies:** 4\
**Last updated:** [July 17, 2006, 7:52pm UTC](https://www.ruby-forum.com/t/mystery-regexp/98720 "2006-07-17T19:52:32Z")

</div>

I found this regexp in the docs for the OptionParser class, and I don’t understand it. Google hasn’t helped, nor has the Pickaxe, so I thought I would ask here. The purpose of the code is to ensure that a file exten…

---

## [Net::HTTP client side sessions?](https://www.ruby-forum.com/t/net-http-client-side-sessions/98618)

<div class="topic-metadata">

**Author:** [@brez](https://www.ruby-forum.com/u/brez)\
**Replies:** 2\
**Last updated:** [July 17, 2006, 7:38pm UTC](https://www.ruby-forum.com/t/net-http-client-side-sessions/98618 "2006-07-17T19:38:50Z")

</div>

Been looking through Net::HTTP for a way to manage a session \[i.e. cookies\] on the client side but haven’t had much luck… Could anyone point me in the right direction for a way to \[short of writing it from scratch of …

---

## [RubySSPI 0.0.2 - Enabling Windows NTLM/Negotiate proxy authe](https://www.ruby-forum.com/t/rubysspi-0-0-2-enabling-windows-ntlm-negotiate-proxy-authe/98718)

<div class="topic-metadata">

**Author:** [@vtphysguy](https://www.ruby-forum.com/u/vtphysguy)\
**Replies:** 0\
**Last updated:** [July 17, 2006, 7:16pm UTC](https://www.ruby-forum.com/t/rubysspi-0-0-2-enabling-windows-ntlm-negotiate-proxy-authe/98718 "2006-07-17T19:16:53Z")

</div>

= What’s New A small release for my library, which now provides a file that can be copied into site\_ruby and used to enable proxy authentication from the command line for any ruby script. = Where to find it Hosted…

---

## [Save me from the method\_missing](https://www.ruby-forum.com/t/save-me-from-the-method-missing/98575)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [July 17, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/save-me-from-the-method-missing/98575 "2006-07-17T19:09:47Z")

</div>

I’m find the the whole method\_missing, privative clashing methods, except essential ones, call send otherwise . . . is just a pain. The whole thing is just to have that nice interface “obj.foo, obj.foo=x”. That might …

---

## [Segmentation fault in Float("very very long string")](https://www.ruby-forum.com/t/segmentation-fault-in-float-very-very-long-string/98709)

<div class="topic-metadata">

**Author:** [@sugie](https://www.ruby-forum.com/u/sugie)\
**Replies:** 2\
**Last updated:** [July 17, 2006, 7:00pm UTC](https://www.ruby-forum.com/t/segmentation-fault-in-float-very-very-long-string/98709 "2006-07-17T19:00:13Z")

</div>

e$B$3$s$P$s$O!#:XF#$H?=$7$^$9!#e(B e$B$U$J$P$5$s$K462=$5$l$Fe(B(?)trunke$B$Ne(BFloat()e$B$r$$$8$a$F$$$?$i!“e(BSEGVe$B$K$J$C$Fe(B e$BMn$A$^$7$?$N$GJs9p$5$;$F$$$?$@$-$^$9!#$^$?e(B1.8e$B$N:G?7HG$G$b!”\<c43;w$?e(B e$B46$8$…

---

## [Northern Virginia Ruby user's group meeting 7/19/06](https://www.ruby-forum.com/t/northern-virginia-ruby-users-group-meeting-7-19-06/98702)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 0\
**Last updated:** [July 17, 2006, 5:18pm UTC](https://www.ruby-forum.com/t/northern-virginia-ruby-users-group-meeting-7-19-06/98702 "2006-07-17T17:18:52Z")

</div>

Hi all - For those in the northern Virginia/DC area, there’s a Ruby user’s group meeting on Wednesday with presentations on RJS and Drb. More details are here: http://novarug.org/ See you there! Yours, Tom

---

## [SOAP4r](https://www.ruby-forum.com/t/soap4r/95018)

<div class="topic-metadata">

**Author:** [@Franz\_Bettag](https://www.ruby-forum.com/u/Franz_Bettag)\
**Replies:** 1\
**Last updated:** [July 17, 2006, 3:40pm UTC](https://www.ruby-forum.com/t/soap4r/95018 "2006-07-17T15:40:28Z")

</div>

.oO(dexta@euphoria ~) soap4r-1\_5\_5/bin/wsdl2ruby.rb --type client –force --wsdl “https://test-api.geotrust.com/webtrust/query.jws?WSDL” at depth 1 - 19: self signed certificate in certificate chain F, \[2006-05-19T12:1…

---

## [Strangeness with ruby-web and sqlite3](https://www.ruby-forum.com/t/strangeness-with-ruby-web-and-sqlite3/98680)

<div class="topic-metadata">

**Author:** [@Harold\_H](https://www.ruby-forum.com/u/Harold_H)\
**Replies:** 2\
**Last updated:** [July 17, 2006, 3:37pm UTC](https://www.ruby-forum.com/t/strangeness-with-ruby-web-and-sqlite3/98680 "2006-07-17T15:37:04Z")

</div>

Hello everyone, I’m getting everything up and running on win32 with ruby-web and sqlite3. I’ve gotten quite far and everything was going even smoother than expected until I ran into the strangeness I’m seeing now and …

---

## [Catch ^c/signals? blocks?](https://www.ruby-forum.com/t/catch-c-signals-blocks/98668)

<div class="topic-metadata">

**Author:** [@eliteforce](https://www.ruby-forum.com/u/eliteforce)\
**Replies:** 5\
**Last updated:** [July 17, 2006, 1:00pm UTC](https://www.ruby-forum.com/t/catch-c-signals-blocks/98668 "2006-07-17T13:00:03Z")

</div>

Hello, I’m kinda new to ruby and have a few questions. If i run a ruby script it can be interrupted with ^c or signals (e.g. killall ruby"). Is it possible to catch those to do cleanup stuff before exiting? Whats th…

---

## [Alias new?](https://www.ruby-forum.com/t/alias-new/98045)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 5\
**Last updated:** [July 17, 2006, 11:34am UTC](https://www.ruby-forum.com/t/alias-new/98045 "2006-07-17T11:34:35Z")

</div>

I’ve seen this work before: module MagicWithMethodMissing alias\_method :\_\_orig\_method\_missing, :method\_missing def method\_missing(sym, \*args, &block) if some\_condition #do special stuff else \_\_orig\_method\_missing(…

---

## [BigDecimal](https://www.ruby-forum.com/t/bigdecimal/98666)

<div class="topic-metadata">

**Author:** [@Tadayoshi\_F](https://www.ruby-forum.com/u/Tadayoshi_F)\
**Replies:** 0\
**Last updated:** [July 17, 2006, 10:57am UTC](https://www.ruby-forum.com/t/bigdecimal/98666 "2006-07-17T10:57:48Z")

</div>

e$B$U$J$P$G$9!#e(B BigDecimal e$B$K$D$$$F;W$C$?$3$H$r$@$i$@$i$H=q$-$^$9!#e(B e$B$^$:!"e(Brequire ‘bigdecimal/util’ e$B$9$k$N$,\>/$7LLE\]$J$s$G$9$,!“K\\BN$HJL$Ke(B e$B$9$k0UL#$O$”$k$N$G$7$g$&$+!#!#$^$?!"e(Brequire ‘bigde…

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

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