# Ruby

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

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

---

## [Installation problem proper use of ./configure](https://www.ruby-forum.com/t/installation-problem-proper-use-of-configure/83254)

<div class="topic-metadata">

**Author:** [@jts](https://www.ruby-forum.com/u/jts)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:21pm UTC](https://www.ruby-forum.com/t/installation-problem-proper-use-of-configure/83254 "2007-09-17T13:21:42Z")

</div>

I’m trying to install ruby on an older linux box. When I install, with ./configure, make, …, it errors out on make with an error in the openssl version (needs 9.7 and i have 9.6). I installed a new openssl in a differ…

---

## [Post data](https://www.ruby-forum.com/t/post-data/114561)

<div class="topic-metadata">

**Author:** [@jarvo88](https://www.ruby-forum.com/u/jarvo88)\
**Replies:** 1\
**Last updated:** [September 15, 2007, 11:49am UTC](https://www.ruby-forum.com/t/post-data/114561 "2007-09-15T11:49:44Z")

</div>

Ok guys lets say i have a form like this in a webpage Is there any way to send post data and then grab the source of nextpage.php? Could anyone give me a small example of how to do it? I can’t seem to work it out…

---

## [Mechanize | trouble with select box (drop down box)](https://www.ruby-forum.com/t/mechanize-trouble-with-select-box-drop-down-box/114556)

<div class="topic-metadata">

**Author:** [@yeago](https://www.ruby-forum.com/u/yeago)\
**Replies:** 0\
**Last updated:** [September 15, 2007, 4:48am UTC](https://www.ruby-forum.com/t/mechanize-trouble-with-select-box-drop-down-box/114556 "2007-09-15T04:48:40Z")

</div>

For the life of me, I can’t seem to access the form ‘\_ddlFilterFormat’ in any other way than the below awkward code: initPage.forms.name(“form1”).fields.each{|f| if(f.name == “\_ddlFilterFormat”) f.options.each{|o| …

---

## [Port ruby to z/OS UNIX](https://www.ruby-forum.com/t/port-ruby-to-z-os-unix/108510)

<div class="topic-metadata">

**Author:** [@haijun](https://www.ruby-forum.com/u/haijun)\
**Replies:** 4\
**Last updated:** [September 15, 2007, 3:51am UTC](https://www.ruby-forum.com/t/port-ruby-to-z-os-unix/108510 "2007-09-15T03:51:34Z")

</div>

hello, I am trying to port ruby to z/OS UNIX. I resolved obvious EBCDIC to ASCII problems and I encountered a problem: (1) I get a message like below: bash-2.03$ gmake ./lib/fileutils.rb:1277: \[BUG\] unexpected local…

---

## [How to read values dynamically](https://www.ruby-forum.com/t/how-to-read-values-dynamically/114451)

<div class="topic-metadata">

**Author:** [@ruby](https://www.ruby-forum.com/u/ruby)\
**Replies:** 3\
**Last updated:** [September 14, 2007, 10:49am UTC](https://www.ruby-forum.com/t/how-to-read-values-dynamically/114451 "2007-09-14T10:49:35Z")

</div>

In ruby, is there any way to read the values from a fileI am actually giving the values in the code itself. Is there a way to read the value dynamically

---

## [\[ANN\] Autumn Leaves - Ruby IRC bot framework](https://www.ruby-forum.com/t/ann-autumn-leaves-ruby-irc-bot-framework/114528)

<div class="topic-metadata">

**Author:** [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 11:51pm UTC](https://www.ruby-forum.com/t/ann-autumn-leaves-ruby-irc-bot-framework/114528 "2007-09-13T23:51:53Z")

</div>

Autumn Leaves is a full-featured framework on top of which IRC bots can be quickly and easily built. It features a very Ruby-like (and poignant!) approach to bot-writing, a complete framework for loading and daemonizi…

---

## [Logging all method calls?](https://www.ruby-forum.com/t/logging-all-method-calls/114443)

<div class="topic-metadata">

**Author:** [@s04015](https://www.ruby-forum.com/u/s04015)\
**Replies:** 3\
**Last updated:** [September 13, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/logging-all-method-calls/114443 "2007-09-13T22:41:41Z")

</div>

Hey Is there a way to log all the method calls that occur throughout the execution of some script? Something like an hook that gets called whenever a method executes would be ideal. Eg. class Object def before\_met…

---

## [How to read a value from a table in tuby](https://www.ruby-forum.com/t/how-to-read-a-value-from-a-table-in-tuby/114448)

<div class="topic-metadata">

**Author:** [@ruby](https://www.ruby-forum.com/u/ruby)\
**Replies:** 2\
**Last updated:** [September 13, 2007, 8:54pm UTC](https://www.ruby-forum.com/t/how-to-read-a-value-from-a-table-in-tuby/114448 "2007-09-13T20:54:59Z")

</div>

How to read and write a table in ruby

---

## [Where to submit minor ideas, question](https://www.ruby-forum.com/t/where-to-submit-minor-ideas-question/114513)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 1\
**Last updated:** [September 13, 2007, 5:34pm UTC](https://www.ruby-forum.com/t/where-to-submit-minor-ideas-question/114513 "2007-09-13T17:34:48Z")

</div>

So…say I had this minor suggestion for Ruby–like that File::BINARY should be defined in Linux (whether a bad idea or not) as 0xFF. Where should I submit such an idea? RCR? Second question: what is the easiest way to…

---

## [Copy/paste line numbers with code](https://www.ruby-forum.com/t/copy-paste-line-numbers-with-code/114424)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 11\
**Last updated:** [September 13, 2007, 2:25pm UTC](https://www.ruby-forum.com/t/copy-paste-line-numbers-with-code/114424 "2007-09-13T14:25:13Z")

</div>

I’m writing up my project report and want to include line numbers with the code that i paste into my word doc writeup. Does anyone know of a ruby editor for windows that will allow this? I use SciTE and Eclipse alre…

---

## [Count and Say (#138)](https://www.ruby-forum.com/t/count-and-say-138/114500)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 2:16pm UTC](https://www.ruby-forum.com/t/count-and-say-138/114500 "2007-09-13T14:16:12Z")

</div>

If you’ll permit a brief diversion, this solution to the Look and Say problem from Simon KrÃ¶ger is worth a look: class String def look\_and\_say gsub(/(.)\\1\*/){|s| “#{s.size}#{s\[0,1\]}”} end end s = ‘1’ 12.times {…

---

## [Metadata extractor](https://www.ruby-forum.com/t/metadata-extractor/114300)

<div class="topic-metadata">

**Author:** [@Ilmari\_H](https://www.ruby-forum.com/u/Ilmari_H)\
**Replies:** 1\
**Last updated:** [September 13, 2007, 10:16am UTC](https://www.ruby-forum.com/t/metadata-extractor/114300 "2007-09-13T10:16:23Z")

</div>

url: http://dark.fhtr.org/repos/metadata tarball: http://dark.fhtr.org/repos/metadata/metadata-0.1.tar.gz Description This package Metadata' comes with a library called metadata’ and a small program called \`mdh’. Th…

---

## ["Advancing With Rails", November 6-9, New Jersey](https://www.ruby-forum.com/t/advancing-with-rails-november-6-9-new-jersey/114491)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 10:04am UTC](https://www.ruby-forum.com/t/advancing-with-rails-november-6-9-new-jersey/114491 "2007-09-13T10:04:22Z")

</div>

Hi everyone – I’m delighted to announce the “debut” of a brand-new course from Ruby Power and Light, LLC: Advancing With Rails November 6-9, 2007 Instructor: David A. Black Hosted by Ex…

---

## ["Intro to Ruby on Rails", New Jersey, October 23-26](https://www.ruby-forum.com/t/intro-to-ruby-on-rails-new-jersey-october-23-26/114490)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 0\
**Last updated:** [September 13, 2007, 10:03am UTC](https://www.ruby-forum.com/t/intro-to-ruby-on-rails-new-jersey-october-23-26/114490 "2007-09-13T10:03:22Z")

</div>

Hi everyone – I’m pleased to announce that Ruby Power and Light, LLC is offering the following training course: Introduction to Ruby on Rails October 23-26, 2007 Instructor: David A. Black Ho…

---

## [Re: Is it a ruby bug?](https://www.ruby-forum.com/t/re-is-it-a-ruby-bug/114487)

<div class="topic-metadata">

**Author:** [@2tcreative](https://www.ruby-forum.com/u/2tcreative)\
**Replies:** 2\
**Last updated:** [September 13, 2007, 8:27am UTC](https://www.ruby-forum.com/t/re-is-it-a-ruby-bug/114487 "2007-09-13T08:27:09Z")

</div>

First , a lot thanks to Phil removed\_email\_address@domain.invalid I did it as http://wiki.rubyonrails.org/rails/pages/ReadlineLibrary but still failed. Any ideas ? Regards. Tim

---

## [Filling individual cells in a grid](https://www.ruby-forum.com/t/filling-individual-cells-in-a-grid/113643)

<div class="topic-metadata">

**Author:** [@tillaart36](https://www.ruby-forum.com/u/tillaart36)\
**Replies:** 31\
**Last updated:** [September 13, 2007, 7:37am UTC](https://www.ruby-forum.com/t/filling-individual-cells-in-a-grid/113643 "2007-09-13T07:37:05Z")

</div>

Hi guys, can someone please lend me a hand in this. I have a piece of code that generates a grid like structure. All the cells in this grid now have 2 properties namely a celltype and a cell distance (to cells with ty…

---

## [Is it a ruby bug?](https://www.ruby-forum.com/t/is-it-a-ruby-bug/114476)

<div class="topic-metadata">

**Author:** [@2tcreative](https://www.ruby-forum.com/u/2tcreative)\
**Replies:** 1\
**Last updated:** [September 13, 2007, 3:45am UTC](https://www.ruby-forum.com/t/is-it-a-ruby-bug/114476 "2007-09-13T03:45:47Z")

</div>

Hi Folks, Nowdays I program ruby from windows to suse-linux 10.1, when I compile the ruby source code and make && make install and then install rails , I can’t start a console. It reports me an error(and this occurs …

---

## [Can't debug with JRuby?!?!?](https://www.ruby-forum.com/t/cant-debug-with-jruby/114471)

<div class="topic-metadata">

**Author:** [@Kenosis](https://www.ruby-forum.com/u/Kenosis)\
**Replies:** 2\
**Last updated:** [September 13, 2007, 3:13am UTC](https://www.ruby-forum.com/t/cant-debug-with-jruby/114471 "2007-09-13T03:13:42Z")

</div>

Greetings, Well, after several years of hoping I finally landed a job that is at least 50% Ruby development, woo hoo :slight\_smile: Now then, we’re also doing a good bit of JRuby development and I’ve run into a snag …

---

## [YAML Library not recognized](https://www.ruby-forum.com/t/yaml-library-not-recognized/114441)

<div class="topic-metadata">

**Author:** [@simianstyle](https://www.ruby-forum.com/u/simianstyle)\
**Replies:** 2\
**Last updated:** [September 12, 2007, 9:48pm UTC](https://www.ruby-forum.com/t/yaml-library-not-recognized/114441 "2007-09-12T21:48:14Z")

</div>

My setup: ruby 1.8.6 (2007-03-13 patchlevel 0) \[i686-linux\] So i compiled ruby from source and installed it on my system (ubuntu 7.04), and was happy for a while. However i fired up irb one day and ran the following …

---

## [Secure file writing (escaping characters from the file name)](https://www.ruby-forum.com/t/secure-file-writing-escaping-characters-from-the-file-name/114447)

<div class="topic-metadata">

**Author:** [@costi](https://www.ruby-forum.com/u/costi)\
**Replies:** 7\
**Last updated:** [September 12, 2007, 9:31pm UTC](https://www.ruby-forum.com/t/secure-file-writing-escaping-characters-from-the-file-name/114447 "2007-09-12T21:31:12Z")

</div>

I have a cgi script that writes files on the filesystem. The files are provided by the users. I need to save them with (almost) the same name as the user requests. What characters I need to escape? This is on linux. R…

---

## [Strange string in XML element](https://www.ruby-forum.com/t/strange-string-in-xml-element/114452)

<div class="topic-metadata">

**Author:** [@Nikolay\_P](https://www.ruby-forum.com/u/Nikolay_P)\
**Replies:** 3\
**Last updated:** [September 12, 2007, 9:23pm UTC](https://www.ruby-forum.com/t/strange-string-in-xml-element/114452 "2007-09-12T21:23:11Z")

</div>

Hello all. Probably the answer is known, but not for me :slight\_smile: I have a XML response from the external source: \<?xml version=\\"1.0\\"?\> 118962105580 -5 Неверная подпись step=7 Did some one know what the he…

---

## [Fwd: Ruby Quiz Submission](https://www.ruby-forum.com/t/fwd-ruby-quiz-submission/114160)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 1\
**Last updated:** [September 12, 2007, 8:08pm UTC](https://www.ruby-forum.com/t/fwd-ruby-quiz-submission/114160 "2007-09-12T20:08:53Z")

</div>

Begin forwarded message:

---

## [Singleton Modules rather than Singleton Classes](https://www.ruby-forum.com/t/singleton-modules-rather-than-singleton-classes/113555)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 13\
**Last updated:** [September 12, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/singleton-modules-rather-than-singleton-classes/113555 "2007-09-12T20:06:52Z")

</div>

This recently came up in the thread entitled “Python-style Decorators”, so I thought it a fair idea to “formally” put it before the Ruby community. Here’s the deal… Singleton classes already have more in common with m…

---

## [Proxying junebug through Apache](https://www.ruby-forum.com/t/proxying-junebug-through-apache/114418)

<div class="topic-metadata">

**Author:** [@n1c](https://www.ruby-forum.com/u/n1c)\
**Replies:** 8\
**Last updated:** [September 12, 2007, 7:59pm UTC](https://www.ruby-forum.com/t/proxying-junebug-through-apache/114418 "2007-09-12T19:59:41Z")

</div>

I’m trying to configure Junebug to be served through Apache following the instructions at http://www.junebugwiki.com/Junebug\_Installation. The only change I’ve made from the std Apache config is to serve the wiki on p…

---

## [Before, after and around Ruby 1.9](https://www.ruby-forum.com/t/before-after-and-around-ruby-1-9/113869)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 39\
**Last updated:** [September 12, 2007, 7:36pm UTC](https://www.ruby-forum.com/t/before-after-and-around-ruby-1-9/113869 "2007-09-12T19:36:43Z")

</div>

Any chance Ruby 1.9 will have before, after and around method composition support? T.

---

## [Require Statement Problem](https://www.ruby-forum.com/t/require-statement-problem/114439)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 1\
**Last updated:** [September 12, 2007, 6:59pm UTC](https://www.ruby-forum.com/t/require-statement-problem/114439 "2007-09-12T18:59:32Z")

</div>

Hello, I am trying some things from irb and having trouble loading the mechanize library. When I do gem list, it is in the list as: mechanize (0.6.10, 0.6.9) Mechanize provides automated web-browsing But if I go to …

---

## [Graphics... why so shrouded in mystery?](https://www.ruby-forum.com/t/graphics-why-so-shrouded-in-mystery/114357)

<div class="topic-metadata">

**Author:** [@westonc](https://www.ruby-forum.com/u/westonc)\
**Replies:** 13\
**Last updated:** [September 12, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/graphics-why-so-shrouded-in-mystery/114357 "2007-09-12T18:37:27Z")

</div>

I’ve been working with ruby for quite a while now, and I still don’t know how to manipulate graphics. I know about libraries like RMagick, but how do they do it? What are the rudimentary methods used to, say, display …

---

## [Noob question about CASTING (yes, I know)](https://www.ruby-forum.com/t/noob-question-about-casting-yes-i-know/114435)

<div class="topic-metadata">

**Author:** [@qrc](https://www.ruby-forum.com/u/qrc)\
**Replies:** 1\
**Last updated:** [September 12, 2007, 6:31pm UTC](https://www.ruby-forum.com/t/noob-question-about-casting-yes-i-know/114435 "2007-09-12T18:31:26Z")

</div>

ok, well i have os\_hardware\_combos.send(“platform\_id”) which returns 1 and i have Platforms.find(1) which returns a value i want but if i do Platforms.find(os\_hardware\_combos.send(“platform\_id”)) it says, no id supp…

---

## [CVS parsing, counting rows and row items](https://www.ruby-forum.com/t/cvs-parsing-counting-rows-and-row-items/114426)

<div class="topic-metadata">

**Author:** [@shinji](https://www.ruby-forum.com/u/shinji)\
**Replies:** 5\
**Last updated:** [September 12, 2007, 5:38pm UTC](https://www.ruby-forum.com/t/cvs-parsing-counting-rows-and-row-items/114426 "2007-09-12T17:38:45Z")

</div>

I have some CSV data which looks like the following (it is the output from the RMTrack defect management tool): Column titles: Issue # Date & Time Opened Summary Created by User Assigned To Resolution Date & Tim…

---

## [What is this syntax: \\001\\002?](https://www.ruby-forum.com/t/what-is-this-syntax-001-002/114410)

<div class="topic-metadata">

**Author:** [@7stud](https://www.ruby-forum.com/u/7stud)\
**Replies:** 14\
**Last updated:** [September 12, 2007, 5:30pm UTC](https://www.ruby-forum.com/t/what-is-this-syntax-001-002/114410 "2007-09-12T17:30:10Z")

</div>

Hi, On p. 131-132 in “Programming Ruby 2d.”, it talks about writing binary data to files, but there’s no explanation of the syntax: str1 = “\\001\\002\\003” I looked in the index of the book, I poured over “The Ruby Lan…

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

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