# Ruby

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

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

---

## [Make test-all fails on digest/sha1](https://www.ruby-forum.com/t/make-test-all-fails-on-digest-sha1/127395)

<div class="topic-metadata">

**Author:** [@warren](https://www.ruby-forum.com/u/warren)\
**Replies:** 1\
**Last updated:** [January 28, 2008, 10:24pm UTC](https://www.ruby-forum.com/t/make-test-all-fails-on-digest-sha1/127395 "2008-01-28T22:24:24Z")

</div>

on Linux 2.6, 64-bit, these commands seem to work without error: autoconf ./configure --prefix=$HOME make But I need help here. Webrick seems to be the first that needs digest/sha1: $ ruby-1.8.6-p111 make test-all …

---

## [Rubyforge APT repository](https://www.ruby-forum.com/t/rubyforge-apt-repository/127396)

<div class="topic-metadata">

**Author:** [@backz](https://www.ruby-forum.com/u/backz)\
**Replies:** 1\
**Last updated:** [January 28, 2008, 10:18pm UTC](https://www.ruby-forum.com/t/rubyforge-apt-repository/127396 "2008-01-28T22:18:41Z")

</div>

I’ve setup a APT repository for Ruby projects at http://apt.rubyforge.org/ As the FAQ says, this repository exists “so you don’t have to lurk on dark IRC channels to find out about program releases so you can stay up…

---

## [Binary String](https://www.ruby-forum.com/t/binary-string/122908)

<div class="topic-metadata">

**Author:** [@Hidetoshi\_NAGAI](https://www.ruby-forum.com/u/Hidetoshi_NAGAI)\
**Replies:** 203\
**Last updated:** [January 28, 2008, 9:42pm UTC](https://www.ruby-forum.com/t/binary-string/122908 "2008-01-28T21:42:22Z")

</div>

e$B1J0f!wCNG=!%6e9)Bg$G$9!%e(B encoding e$B$K$D$$$F$NOC$G$9!%4V0c$C$F$$$l$PD{@5$/$@$5$$!%e(B binary string e$B$rL@\<($G$-$k$h$&$Je(B encoding e$B$re(B e$BDI2C$7$F$O$$$?$@$1$J$$$G$7$g$&$+!)e(B Tcl/Tk e$B$Ne(B encoding …

---

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

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 9:09pm UTC](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/127389 "2008-01-28T21:09:52Z")

</div>

Begin forwarded message:

---

## [Ruby Script Under performance in CYGWIN environment](https://www.ruby-forum.com/t/ruby-script-under-performance-in-cygwin-environment/127314)

<div class="topic-metadata">

**Author:** [@ankit](https://www.ruby-forum.com/u/ankit)\
**Replies:** 3\
**Last updated:** [January 28, 2008, 8:44pm UTC](https://www.ruby-forum.com/t/ruby-script-under-performance-in-cygwin-environment/127314 "2008-01-28T20:44:52Z")

</div>

Hi, I have written one ruby script to execute the regression testcases. There are more than five thousand of testcases to be run daily. For Linux, the performance was ok and on expected line but on CYGWIN shell, the …

---

## [Bignum#\* might invoke GC parallelly?](https://www.ruby-forum.com/t/bignum-might-invoke-gc-parallelly/126237)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 7\
**Last updated:** [January 28, 2008, 8:31pm UTC](https://www.ruby-forum.com/t/bignum-might-invoke-gc-parallelly/126237 "2008-01-28T20:31:19Z")

</div>

e$B1sF#$H?=$7$^$9!#e(B rb\_big\_mul e$B$de(B divrem e$B$Oe(B rb\_thread\_blocking\_region e$B$NCf$G\<B9T$5$l$^$9$,!"e(B e$B$=$NCf$G%\*%V%8%’%/%H$r@8@.$9$k$?$a!“e(BGC e$B$,e(B GVL e$B$r%m%C%/$7$J$$\>uBV$GH/@8e(B e$B$9$ke(B (…

---

## [Lining up delimiter separated text](https://www.ruby-forum.com/t/lining-up-delimiter-separated-text/127375)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [January 28, 2008, 7:21pm UTC](https://www.ruby-forum.com/t/lining-up-delimiter-separated-text/127375 "2008-01-28T19:21:45Z")

</div>

BEFORE: fname ;; lname ;; age ;; sex ;; homer ;; simpson ;; 33 ;; male maggie;; simpson ;; 03 ;; female bart;;simpson;;10;;male AFTER: fname ;; lname ;; age ;; sex homer ;; simpson ;; 33 ;; male ma…

---

## [Ramaze 0.3.5](https://www.ruby-forum.com/t/ramaze-0-3-5/127319)

<div class="topic-metadata">

**Author:** [@mifi](https://www.ruby-forum.com/u/mifi)\
**Replies:** 1\
**Last updated:** [January 28, 2008, 5:56pm UTC](https://www.ruby-forum.com/t/ramaze-0-3-5/127319 "2008-01-28T17:56:46Z")

</div>

This time we are proud to announce Version 0.3.5 of Ramaze, the light and modular open source web framework. This release features a lot of work directly from our community and we are really greatful for everybody w…

---

## [Error in map.connect](https://www.ruby-forum.com/t/error-in-map-connect/127366)

<div class="topic-metadata">

**Author:** [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 5:27pm UTC](https://www.ruby-forum.com/t/error-in-map-connect/127366 "2008-01-28T17:27:09Z")

</div>

hi all, I wanna run my welcome controller after typing just http://localhost:3000 and for that i made route.rb file like ActionController::Routing::Routes.draw do |map| map.connect ‘’, :controller =\> “welcome” Allo…

---

## [When to use PEP treetop vs regexp](https://www.ruby-forum.com/t/when-to-use-pep-treetop-vs-regexp/127359)

<div class="topic-metadata">

**Author:** [@davidjrice](https://www.ruby-forum.com/u/davidjrice)\
**Replies:** 1\
**Last updated:** [January 28, 2008, 5:21pm UTC](https://www.ruby-forum.com/t/when-to-use-pep-treetop-vs-regexp/127359 "2008-01-28T17:21:05Z")

</div>

on a practical basis when would want to use treetop parse over using regular expressions with .scan()? … in the wicki ‘treetop (PEP)’ subject/submission… it would seem that using regular expression would be a better t…

---

## [Installing 1.x rails trough gem?](https://www.ruby-forum.com/t/installing-1-x-rails-trough-gem/127346)

<div class="topic-metadata">

**Author:** [@anjelika](https://www.ruby-forum.com/u/anjelika)\
**Replies:** 2\
**Last updated:** [January 28, 2008, 4:32pm UTC](https://www.ruby-forum.com/t/installing-1-x-rails-trough-gem/127346 "2008-01-28T16:32:56Z")

</div>

Hello, I am new to this framework (even to ruby) and followed some books got things working but when I tried to install the rails through gem (on Windows) it installs the latest version (for wich I can’t find much do…

---

## [Installing Ruby on Red Hat Enterprise Edition on a Terminal](https://www.ruby-forum.com/t/installing-ruby-on-red-hat-enterprise-edition-on-a-terminal/127168)

<div class="topic-metadata">

**Author:** [@StecklyS\_Ron](https://www.ruby-forum.com/u/StecklyS_Ron)\
**Replies:** 5\
**Last updated:** [January 28, 2008, 3:42pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-red-hat-enterprise-edition-on-a-terminal/127168 "2008-01-28T15:42:24Z")

</div>

Hi all, I just got a new VPS running Red Hat Enterprise Edition. Sort of regret it now, as I’ve always run things on Debian where I just use the sudo apt-get install command to get ruby and ruby gems on there. Do an…

---

## [Oci8+rubyscript2exe -\> TNS-12538](https://www.ruby-forum.com/t/oci8-rubyscript2exe-tns-12538/125722)

<div class="topic-metadata">

**Author:** [@pihentagy](https://www.ruby-forum.com/u/pihentagy)\
**Replies:** 9\
**Last updated:** [January 28, 2008, 3:32pm UTC](https://www.ruby-forum.com/t/oci8-rubyscript2exe-tns-12538/125722 "2008-01-28T15:32:19Z")

</div>

Hi all! I tried to pack to an exe a ruby script, which uses oci8. On my machine it works fine, but when I run it on an other machine I get the following error: (I also dumped the files packed by rubyscript2exe) Can …

---

## [Module Global Hash](https://www.ruby-forum.com/t/module-global-hash/127315)

<div class="topic-metadata">

**Author:** [@lazukars](https://www.ruby-forum.com/u/lazukars)\
**Replies:** 8\
**Last updated:** [January 28, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/module-global-hash/127315 "2008-01-28T14:55:00Z")

</div>

\#!/usr/bin/env ruby module Users class User \< Struct.new(:screenname, :password, :dob, :join\_date, :age) def initialize(sn, pw, dob) self.screenname = sn self.password = pw self.dob = Time.parse(dob) sel…

---

## [To sleep no more](https://www.ruby-forum.com/t/to-sleep-no-more/127171)

<div class="topic-metadata">

**Author:** [@DrBenway](https://www.ruby-forum.com/u/DrBenway)\
**Replies:** 7\
**Last updated:** [January 28, 2008, 1:45pm UTC](https://www.ruby-forum.com/t/to-sleep-no-more/127171 "2008-01-28T13:45:53Z")

</div>

hi all, I’m a ruby noop trying his first steps. I’d like a little advice. What I want to make is the following. An object Chicken its attribute starts as ‘egg’ after x times sleep() it the attribute gets the value c…

---

## [How to track down a function](https://www.ruby-forum.com/t/how-to-track-down-a-function/127329)

<div class="topic-metadata">

**Author:** [@andreas](https://www.ruby-forum.com/u/andreas)\
**Replies:** 1\
**Last updated:** [January 28, 2008, 1:14pm UTC](https://www.ruby-forum.com/t/how-to-track-down-a-function/127329 "2008-01-28T13:14:41Z")

</div>

I have a very large program with a lot of dependencies (objects, functions that are linked togheter) and there is one particular function that I want to strace troughout the program. (i.e find out every call it makes(…

---

## [Next in while may dumps core](https://www.ruby-forum.com/t/next-in-while-may-dumps-core/127339)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 1:01pm UTC](https://www.ruby-forum.com/t/next-in-while-may-dumps-core/127339 "2008-01-28T13:01:05Z")

</div>

e$B1sF#$H?=$7$^$9!#e(B 1.9 e$B$,0J2\<$GMn$A$^$9!#$^$?!"e(Bnext e$B$re(B redo e$B$KJQ$($F$bMn$A$^$9!#e(B $ ./ruby -e ’ def foo while true begin yield next rescue end end rescue retry end foo { raise } ’ -e…

---

## [Get\_destination\_insn must not skip ADJUST](https://www.ruby-forum.com/t/get-destination-insn-must-not-skip-adjust/127335)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 12:55pm UTC](https://www.ruby-forum.com/t/get-destination-insn-must-not-skip-adjust/127335 "2008-01-28T12:55:08Z")

</div>

e$B1sF#$H?=$7$^$9!#e(B 1.9 e$B$,0J2\<$GMn$A$^$9!#e(B $ ./ruby -e ‘nil while (\[0, (false ? 1 : redo; 2)\])’ -e:1: \[BUG\] Segmentation fault ruby 1.9.0 (2008-01-28 revision 15294) \[i686-linux\] – control frame ---------- …

---

## [Win32OLE: set encoding to OLE string](https://www.ruby-forum.com/t/win32ole-set-encoding-to-ole-string/127308)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 15\
**Last updated:** [January 28, 2008, 12:31pm UTC](https://www.ruby-forum.com/t/win32ole-set-encoding-to-ole-string/127308 "2008-01-28T12:31:37Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B Win32OLEe$B$G!“e(BOLEe$B7PM3$G\<hF@$7$?J8;zNs$Ke(Bencodinge$B$r@Dj$9$k%Q%C%Ae(B e$B$r:n$C$F$$^$7$?!#e(B e$B$3$l$G==J,$+$I$&$+$O$A$g$C$H\<+?.$J$$$G$9$,!”$U$@$s;d$,;H$C$Fe(…

---

## [Extracting Data from a Webpage](https://www.ruby-forum.com/t/extracting-data-from-a-webpage/127253)

<div class="topic-metadata">

**Author:** [@superfly](https://www.ruby-forum.com/u/superfly)\
**Replies:** 16\
**Last updated:** [January 28, 2008, 11:08am UTC](https://www.ruby-forum.com/t/extracting-data-from-a-webpage/127253 "2008-01-28T11:08:12Z")

</div>

Hello everyone. I was wondering if anyone knew a way to extract the web page title off of a specific URL that you input into a program? I give it the URL, say www.google.com. It then gives me “Google” - it’s title. T…

---

## [\[ANN\] Ruby-VPI 20.0.0](https://www.ruby-forum.com/t/ann-ruby-vpi-20-0-0/127318)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 8:04am UTC](https://www.ruby-forum.com/t/ann-ruby-vpi-20-0-0/127318 "2008-01-28T08:04:06Z")

</div>

Ruby-VPI Ruby-VPI is a Ruby interface to IEEE 1364-2005 Verilog VPI and a platform for unit testing, rapid prototyping, and systems integration of Verilog modules through Ruby. It lets you create …

---

## [I Get A Ruby Trunk Make Error On Readline](https://www.ruby-forum.com/t/i-get-a-ruby-trunk-make-error-on-readline/127307)

<div class="topic-metadata">

**Author:** [@bogojoker](https://www.ruby-forum.com/u/bogojoker)\
**Replies:** 5\
**Last updated:** [January 28, 2008, 5:15am UTC](https://www.ruby-forum.com/t/i-get-a-ruby-trunk-make-error-on-readline/127307 "2008-01-28T05:15:52Z")

</div>

I have had difficulties with a number of programs since I installed Ruby version 1.9 so I decided to rebuild completely from the svn trunk. In case it is relevant I am running Mac OS X Leopard 10.5.1. Here are the s…

---

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

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 4:42am UTC](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/229152 "2008-01-28T04:42:36Z")

</div>

Begin forwarded message:

---

## [Summary of script encoding](https://www.ruby-forum.com/t/summary-of-script-encoding/127124)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 21\
**Last updated:** [January 28, 2008, 1:20am UTC](https://www.ruby-forum.com/t/summary-of-script-encoding/127124 "2008-01-28T01:20:44Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B script encodinge$B$N$^$H$a$G$9!#e(B r15226e$B$N;~E@$G!"0J2\<$N;EMM$,A4$FH?1G$5$l$F$$$k$D$b$j$G$9!#e(B e$B$=$&$8$c$J$+$C$?$i%P%0e(B e$B0lE@$@$15$$K$J$C$F$$$k$3$H$,$"$C$F!…

---

## [Getting NameError when trying to create a form with multiple of the same object](https://www.ruby-forum.com/t/getting-nameerror-when-trying-to-create-a-form-with-multiple-of-the-same-object/127278)

<div class="topic-metadata">

**Author:** [@laredotornado](https://www.ruby-forum.com/u/laredotornado)\
**Replies:** 1\
**Last updated:** [January 28, 2008, 1:18am UTC](https://www.ruby-forum.com/t/getting-nameerror-when-trying-to-create-a-form-with-multiple-of-the-same-object/127278 "2008-01-28T01:18:23Z")

</div>

Hi, I’m trying to create a form where a user can submit 5 of the same object (named “ec\_line\_item” with attributes “item\_number” and “comments”). I’m doing something wrong because I’m getting this error: NameError …

---

## [Ruport error message](https://www.ruby-forum.com/t/ruport-error-message/127302)

<div class="topic-metadata">

**Author:** [@tabing16](https://www.ruby-forum.com/u/tabing16)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 12:57am UTC](https://www.ruby-forum.com/t/ruport-error-message/127302 "2008-01-28T00:57:04Z")

</div>

Hi I was getting the above error message when this lines of code were executed: require “rubygems” require “ruport” require “ruport/util” a = Ruport::Data::Record.new({:ruby\_version =\> “1.8.5”},{:rubygems\_version …

---

## [Busy Day with IronRuby](https://www.ruby-forum.com/t/busy-day-with-ironruby/127298)

<div class="topic-metadata">

**Author:** [@akinsgre](https://www.ruby-forum.com/u/akinsgre)\
**Replies:** 7\
**Last updated:** [January 28, 2008, 12:43am UTC](https://www.ruby-forum.com/t/busy-day-with-ironruby/127298 "2008-01-28T00:43:10Z")

</div>

OK, so I couldn’t get some of the simple examples of using RubyEngine to start calling Ruby from C#… So I spent a bit reading through the mailing list archives (realizing while doing that, that I’d asked a frequently …

---

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

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 12:08am UTC](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/229173 "2008-01-28T00:08:30Z")

</div>

Begin forwarded message:

---

## [Gem\_server](https://www.ruby-forum.com/t/gem-server/123638)

<div class="topic-metadata">

**Author:** [@thefatpenguin](https://www.ruby-forum.com/u/thefatpenguin)\
**Replies:** 7\
**Last updated:** [January 27, 2008, 11:15pm UTC](https://www.ruby-forum.com/t/gem-server/123638 "2008-01-27T23:15:36Z")

</div>

Have just installed a clean ruby 1.8.5 on windows and ran: gem update --system the rdoc server fails to load the index page with an internal server error: uninitialized constant Gem::DocManager. Any ideas? Full stac…

---

## [Method\_defined? doesn't see module methods?](https://www.ruby-forum.com/t/method-defined-doesnt-see-module-methods/127282)

<div class="topic-metadata">

**Author:** [@matt\_neuburg](https://www.ruby-forum.com/u/matt_neuburg)\
**Replies:** 2\
**Last updated:** [January 27, 2008, 10:10pm UTC](https://www.ruby-forum.com/t/method-defined-doesnt-see-module-methods/127282 "2008-01-27T22:10:40Z")

</div>

module M def self.howdy “hello” end end p M.method\_defined? :howdy #=\> false What question should I ask in order to get “true”? Thx - m.

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

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