# Ruby

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

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

---

## [Delphi programmers opinions on Ruby widget libraries : Fox,](https://www.ruby-forum.com/t/delphi-programmers-opinions-on-ruby-widget-libraries-fox/85987)

<div class="topic-metadata">

**Author:** [@russianbandit](https://www.ruby-forum.com/u/russianbandit)\
**Replies:** 3\
**Last updated:** [February 20, 2007, 12:16am UTC](https://www.ruby-forum.com/t/delphi-programmers-opinions-on-ruby-widget-libraries-fox/85987 "2007-02-20T00:16:13Z")

</div>

Hi folks, I used to program in Delphi, and was spoiled by its fabulous UI programming abilities. I’m now considering learning a widget toolkit. They all have their pluses and minuses. But what I would love to know, …

---

## [The peak of the iceberg, was Range cannot loop down and RCR](https://www.ruby-forum.com/t/the-peak-of-the-iceberg-was-range-cannot-loop-down-and-rcr/86043)

<div class="topic-metadata">

**Author:** [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Replies:** 9\
**Last updated:** [February 19, 2007, 11:28pm UTC](https://www.ruby-forum.com/t/the-peak-of-the-iceberg-was-range-cannot-loop-down-and-rcr/86043 "2007-02-19T23:28:07Z")

</div>

Hi all I was just following the thread about “loop cannot count down” and was about to propose a monkey patched method which might have been convenient for the poster. Like e.g. Range#each\_down (bad name I know). T…

---

## [Bus errors & segfaults](https://www.ruby-forum.com/t/bus-errors-segfaults/86099)

<div class="topic-metadata">

**Author:** [@blakeage](https://www.ruby-forum.com/u/blakeage)\
**Replies:** 4\
**Last updated:** [February 19, 2007, 11:19pm UTC](https://www.ruby-forum.com/t/bus-errors-segfaults/86099 "2007-02-19T23:19:04Z")

</div>

I’ve been getting daily Bus Errors on various ruby classes, which is crashing our Mongrel server pretty much every day. Here is an example error: ruby(15833,0xa000ed88) malloc: \*\*\* error for object 0x41b20d0: pointer …

---

## [For loops don't count down](https://www.ruby-forum.com/t/for-loops-dont-count-down/86028)

<div class="topic-metadata">

**Author:** [@michaelb](https://www.ruby-forum.com/u/michaelb)\
**Replies:** 24\
**Last updated:** [February 19, 2007, 10:44pm UTC](https://www.ruby-forum.com/t/for-loops-dont-count-down/86028 "2007-02-19T22:44:59Z")

</div>

Hello: I just started learning Ruby. I like it’s OOness however I’ve run across an unusual quirk with the “for loop” that. The “for loop” can count up through a series of numbers, like so: for number in (1…5) puts…

---

## [Israeli Technion, Haifa Ruby users?](https://www.ruby-forum.com/t/israeli-technion-haifa-ruby-users/85369)

<div class="topic-metadata">

**Author:** [@SonOfLilit](https://www.ruby-forum.com/u/SonOfLilit)\
**Replies:** 1\
**Last updated:** [February 19, 2007, 10:19pm UTC](https://www.ruby-forum.com/t/israeli-technion-haifa-ruby-users/85369 "2007-02-19T22:19:53Z")

</div>

Any other Rubyists at the Israeli Technion, Haifa? Aur S.

---

## [Cgi / fcgi?](https://www.ruby-forum.com/t/cgi-fcgi/86029)

<div class="topic-metadata">

**Author:** [@ktheory](https://www.ruby-forum.com/u/ktheory)\
**Replies:** 2\
**Last updated:** [February 19, 2007, 8:07pm UTC](https://www.ruby-forum.com/t/cgi-fcgi/86029 "2007-02-19T20:07:35Z")

</div>

Forgive me for my newbiness. I’ve never had to deal with cgi’s before. I understand that fcgi is supposed to make cgi faster. But in the case of ruby, when i’m handling a request that was made to an fcgi. Do I handle …

---

## [Nyc.rb does video](https://www.ruby-forum.com/t/nyc-rb-does-video/86088)

<div class="topic-metadata">

**Author:** [@Trotter\_Cashion](https://www.ruby-forum.com/u/Trotter_Cashion)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/nyc-rb-does-video/86088 "2007-02-19T20:06:36Z")

</div>

Everyone, Last Tuesday was the third anniversary of nyc.rb and the first with video. Francis H. gave a testing clinic, and I gave a talk on refactoring. The videos are available here: http://www.motionbox.com/playl…

---

## [Pine's tutorial "Word Sorter" exercise](https://www.ruby-forum.com/t/pines-tutorial-word-sorter-exercise/86090)

<div class="topic-metadata">

**Author:** [@Randy\_Shipp](https://www.ruby-forum.com/u/Randy_Shipp)\
**Replies:** 1\
**Last updated:** [February 19, 2007, 7:54pm UTC](https://www.ruby-forum.com/t/pines-tutorial-word-sorter-exercise/86090 "2007-02-19T19:54:36Z")

</div>

On Apr 1 2006, 8:12 pm, Jan\_K removed\_email\_address@domain.invalid wrote: puts input.sort To reset slightly, this is an exercise that tells you to accept words from the user until they just hit Enter, then alphabeti…

---

## [Byte array to string](https://www.ruby-forum.com/t/byte-array-to-string/86080)

<div class="topic-metadata">

**Author:** [@jimb](https://www.ruby-forum.com/u/jimb)\
**Replies:** 3\
**Last updated:** [February 19, 2007, 7:51pm UTC](https://www.ruby-forum.com/t/byte-array-to-string/86080 "2007-02-19T19:51:48Z")

</div>

I’m sure the must be code for this already without me having to go through the array byte by byte. I have an array of bytes, I need to print this as a string? Note the array does not contain text. Thanks, Jim

---

## [New Jersey Ruby Meeting February 20th 6pm](https://www.ruby-forum.com/t/new-jersey-ruby-meeting-february-20th-6pm/86085)

<div class="topic-metadata">

**Author:** [@eckie](https://www.ruby-forum.com/u/eckie)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 7:32pm UTC](https://www.ruby-forum.com/t/new-jersey-ruby-meeting-february-20th-6pm/86085 "2007-02-19T19:32:02Z")

</div>

Hey y’all, Just wanted to remind everyone that New Jersey Ruby will be having its next meeting on Tuesday, February 20th, 6pm at the Panera’s in Denville. More information can be found at the following site: And ou…

---

## [Doc to PDF/HTML converter plugins available in Ruby?](https://www.ruby-forum.com/t/doc-to-pdf-html-converter-plugins-available-in-ruby/85985)

<div class="topic-metadata">

**Author:** [@Invincible\_C](https://www.ruby-forum.com/u/Invincible_C)\
**Replies:** 14\
**Last updated:** [February 19, 2007, 6:58pm UTC](https://www.ruby-forum.com/t/doc-to-pdf-html-converter-plugins-available-in-ruby/85985 "2007-02-19T18:58:25Z")

</div>

Hi, Are there any .doc to pdf and html comverter library available in Ruby? Thanks in advance, Invincible

---

## [Answer: Module that includes both class and instance methods](https://www.ruby-forum.com/t/answer-module-that-includes-both-class-and-instance-methods/86026)

<div class="topic-metadata">

**Author:** [@sjmadsen](https://www.ruby-forum.com/u/sjmadsen)\
**Replies:** 1\
**Last updated:** [February 19, 2007, 6:14pm UTC](https://www.ruby-forum.com/t/answer-module-that-includes-both-class-and-instance-methods/86026 "2007-02-19T18:14:20Z")

</div>

Hello, After an hour of farting around trying to figure this out, of course I do figure it out 20 seconds after writing to the list. Well, here’s one solution to my issue - I’d still love to see a one-line solution if …

---

## [From byte array to integer](https://www.ruby-forum.com/t/from-byte-array-to-integer/86068)

<div class="topic-metadata">

**Author:** [@jimb](https://www.ruby-forum.com/u/jimb)\
**Replies:** 2\
**Last updated:** [February 19, 2007, 5:40pm UTC](https://www.ruby-forum.com/t/from-byte-array-to-integer/86068 "2007-02-19T17:40:34Z")

</div>

Still got my C head on: How in Ruby would I go about extracting a four byte integer from a byte array? Feel like I have gone back 10 years. Thanks, Jim.

---

## [Problem with Module/Class name resolution](https://www.ruby-forum.com/t/problem-with-module-class-name-resolution/102693)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 1\
**Last updated:** [February 19, 2007, 5:19pm UTC](https://www.ruby-forum.com/t/problem-with-module-class-name-resolution/102693 "2007-02-19T17:19:11Z")

</div>

Hi, consider the following: module A X = 1 end p A::X # =\> 1 module B include A end p B::X # =\> 1 module A module Help p X # =\> 1 end end module B module Help p X …

---

## [Problem with Module/Class name resolution](https://www.ruby-forum.com/t/problem-with-module-class-name-resolution/86064)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 5:06pm UTC](https://www.ruby-forum.com/t/problem-with-module-class-name-resolution/86064 "2007-02-19T17:06:07Z")

</div>

Hi, consider the following: module A X = 1 end p A::X # =\> 1 module B include A end p B::X # =\> 1 module A module Help p X # =\> 1 end end module B module Help p X …

---

## [Return statement](https://www.ruby-forum.com/t/return-statement/86053)

<div class="topic-metadata">

**Author:** [@derekteixeira](https://www.ruby-forum.com/u/derekteixeira)\
**Replies:** 15\
**Last updated:** [February 19, 2007, 4:02pm UTC](https://www.ruby-forum.com/t/return-statement/86053 "2007-02-19T16:02:09Z")

</div>

i’ve been getting confused about what exactly the return statement does… i really think this book i’m reading “learn to program” is really not that great of a book to be reading when getting into programming. While t…

---

## [What can i do with Ruby?](https://www.ruby-forum.com/t/what-can-i-do-with-ruby/85771)

<div class="topic-metadata">

**Author:** [@jazzy](https://www.ruby-forum.com/u/jazzy)\
**Replies:** 7\
**Last updated:** [February 19, 2007, 3:43pm UTC](https://www.ruby-forum.com/t/what-can-i-do-with-ruby/85771 "2007-02-19T15:43:55Z")

</div>

I have a visual basic 6 program I made which stores databases and allows the user to input data and get calculations from day to day. It uses dao. There a many different windows that come up to input various preferenc…

---

## [Module that includes both class and instance methods?](https://www.ruby-forum.com/t/module-that-includes-both-class-and-instance-methods/86023)

<div class="topic-metadata">

**Author:** [@sjmadsen](https://www.ruby-forum.com/u/sjmadsen)\
**Replies:** 1\
**Last updated:** [February 19, 2007, 3:42pm UTC](https://www.ruby-forum.com/t/module-that-includes-both-class-and-instance-methods/86023 "2007-02-19T15:42:55Z")

</div>

Hello, I’m trying to create a module that will have class and instance methods that are made available to any object that includes it. I can do the job with two lines of code but would prefer to do it with one line of …

---

## [Why Unit Testing sucks](https://www.ruby-forum.com/t/why-unit-testing-sucks/85827)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 9\
**Last updated:** [February 19, 2007, 3:09pm UTC](https://www.ruby-forum.com/t/why-unit-testing-sucks/85827 "2007-02-19T15:09:51Z")

</div>

A woman says to her Ruby programmer friend: “As I was going to St. Ives, I met a man with seven wives. Each wife had seven sacks, each sack had seven cats, each cat had seven kits. Kits, cats, sacks, wives: how ma…

---

## [System(...) redirect output to file?](https://www.ruby-forum.com/t/system-redirect-output-to-file/86047)

<div class="topic-metadata">

**Author:** [@RebhanS\_Gilbert](https://www.ruby-forum.com/u/RebhanS_Gilbert)\
**Replies:** 4\
**Last updated:** [February 19, 2007, 2:14pm UTC](https://www.ruby-forum.com/t/system-redirect-output-to-file/86047 "2007-02-19T14:14:46Z")

</div>

Hi, i use the system method on Windows like that = Dir.chdir(CVSWORKSPACE) do system(“T:/cvsnt/cvs.exe -d :pserver:testuser@cvs:d:/cvsrepos/test commit -m ‘blabla’”) end How to redirect the ouptut from a system cal…

---

## [Installing Ruby on Linux - Error](https://www.ruby-forum.com/t/installing-ruby-on-linux-error/86000)

<div class="topic-metadata">

**Author:** [@Centipeed](https://www.ruby-forum.com/u/Centipeed)\
**Replies:** 6\
**Last updated:** [February 19, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-linux-error/86000 "2007-02-19T14:05:44Z")

</div>

I’m new to Linux, so it may well be that I’m missing some trivial. However, I have Ubuntu installed on my Laptop, and I downloaded the Source for Ruby (ruby-1.8.5-p12), copied it across to my laptop (My laptop does NO…

---

## [Schedule for Ruby 1.8.6](https://www.ruby-forum.com/t/schedule-for-ruby-1-8-6/83859)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 19\
**Last updated:** [February 19, 2007, 1:26pm UTC](https://www.ruby-forum.com/t/schedule-for-ruby-1-8-6/83859 "2007-02-19T13:26:36Z")

</div>

ã€€ruby-core ã‚’èª­ã‚“ã§ã„ãªã„äººã‚‚ã„ã‚‹ã¨æ€ã†ã®ã§ã€ã“ã“ã§ã‚‚ã‚¢ãƒŠã‚¦ãƒ³ã‚¹ ã—ã¦ãŠãã¾ã™ã€‚ ã€€\[ruby-core:10019\] ã®é€šã‚Šã€1.8.6ãƒªãƒªãƒ¼ã‚¹ã«å‘ã‘ãŸã‚¹ã‚±ã‚¸ãƒ¥ãƒ¼ãƒ«ã‚’ ä»¥ä¸‹ã®ã‚ˆã†ã«æ…

---

## [Screen-scraping](https://www.ruby-forum.com/t/screen-scraping/86049)

<div class="topic-metadata">

**Author:** [@dvancoevorden](https://www.ruby-forum.com/u/dvancoevorden)\
**Replies:** 5\
**Last updated:** [February 19, 2007, 12:58pm UTC](https://www.ruby-forum.com/t/screen-scraping/86049 "2007-02-19T12:58:31Z")

</div>

The number of monthly instances where I have to announce to various people that yes, I’m going to work 40 hours a week as I always do, and lo and behold, even on the project I’m assigned to, just like all the months …

---

## [Job Opening for a Quality assurance engineer in a leading We](https://www.ruby-forum.com/t/job-opening-for-a-quality-assurance-engineer-in-a-leading-we/86050)

<div class="topic-metadata">

**Author:** [@sun](https://www.ruby-forum.com/u/sun)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 12:41pm UTC](https://www.ruby-forum.com/t/job-opening-for-a-quality-assurance-engineer-in-a-leading-we/86050 "2007-02-19T12:41:29Z")

</div>

Hi let me first introduce myself as Sunaina Dinaker from Starrfish Consulting Bangalore . We are a specialist recruitment outfit focused on fulfilling the hiring needs of cutting edge software product organizations. …

---

## [Ruby and R?](https://www.ruby-forum.com/t/ruby-and-r/85826)

<div class="topic-metadata">

**Author:** [@plambert](https://www.ruby-forum.com/u/plambert)\
**Replies:** 2\
**Last updated:** [February 19, 2007, 8:52am UTC](https://www.ruby-forum.com/t/ruby-and-r/85826 "2007-02-19T08:52:54Z")

</div>

Is anyone on this list using Ruby and R (the statistics package) together? If so, what are you using to connect to R? Thanks, –Paul

---

## [Yaml and self-referential data](https://www.ruby-forum.com/t/yaml-and-self-referential-data/86027)

<div class="topic-metadata">

**Author:** [@Hans\_F](https://www.ruby-forum.com/u/Hans_F)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 6:55am UTC](https://www.ruby-forum.com/t/yaml-and-self-referential-data/86027 "2007-02-19T06:55:48Z")

</div>

I have a data structure (Arrays and Hashes mixed in a soup) that is fairly self-referential, i.e. it has cycles. When I try to do foo.to\_yaml, it complains: /opt/local/lib/ruby/1.8/yaml.rb:382:in quick\_emit': stack le…

---

## [Problems installing libxml](https://www.ruby-forum.com/t/problems-installing-libxml/86017)

<div class="topic-metadata">

**Author:** [@veganjen](https://www.ruby-forum.com/u/veganjen)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 3:23am UTC](https://www.ruby-forum.com/t/problems-installing-libxml/86017 "2007-02-19T03:23:39Z")

</div>

Hi, everyone, I’m having trouble installing libxml-ruby and was hoping someone here could help. I’ve run into the same problem on both Mac OS X Tiger and Ubuntu Linux Dapper Drake (6.06 LTS). I’ve most recently tri…

---

## [Fwd: Please Forward: Ruby Quiz Submission](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/229097)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [February 19, 2007, 2:22am UTC](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/229097 "2007-02-19T02:22:36Z")

</div>

Begin forwarded message:

---

## [Ruby on Mac OS 9](https://www.ruby-forum.com/t/ruby-on-mac-os-9/85899)

<div class="topic-metadata">

**Author:** [@parasew](https://www.ruby-forum.com/u/parasew)\
**Replies:** 2\
**Last updated:** [February 19, 2007, 1:54am UTC](https://www.ruby-forum.com/t/ruby-on-mac-os-9/85899 "2007-02-19T01:54:58Z")

</div>

Hello List, i am trying to find out if there is a Ruby Binary for Mac OS 9 or if there is any chance to run Ruby 1.8.4 or 1.8.5 on OS9. I found a hint on the support for os9 being in the sources http://blade.nagaokau…

---

## [One-Click Ruby Installer 1.8.5-24 released](https://www.ruby-forum.com/t/one-click-ruby-installer-1-8-5-24-released/86009)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 1\
**Last updated:** [February 19, 2007, 12:41am UTC](https://www.ruby-forum.com/t/one-click-ruby-installer-1-8-5-24-released/86009 "2007-02-19T00:41:29Z")

</div>

This is embarrassing: yesterday I released 1.8.5-23 that was supposed to have upgraded SciTE to version 1.72, but due to a procedural error, it actually contained SciTE version 1.67! This release corrects that error a…

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

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