# Ruby

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

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

---

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

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/119840 "2007-05-13T17:00:46Z")

</div>

Begin forwarded message:

---

## [Command line arguments](https://www.ruby-forum.com/t/command-line-arguments/104039)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [May 13, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/command-line-arguments/104039 "2007-05-13T16:50:46Z")

</div>

Hi, I wrote a ruby script using command line options for configuration purposes. Now I want to write a second script which should call the first one setting some options as default. What is the best way to do this? …

---

## [Re: rubyscript2exe - cannot execute binary problem](https://www.ruby-forum.com/t/re-rubyscript2exe-cannot-execute-binary-problem/104046)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 3:58pm UTC](https://www.ruby-forum.com/t/re-rubyscript2exe-cannot-execute-binary-problem/104046 "2007-05-13T15:58:42Z")

</div>

Dear Erik, thank you for responding. I have updated both rubyscript2exe and tar2rubyscript, but am still stuck (as you predicted). However, in the small script I sent you, I actually don’t use any dependencies, ju…

---

## [Compare between languages](https://www.ruby-forum.com/t/compare-between-languages/103977)

<div class="topic-metadata">

**Author:** [@anoosh](https://www.ruby-forum.com/u/anoosh)\
**Replies:** 10\
**Last updated:** [May 13, 2007, 3:35pm UTC](https://www.ruby-forum.com/t/compare-between-languages/103977 "2007-05-13T15:35:41Z")

</div>

what is the advantages and disadvantages of ruby vs. other programming languages such as java, php, python

---

## [Re: rubyscript2exe - cannot execute binary problem](https://www.ruby-forum.com/t/re-rubyscript2exe-cannot-execute-binary-problem/104013)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [May 13, 2007, 3:22pm UTC](https://www.ruby-forum.com/t/re-rubyscript2exe-cannot-execute-binary-problem/104013 "2007-05-13T15:22:40Z")

</div>

I forgot to say: I am using Linux Suse 10.2 to create the binary, and tried the binary on a computer running Suse 9.3 and on one running Aurox 11… shouldn’t the executables normally run on any version of Linux ? B…

---

## [No such file to load libglade2](https://www.ruby-forum.com/t/no-such-file-to-load-libglade2/104036)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [May 13, 2007, 3:15pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-libglade2/104036 "2007-05-13T15:15:35Z")

</div>

Hi I have installed ruby on windows using the one click installer. But it seems I am missing something before I can use the statement require “libglade2” Any advice on what I need to install ( and how) would be welco…

---

## [Instance\_variables doesn't return unassigned variables](https://www.ruby-forum.com/t/instance-variables-doesnt-return-unassigned-variables/103792)

<div class="topic-metadata">

**Author:** [@bernd](https://www.ruby-forum.com/u/bernd)\
**Replies:** 9\
**Last updated:** [May 13, 2007, 10:45am UTC](https://www.ruby-forum.com/t/instance-variables-doesnt-return-unassigned-variables/103792 "2007-05-13T10:45:05Z")

</div>

Hi, I wrote a code like this. class ABC attr\_accesor :first, :second end when I wrote the following: x = ABC.new x.first = “test” puts x.instance\_variables the output was only @first Is there a possibility to …

---

## [\[ANN\] ruby-msg-1.2.17 (converter for outlook msg files)](https://www.ruby-forum.com/t/ann-ruby-msg-1-2-17-converter-for-outlook-msg-files/104033)

<div class="topic-metadata">

**Author:** [@calande](https://www.ruby-forum.com/u/calande)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 8:55am UTC](https://www.ruby-forum.com/t/ann-ruby-msg-1-2-17-converter-for-outlook-msg-files/104033 "2007-05-13T08:55:42Z")

</div>

ruby-msg is still, AFAIK, the best option for converting .msg files that a) doesn’t rely on you running outlook on windows to do the conversion; and b) is free software Simply: download the gem (http://ruby-msg.go…

---

## [Distributed Computing in Ruby](https://www.ruby-forum.com/t/distributed-computing-in-ruby/104027)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 3:50am UTC](https://www.ruby-forum.com/t/distributed-computing-in-ruby/104027 "2007-05-13T03:50:42Z")

</div>

Hey all, Before I get emails saying I don’t know enough about Ruby to do any of this yet, let me acknowledge that and say of course. I’m only looking to learn more about doing it, writing (pseudo) code with it, and t…

---

## [Douglas crockford pragmatic programmers book!](https://www.ruby-forum.com/t/douglas-crockford-pragmatic-programmers-book/103967)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 3\
**Last updated:** [May 13, 2007, 2:18am UTC](https://www.ruby-forum.com/t/douglas-crockford-pragmatic-programmers-book/103967 "2007-05-13T02:18:38Z")

</div>

I heard a rumor that Douglas Crockford is writing a book on JavaScript for the Pragmatic Programmers! That’s AWESOME! – Giles B. I’m running a time management experiment: I’m only checking e-mail twice per day, at …

---

## [Queue, with timeout. (Thread.notify...)](https://www.ruby-forum.com/t/queue-with-timeout-thread-notify/103995)

<div class="topic-metadata">

**Author:** [@tbobker](https://www.ruby-forum.com/u/tbobker)\
**Replies:** 3\
**Last updated:** [May 13, 2007, 12:30am UTC](https://www.ruby-forum.com/t/queue-with-timeout-thread-notify/103995 "2007-05-13T00:30:31Z")

</div>

Hi, I’m trying to build a message queue that can receive messages, blocks until messages arrive and has the ability to only block for a limited amount of time. Unfortunately, the build-in Queue doesn’t support timeou…

---

## [ANN: Swiftiply 0.5.0](https://www.ruby-forum.com/t/ann-swiftiply-0-5-0/103975)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [May 12, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/ann-swiftiply-0-5-0/103975 "2007-05-12T23:11:27Z")

</div>

I’d like to announce the first public release of Swiftcore Swiftiply, a clustering proxy for web applications written in Ruby. Kirk H. Swiftiply v. 0.5.0 (http://swiftiply.swiftcore.org) Swiftiply is a backend agno…

---

## [Rubyscript2exe - cannot execute binary problem](https://www.ruby-forum.com/t/rubyscript2exe-cannot-execute-binary-problem/104012)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [May 12, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/rubyscript2exe-cannot-execute-binary-problem/104012 "2007-05-12T22:08:23Z")

</div>

Dear all, I am trying to compile a binary from a Ruby program using tar2rubyscript and rubyscript2exe from an archive. This gives me an executable file, which actually produces what I want the executable file to d…

---

## [Oniguruma 1.1.0 ruby gem bug](https://www.ruby-forum.com/t/oniguruma-1-1-0-ruby-gem-bug/104010)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 0\
**Last updated:** [May 12, 2007, 9:40pm UTC](https://www.ruby-forum.com/t/oniguruma-1-1-0-ruby-gem-bug/104010 "2007-05-12T21:40:21Z")

</div>

On Sat, May 12, 2007 at 10:41:10PM +0900, Dizan V. wrote: Yes, there is, indeed, a bug report, about oniguruma (which I administer) crashing in 64 bit machines. Unfortunately, since I do not have access to a 64 bit c…

---

## [Pure Ruby GIT repository reader](https://www.ruby-forum.com/t/pure-ruby-git-repository-reader/104007)

<div class="topic-metadata">

**Author:** [@pure](https://www.ruby-forum.com/u/pure)\
**Replies:** 0\
**Last updated:** [May 12, 2007, 9:24pm UTC](https://www.ruby-forum.com/t/pure-ruby-git-repository-reader/104007 "2007-05-12T21:24:19Z")

</div>

Friends of decentralized version control, I’ve written a reader for GIT repositories in pure Ruby. It’s not much but if you need it you haven’t to write what others have written already. Repository: http://cthulhu.c…

---

## [Array#choice$B$NGK2uE\*(Bver.$B$NL\>A0(B](https://www.ruby-forum.com/t/array-choice-b-ngk2ue-bver-b-nl-a0-b/104006)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [May 12, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/array-choice-b-ngk2ue-bver-b-nl-a0-b/104006 "2007-05-12T20:46:17Z")

</div>

e$B;a5W$G$9!#e(B 5e$B7ne(B2e$BF|$K!"e(Btrunke$B$Ke(BArray#choicee$B$,2C$o$j$^$7$?!#e(B e$B$3$l$Oe(BArraye$B$Ne(Bat(rand(self.size))e$B$HF1$8$b$N$G$9!#e(B e$B$3$l$KBP$7$F!"GK2uE\*$K%i%s%@%\`$KCM$r\<h$j=P$9e(B Array#choic…

---

## [Problem with script.aculos.us script](https://www.ruby-forum.com/t/problem-with-script-aculos-us-script/103998)

<div class="topic-metadata">

**Author:** [@veeraa2003](https://www.ruby-forum.com/u/veeraa2003)\
**Replies:** 2\
**Last updated:** [May 12, 2007, 8:32pm UTC](https://www.ruby-forum.com/t/problem-with-script-aculos-us-script/103998 "2007-05-12T20:32:15Z")

</div>

Hello everybody, I’m newbie to rails application. I like to use script.aculos.us script in my app. I faced the following problem. first i creat my application. Then I copied the files scriptaculous.js, builder.js, …

---

## [Copy methods from one module to another, with a twist](https://www.ruby-forum.com/t/copy-methods-from-one-module-to-another-with-a-twist/103903)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 2\
**Last updated:** [May 12, 2007, 7:58pm UTC](https://www.ruby-forum.com/t/copy-methods-from-one-module-to-another-with-a-twist/103903 "2007-05-12T19:58:12Z")

</div>

Hi all. I’m trying to figure out how to copy methods from one module to another (actually subclasses of Module because I don’t want to actually extend Module in this context) and I could use some help. The following w…

---

## [Ruby quiz](https://www.ruby-forum.com/t/ruby-quiz/103992)

<div class="topic-metadata">

**Author:** [@anansi](https://www.ruby-forum.com/u/anansi)\
**Replies:** 9\
**Last updated:** [May 12, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/ruby-quiz/103992 "2007-05-12T19:28:08Z")

</div>

hi what is with this weeks ruby quiz? it’s posted on Ruby Quiz - Huffman Encoder (#123) but not here? greets ( ) ( /\\ .-"""-. /\\ …

---

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

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 32\
**Last updated:** [May 12, 2007, 6:22pm UTC](https://www.ruby-forum.com/t/how-to-remove-dups-from-2-lists/103867 "2007-05-12T18:22:02Z")

</div>

I’m trying to write some code that removes all elements from 2 lists that are in both lists. However, I don’t want any duplicates from each list deleted also (which is what the array “-” operator does). The code I ha…

---

## [Shift Operators - I don't get it? What's the application?!?](https://www.ruby-forum.com/t/shift-operators-i-dont-get-it-whats-the-application/103984)

<div class="topic-metadata">

**Author:** [@Human\_D](https://www.ruby-forum.com/u/Human_D)\
**Replies:** 8\
**Last updated:** [May 12, 2007, 5:07pm UTC](https://www.ruby-forum.com/t/shift-operators-i-dont-get-it-whats-the-application/103984 "2007-05-12T17:07:56Z")

</div>

Hello folks, Sorry for dump question, but I really don’t get it! I was looking at one of the Ruby Q. solutions (Countdown) in Ruby Quiz book, it uses \<\< operator, which I don’t understand! I checked WIkipedia and Ru…

---

## [Textpow 0.9.0 Released](https://www.ruby-forum.com/t/textpow-0-9-0-released/103989)

<div class="topic-metadata">

**Author:** [@Dizan\_V](https://www.ruby-forum.com/u/Dizan_V)\
**Replies:** 2\
**Last updated:** [May 12, 2007, 3:41pm UTC](https://www.ruby-forum.com/t/textpow-0-9-0-released/103989 "2007-05-12T15:41:39Z")

</div>

I have the pleasure to announce the first public release (v 0.9.0 ) of Textpow http://textpow.rubyforge.org Textpow is a Ruby library to parse TextMate\[http://macromates.com/\] bundles. Currently, Textpow fully parse…

---

## [Ruby with Java Servlets](https://www.ruby-forum.com/t/ruby-with-java-servlets/103290)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [May 12, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/ruby-with-java-servlets/103290 "2007-05-12T15:26:38Z")

</div>

My requirement is as follows: I have a JSP page which interacts with a servlet, which then interacts with some service does some post, get and returns some data back to another jsp. I need to create a Ruby class/obje…

---

## [Distributed Ruby/Threads/Rinda?](https://www.ruby-forum.com/t/distributed-ruby-threads-rinda/103988)

<div class="topic-metadata">

**Author:** [@Enrique\_Comba\_R](https://www.ruby-forum.com/u/Enrique_Comba_R)\
**Replies:** 2\
**Last updated:** [May 12, 2007, 3:11pm UTC](https://www.ruby-forum.com/t/distributed-ruby-threads-rinda/103988 "2007-05-12T15:11:35Z")

</div>

Hello all, Recently (to test my understanding of Ruby) I was rewriting a middleware server software of my company that is written in Java (J2EE) in Ruby. I actually coded the core of the system and think it is pretty…

---

## [Erlang/ruby bridge (sorta re: Joe Armstrong RubyConf thread)](https://www.ruby-forum.com/t/erlang-ruby-bridge-sorta-re-joe-armstrong-rubyconf-thread/103844)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 1\
**Last updated:** [May 12, 2007, 10:54am UTC](https://www.ruby-forum.com/t/erlang-ruby-bridge-sorta-re-joe-armstrong-rubyconf-thread/103844 "2007-05-12T10:54:13Z")

</div>

http://www.rubyinside.com/erlang-ruby-bridge-its-erlectricity-487.html http://nullstyle.com/2007/5/9/erlectricity-hi-ruby-i-m-erlang I’m a n00b with Erlang, but it looks to me as if essentially Erlang’s playing client…

---

## [Problem with using YAML for configuration files](https://www.ruby-forum.com/t/problem-with-using-yaml-for-configuration-files/103982)

<div class="topic-metadata">

**Author:** [@eliben](https://www.ruby-forum.com/u/eliben)\
**Replies:** 1\
**Last updated:** [May 12, 2007, 10:47am UTC](https://www.ruby-forum.com/t/problem-with-using-yaml-for-configuration-files/103982 "2007-05-12T10:47:12Z")

</div>

Hello, I’m using YAML for configuration files in my current Ruby application, and the yaml.rb module to load them (YAML::load is about all I use). One problem I ran into is error reporting, on the semantic level (not …

---

## [Reading materials](https://www.ruby-forum.com/t/reading-materials/103952)

<div class="topic-metadata">

**Author:** [@Concours](https://www.ruby-forum.com/u/Concours)\
**Replies:** 6\
**Last updated:** [May 12, 2007, 7:24am UTC](https://www.ruby-forum.com/t/reading-materials/103952 "2007-05-12T07:24:02Z")

</div>

I’ve recently been turned on to Ruby and Rails, and after some preliminary searching, I’ve settled on two sources to help get things started. Beginning Ruby: From Novice to Professional (Expert’s Voice in Open Sourc…

---

## [Looking for ruby programmer](https://www.ruby-forum.com/t/looking-for-ruby-programmer/103919)

<div class="topic-metadata">

**Author:** [@shoxz](https://www.ruby-forum.com/u/shoxz)\
**Replies:** 2\
**Last updated:** [May 12, 2007, 5:25am UTC](https://www.ruby-forum.com/t/looking-for-ruby-programmer/103919 "2007-05-12T05:25:56Z")

</div>

My Business Partner and I are looking for a programmer who is proficient in RUBY. We are looking for a partner in our business or are willing to work on contractâ€¦ If there is any interest in learning more about the…

---

## [Installing eRuby/Erubis to use with Apache on Mac OS X](https://www.ruby-forum.com/t/installing-eruby-erubis-to-use-with-apache-on-mac-os-x/103969)

<div class="topic-metadata">

**Author:** [@donut2d](https://www.ruby-forum.com/u/donut2d)\
**Replies:** 0\
**Last updated:** [May 12, 2007, 4:00am UTC](https://www.ruby-forum.com/t/installing-eruby-erubis-to-use-with-apache-on-mac-os-x/103969 "2007-05-12T04:00:51Z")

</div>

So I’m pretty new to Ruby and I really like the idea of it and the syntax and all of that joy. But I’m having trouble getting up and running. I got Ruby 1.8.6 installed thanks to That was easy. But I did a lot I didn…

---

## [To\_a](https://www.ruby-forum.com/t/to-a/103852)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 10\
**Last updated:** [May 12, 2007, 3:59am UTC](https://www.ruby-forum.com/t/to-a/103852 "2007-05-12T03:59:51Z")

</div>

Howdy, jewel hunters I’ve been working on the Credit Card problem, and am using the command .to\_a to put my numbers into an array. However, I get a warning everytime I do so: #122\_CreditCards.rb:45: warning: defaul…

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

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