# Ruby

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

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

---

## [Shebang - what's the point?](https://www.ruby-forum.com/t/shebang-whats-the-point/103909)

<div class="topic-metadata">

**Author:** [@toadkicker](https://www.ruby-forum.com/u/toadkicker)\
**Replies:** 11\
**Last updated:** [May 11, 2007, 10:36pm UTC](https://www.ruby-forum.com/t/shebang-whats-the-point/103909 "2007-05-11T22:36:39Z")

</div>

I’ve written a few hundred scripts now, and not once have I ever coded a shebang line. I’m writing on both Windows and the Mac (Tiger). Any time I’m kicking off a script from the Command Prompt or in Terminal on the …

---

## [Ramaze 0.1.0](https://www.ruby-forum.com/t/ramaze-0-1-0/103900)

<div class="topic-metadata">

**Author:** [@mifi](https://www.ruby-forum.com/u/mifi)\
**Replies:** 3\
**Last updated:** [May 11, 2007, 10:22pm UTC](https://www.ruby-forum.com/t/ramaze-0-1-0/103900 "2007-05-11T22:22:26Z")

</div>

This is a one-time post to announce the creation of the Ramaze project, an open source web framework with the aim to be light and modular. Ramaze is already relatively stable and we decided that it is time to give it …

---

## [Code Redistribution](https://www.ruby-forum.com/t/code-redistribution/103944)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 9:03pm UTC](https://www.ruby-forum.com/t/code-redistribution/103944 "2007-05-11T21:03:16Z")

</div>

On my further considerations of code redistribution (from my perspective of Facets)… I think one of the fundamental distinctions that I’ve been missing is that which lies between a common utility and a more specialize…

---

## [Bloom Filters](https://www.ruby-forum.com/t/bloom-filters/103679)

<div class="topic-metadata">

**Author:** [@mfaine](https://www.ruby-forum.com/u/mfaine)\
**Replies:** 2\
**Last updated:** [May 11, 2007, 7:33pm UTC](https://www.ruby-forum.com/t/bloom-filters/103679 "2007-05-11T19:33:07Z")

</div>

I’ve been playing with Bloom Filters in Perl and found that there is a ruby module for them as well (perl inspired). I am trying to come up with a good way to serialize the filter post construction that would be comp…

---

## [Re: shebang - what's the point?](https://www.ruby-forum.com/t/re-shebang-whats-the-point/103921)

<div class="topic-metadata">

**Author:** [@jah](https://www.ruby-forum.com/u/jah)\
**Replies:** 1\
**Last updated:** [May 11, 2007, 6:36pm UTC](https://www.ruby-forum.com/t/re-shebang-whats-the-point/103921 "2007-05-11T18:36:52Z")

</div>

Probably best not to call a script by the same name as a unix command.

---

## [Re: how to remove dups from 2 lists?](https://www.ruby-forum.com/t/re-how-to-remove-dups-from-2-lists/103923)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 6:04pm UTC](https://www.ruby-forum.com/t/re-how-to-remove-dups-from-2-lists/103923 "2007-05-11T18:04:49Z")

</div>

From: Mike S. \[mailto:removed\_email\_address@domain.invalid\] I’m looking for a function that will eliminate all matching items, like canceling terms in a fraction. If the first list has 3 "a"s, and the second list has…

---

## [Is there a possibility to include methods of a class?](https://www.ruby-forum.com/t/is-there-a-possibility-to-include-methods-of-a-class/103906)

<div class="topic-metadata">

**Author:** [@bernd](https://www.ruby-forum.com/u/bernd)\
**Replies:** 8\
**Last updated:** [May 11, 2007, 5:18pm UTC](https://www.ruby-forum.com/t/is-there-a-possibility-to-include-methods-of-a-class/103906 "2007-05-11T17:18:45Z")

</div>

Hi all, first of all: this list and you rock! I know that there is no multiple inheritance, but you can use the concept of mixin. However, I want to inherit my class another and “mixin” methods from another class. T…

---

## [Design own wallet!](https://www.ruby-forum.com/t/design-own-wallet/103910)

<div class="topic-metadata">

**Author:** [@Gefritari](https://www.ruby-forum.com/u/Gefritari)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 4:53pm UTC](https://www.ruby-forum.com/t/design-own-wallet/103910 "2007-05-11T16:53:38Z")

</div>

Found a cool page: www.wildwallets.com you can engrave text onto a wallet and more…check it out!

---

## [Dyla'07: 3rd Workshop on Dynamic Languages and Applications](https://www.ruby-forum.com/t/dyla07-3rd-workshop-on-dynamic-languages-and-applications/103907)

<div class="topic-metadata">

**Author:** [@Alexandre\_Bergel](https://www.ruby-forum.com/u/Alexandre_Bergel)\
**Replies:** 0\
**Last updated:** [May 11, 2007, 4:05pm UTC](https://www.ruby-forum.com/t/dyla07-3rd-workshop-on-dynamic-languages-and-applications/103907 "2007-05-11T16:05:30Z")

</div>

Dear colleague, Please, note that after the workshop, best papers will be selected, and a second deadline will then be set regarding preparation of the Electronic Communications of the EASST. Note that we submission …

---

## [From REALbasic \> Terminal \> RUBY ?!](https://www.ruby-forum.com/t/from-realbasic-terminal-ruby/103875)

<div class="topic-metadata">

**Author:** [@gcarcass](https://www.ruby-forum.com/u/gcarcass)\
**Replies:** 9\
**Last updated:** [May 11, 2007, 3:37pm UTC](https://www.ruby-forum.com/t/from-realbasic-terminal-ruby/103875 "2007-05-11T15:37:01Z")

</div>

Hello: This might seem weird, I just started Ruby, so don’t know much about it, HOW CAN I PASS ARGUMENTS AS A STRING FROM A UNIX TERMINAL INTO A RUBY SCRIPT? I’m developing an application with REALbasic(why?!, becaus…

---

## [Ruby Performance - LOW?](https://www.ruby-forum.com/t/ruby-performance-low/103565)

<div class="topic-metadata">

**Author:** [@conker](https://www.ruby-forum.com/u/conker)\
**Replies:** 22\
**Last updated:** [May 11, 2007, 10:36am UTC](https://www.ruby-forum.com/t/ruby-performance-low/103565 "2007-05-11T10:36:40Z")

</div>

Hi All, It’s sad to see ruby at the bottom of this list: http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all Any thoughts on this? Are there slimmer highly optimized versions that are specifically …

---

## [Consistency in 'raise'? usage](https://www.ruby-forum.com/t/consistency-in-raise-usage/103827)

<div class="topic-metadata">

**Author:** [@dennismajor1](https://www.ruby-forum.com/u/dennismajor1)\
**Replies:** 1\
**Last updated:** [May 11, 2007, 9:12am UTC](https://www.ruby-forum.com/t/consistency-in-raise-usage/103827 "2007-05-11T09:12:32Z")

</div>

Hi, First let me say I’m new to ruby and RoR. I am attempting to use IPAddr from the library in an RoR application. Two types of raise are used in ipaddr.rb. raise "unsupported address family" and raise ArgumentE…

---

## [Hpricot 0.5 -- a fast, forgiving HTML reader](https://www.ruby-forum.com/t/hpricot-0-5-a-fast-forgiving-html-reader/84079)

<div class="topic-metadata">

**Author:** [@S\_why](https://www.ruby-forum.com/u/S_why)\
**Replies:** 7\
**Last updated:** [May 11, 2007, 3:14am UTC](https://www.ruby-forum.com/t/hpricot-0-5-a-fast-forgiving-html-reader/84079 "2007-05-11T03:14:55Z")

</div>

Hi, here’s Hpricot 0.5. gem install hpricot --source http://code.whytheluckystiff.net Hpricot reads HTML pages and works hard to fix them up and give you everything you need to wind your way around them and hack them …

---

## [Gem install specific version](https://www.ruby-forum.com/t/gem-install-specific-version/103669)

<div class="topic-metadata">

**Author:** [@barjunk](https://www.ruby-forum.com/u/barjunk)\
**Replies:** 3\
**Last updated:** [May 11, 2007, 3:06am UTC](https://www.ruby-forum.com/t/gem-install-specific-version/103669 "2007-05-11T03:06:55Z")

</div>

I know that I can do: gem install --version ‘\> 0.3.2’ packagename but what if there is a “mswin” and a “ruby” version? Any way to get it to pick the right one? Mike B.

---

## [Trouble using string.tr()](https://www.ruby-forum.com/t/trouble-using-string-tr/103815)

<div class="topic-metadata">

**Author:** [@toadkicker](https://www.ruby-forum.com/u/toadkicker)\
**Replies:** 23\
**Last updated:** [May 10, 2007, 11:21pm UTC](https://www.ruby-forum.com/t/trouble-using-string-tr/103815 "2007-05-10T23:21:36Z")

</div>

I’ve coded up EBCDIC to ASCII translate strings. Everything is working fine, except for the greater than symbol. (In EBCDIC, X’6E’). What is happening is that whenever a \> is in the input string, it gets translated …

---

## [Net::SSH exec command on remote host](https://www.ruby-forum.com/t/net-ssh-exec-command-on-remote-host/103784)

<div class="topic-metadata">

**Author:** [@saga99x](https://www.ruby-forum.com/u/saga99x)\
**Replies:** 3\
**Last updated:** [May 10, 2007, 9:51pm UTC](https://www.ruby-forum.com/t/net-ssh-exec-command-on-remote-host/103784 "2007-05-10T21:51:26Z")

</div>

I try to use Net::SSH to exec command on remote host. A session was openned and a few command should be exec and get the output. It always failed to get the output of second cmd no matter what command it is. Here is t…

---

## [Oniguruma 1.1.0 Released](https://www.ruby-forum.com/t/oniguruma-1-1-0-released/103838)

<div class="topic-metadata">

**Author:** [@Dizan\_V](https://www.ruby-forum.com/u/Dizan_V)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 9:10pm UTC](https://www.ruby-forum.com/t/oniguruma-1-1-0-released/103838 "2007-05-10T21:10:22Z")

</div>

oniguruma version 1.1.0 has been released! http://oniguruma.rubyforge.org Ruby bindings to the Oniguruma\[http://www.geocities.jp/kosako3/oniguruma/\] regular expression library (no need to recompile Ruby). Changes: =…

---

## [The Factory Method](https://www.ruby-forum.com/t/the-factory-method/103778)

<div class="topic-metadata">

**Author:** [@Enrique\_Comba\_R](https://www.ruby-forum.com/u/Enrique_Comba_R)\
**Replies:** 15\
**Last updated:** [May 10, 2007, 6:15pm UTC](https://www.ruby-forum.com/t/the-factory-method/103778 "2007-05-10T18:15:45Z")

</div>

Hi everyone, as you know I started a few days ago the Ruby Patterns Wiki and now I am starting to put in some samples. As you know, although I am not new to software development, I am still a newbie in Ruby. I was th…

---

## [Installing the compiled binaries windows](https://www.ruby-forum.com/t/installing-the-compiled-binaries-windows/103753)

<div class="topic-metadata">

**Author:** [@gino](https://www.ruby-forum.com/u/gino)\
**Replies:** 4\
**Last updated:** [May 10, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/installing-the-compiled-binaries-windows/103753 "2007-05-10T16:31:28Z")

</div>

there’s tow options for installing ruby on windows, the one clikc installer, and installing the complied binares, well, I don’t know how to install the complied binaries, I downloaded it, copied on my d partition, I …

---

## [Loop questions](https://www.ruby-forum.com/t/loop-questions/103804)

<div class="topic-metadata">

**Author:** [@llinklater](https://www.ruby-forum.com/u/llinklater)\
**Replies:** 9\
**Last updated:** [May 10, 2007, 3:01pm UTC](https://www.ruby-forum.com/t/loop-questions/103804 "2007-05-10T15:01:12Z")

</div>

I am new to ruby and loving it so far and have beginner’s questions about loops. I wanted something like this: for (int i = 1; i \<= 5; i++) printf("%d\\n", \[i\]); expecting: 1 2 3 4 5 I wrote this: i = 5 i.tim…

---

## [A question for people with English OS](https://www.ruby-forum.com/t/a-question-for-people-with-english-os/103413)

<div class="topic-metadata">

**Author:** [@duffbeer](https://www.ruby-forum.com/u/duffbeer)\
**Replies:** 21\
**Last updated:** [May 10, 2007, 2:22pm UTC](https://www.ruby-forum.com/t/a-question-for-people-with-english-os/103413 "2007-05-10T14:22:08Z")

</div>

Can you view Japanese documents on the internet with an English OS without special settings or is it garbled text? This may seem like a silly question but I have always used a Japanese OS so I do not know. Is it just…

---

## [Ruby based forum software](https://www.ruby-forum.com/t/ruby-based-forum-software/103794)

<div class="topic-metadata">

**Author:** [@apie](https://www.ruby-forum.com/u/apie)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 12:18pm UTC](https://www.ruby-forum.com/t/ruby-based-forum-software/103794 "2007-05-10T12:18:52Z")

</div>

Hi I would like to know what ruby based forum software to use. I know about beast and rforum. Are there any others, which ones are good? What experiences have you had and what are pros and cons… Just throwing a rock…

---

## [Ruby module developer wanted for 'libmsgque'](https://www.ruby-forum.com/t/ruby-module-developer-wanted-for-libmsgque/103780)

<div class="topic-metadata">

**Author:** [@rantanplan](https://www.ruby-forum.com/u/rantanplan)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 9:05am UTC](https://www.ruby-forum.com/t/ruby-module-developer-wanted-for-libmsgque/103780 "2007-05-10T09:05:33Z")

</div>

Hi, I’m a the maintainer for the new project ‘libmsgque’ hosted at SF (see below for details) and need a volunteer to develop the language bindings for ruby. Is somebody available to take over this job ? An example …

---

## [NMEA , request for real live sample](https://www.ruby-forum.com/t/nmea-request-for-real-live-sample/103685)

<div class="topic-metadata">

**Author:** [@bino](https://www.ruby-forum.com/u/bino)\
**Replies:** 8\
**Last updated:** [May 10, 2007, 8:47am UTC](https://www.ruby-forum.com/t/nmea-request-for-real-live-sample/103685 "2007-05-10T08:47:08Z")

</div>

Dear All … Is there any easier to understand sample of ruby nmea parser ( http://rubyforge.org/projects/nmea/ ) ?? I need to parse NMEA , and re format it to YAML. I tried to : —START— require ‘serialport’ require…

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/103527)

<div class="topic-metadata">

**Author:** [@nicken](https://www.ruby-forum.com/u/nicken)\
**Replies:** 1\
**Last updated:** [May 10, 2007, 8:32am UTC](https://www.ruby-forum.com/t/unsubscribe/103527 "2007-05-10T08:32:30Z")

</div>

unsubscribe

---

## [wxRuby and wxGlade?](https://www.ruby-forum.com/t/wxruby-and-wxglade/103600)

<div class="topic-metadata">

**Author:** [@gcarcass](https://www.ruby-forum.com/u/gcarcass)\
**Replies:** 6\
**Last updated:** [May 10, 2007, 5:26am UTC](https://www.ruby-forum.com/t/wxruby-and-wxglade/103600 "2007-05-10T05:26:21Z")

</div>

Hello: Finally I understood the concept of what wxWidgets is, I thought it was an IDE I didn’t understood the concept of libraries and that stuff, but now I have it clear… I think, je je je. I’m using OSX 10.4.9(PPC)…

---

## [Separate Chinese and English! with Ruby](https://www.ruby-forum.com/t/separate-chinese-and-english-with-ruby/103500)

<div class="topic-metadata">

**Author:** [@xain](https://www.ruby-forum.com/u/xain)\
**Replies:** 31\
**Last updated:** [May 10, 2007, 5:18am UTC](https://www.ruby-forum.com/t/separate-chinese-and-english-with-ruby/103500 "2007-05-10T05:18:44Z")

</div>

Don’t get me wrong, because I just want to know how to separate English words from a string with ruby. There are strings (UTF-8 encoded) to record people’s name, like: æ‘©æ ¹Â·å¼—é‡Œæ›¼ Morgan Freeman å¸ƒé²æ–¯Â·å¨…

---

## [Password Echo](https://www.ruby-forum.com/t/password-echo/103672)

<div class="topic-metadata">

**Author:** [@mschipperheyn](https://www.ruby-forum.com/u/mschipperheyn)\
**Replies:** 7\
**Last updated:** [May 10, 2007, 1:42am UTC](https://www.ruby-forum.com/t/password-echo/103672 "2007-05-10T01:42:10Z")

</div>

Anyone know of a way, aside from Ruby/Password, of suppressing echo for a password prompt on a terminal? I’m interested in \*nix primarily. Thanks, Marc

---

## [How to generate HTML API doucment for ruby?](https://www.ruby-forum.com/t/how-to-generate-html-api-doucment-for-ruby/103720)

<div class="topic-metadata">

**Author:** [@alan](https://www.ruby-forum.com/u/alan)\
**Replies:** 4\
**Last updated:** [May 10, 2007, 1:37am UTC](https://www.ruby-forum.com/t/how-to-generate-html-api-doucment-for-ruby/103720 "2007-05-10T01:37:39Z")

</div>

I googled the internet and didn’t find any clear instructions I can follow. Now the v1.8.6 is out and the place I go for ruby document at http://www.ruby-doc.org/core/ does not have the updated API for v1.8.6. I wond…

---

## [Using dynamic method calling with attr\_writer methods](https://www.ruby-forum.com/t/using-dynamic-method-calling-with-attr-writer-methods/103747)

<div class="topic-metadata">

**Author:** [@daisagah](https://www.ruby-forum.com/u/daisagah)\
**Replies:** 4\
**Last updated:** [May 10, 2007, 12:41am UTC](https://www.ruby-forum.com/t/using-dynamic-method-calling-with-attr-writer-methods/103747 "2007-05-10T00:41:06Z")

</div>

I’m a total Ruby newbie looking for help. I’m writing an application where I need to dynamical assign object variables via attr\_writer object methods. My code is something like this: class Test \< ParentClass attr\_re…

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

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