# Ruby

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

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

---

## [Warbler failing on me](https://www.ruby-forum.com/t/warbler-failing-on-me/159630)

<div class="topic-metadata">

**Author:** [@Stefan\_Magnus\_Landr](https://www.ruby-forum.com/u/Stefan_Magnus_Landr)\
**Replies:** 6\
**Last updated:** [February 9, 2009, 9:48am UTC](https://www.ruby-forum.com/t/warbler-failing-on-me/159630 "2009-02-09T09:48:13Z")

</div>

Hi there, I’m having issues making warbler run. What could be going on here? Stefan D:\\projects\\post-discrepancy\>jruby -S warble --trace war \*\* Invoke war (first\_time) \*\* Invoke war:app (first\_time) \*\* Invoke war:…

---

## [Book](https://www.ruby-forum.com/t/book/159822)

<div class="topic-metadata">

**Author:** [@vishwajitp](https://www.ruby-forum.com/u/vishwajitp)\
**Replies:** 8\
**Last updated:** [February 9, 2009, 9:04am UTC](https://www.ruby-forum.com/t/book/159822 "2009-02-09T09:04:44Z")

</div>

I am new in Ruby. Please suggest me some books to learn Ruby. Thanks

---

## [Heckle 1.4.2 Released](https://www.ruby-forum.com/t/heckle-1-4-2-released/159807)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 1\
**Last updated:** [February 9, 2009, 7:59am UTC](https://www.ruby-forum.com/t/heckle-1-4-2-released/159807 "2009-02-09T07:59:42Z")

</div>

heckle version 1.4.2 has been released! http://www.rubyforge.org/projects/seattlerb http://seattlerb.rubyforge.org/heckle Heckle is unit test sadism™ at it’s core. Heckle is a mutation tester. It modifies your code a…

---

## [A Tk window](https://www.ruby-forum.com/t/a-tk-window/159299)

<div class="topic-metadata">

**Author:** [@alby](https://www.ruby-forum.com/u/alby)\
**Replies:** 20\
**Last updated:** [February 9, 2009, 7:43am UTC](https://www.ruby-forum.com/t/a-tk-window/159299 "2009-02-09T07:43:18Z")

</div>

I have a program that run in the terminal. But once in a while I need it to bring up a window (GUI) with some information (and interactive widgets). So I do: root = TkRoot.new …set up the window… Tk.mainloop This …

---

## [Decryption in ruby](https://www.ruby-forum.com/t/decryption-in-ruby/159814)

<div class="topic-metadata">

**Author:** [@vetrivel](https://www.ruby-forum.com/u/vetrivel)\
**Replies:** 0\
**Last updated:** [February 9, 2009, 6:18am UTC](https://www.ruby-forum.com/t/decryption-in-ruby/159814 "2009-02-09T06:18:07Z")

</div>

I have a decryption doutes in ruby. A person encrypts the data in c# language using RSACryptoServiceProvider class. Example RSA decryption in c# Language Deryption Algorithm in C# public static string DecryptData(st…

---

## [Best way to protect class instance variables](https://www.ruby-forum.com/t/best-way-to-protect-class-instance-variables/159784)

<div class="topic-metadata">

**Author:** [@barunio](https://www.ruby-forum.com/u/barunio)\
**Replies:** 9\
**Last updated:** [February 9, 2009, 5:57am UTC](https://www.ruby-forum.com/t/best-way-to-protect-class-instance-variables/159784 "2009-02-09T05:57:50Z")

</div>

Suppose I generate a class instance variable and create an accessor function for it as follows: class MyClass @blah = \[0,1\] def self.blah @blah end end I would like to prevent any other piece of code from having …

---

## [Calling random](https://www.ruby-forum.com/t/calling-random/159773)

<div class="topic-metadata">

**Author:** [@bor\_S](https://www.ruby-forum.com/u/bor_S)\
**Replies:** 11\
**Last updated:** [February 9, 2009, 5:27am UTC](https://www.ruby-forum.com/t/calling-random/159773 "2009-02-09T05:27:39Z")

</div>

Apologies, I have been out of using ruby for a while, and ran into trouble when I tried to do the below. What is the normal way to call apply a list of arguments to a list of functions? def f1(n) puts “f1: #{n}” end …

---

## [Amalgalite 0.7.4 Released](https://www.ruby-forum.com/t/amalgalite-0-7-4-released/159812)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 0\
**Last updated:** [February 9, 2009, 4:56am UTC](https://www.ruby-forum.com/t/amalgalite-0-7-4-released/159812 "2009-02-09T04:56:40Z")

</div>

Issue a new version, find new bugs. The cycle continues… amalgalite version 0.7.4 has been released. gem install amalgalite http://copiousfreetime.rubyforge.org/amalgalite/ Amalgalite embeds the SQLite database engi…

---

## [How to monitor wget command progress in ruby?](https://www.ruby-forum.com/t/how-to-monitor-wget-command-progress-in-ruby/159806)

<div class="topic-metadata">

**Author:** [@yankees26](https://www.ruby-forum.com/u/yankees26)\
**Replies:** 5\
**Last updated:** [February 9, 2009, 4:09am UTC](https://www.ruby-forum.com/t/how-to-monitor-wget-command-progress-in-ruby/159806 "2009-02-09T04:09:20Z")

</div>

Hello! I currently developing rails application but it’s more ruby-specyfic question. I have background process launched in starling. All aplication work is a downloading large files in background. I use wget to do th…

---

## [Cannot initialize Form with IronRuby](https://www.ruby-forum.com/t/cannot-initialize-form-with-ironruby/159788)

<div class="topic-metadata">

**Author:** [@Meinrad\_R](https://www.ruby-forum.com/u/Meinrad_R)\
**Replies:** 7\
**Last updated:** [February 9, 2009, 3:46am UTC](https://www.ruby-forum.com/t/cannot-initialize-form-with-ironruby/159788 "2009-02-09T03:46:32Z")

</div>

IronRuby 1.0.0.0 on .NET 2.0.50727.1433 Copyright © Microsoft Corporation. All rights reserved. require “System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyTo ken=b77a5c561934e089” =\> true Form…

---

## [Full Ruport Book manuscripts now on Github](https://www.ruby-forum.com/t/full-ruport-book-manuscripts-now-on-github/159578)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 13\
**Last updated:** [February 9, 2009, 3:44am UTC](https://www.ruby-forum.com/t/full-ruport-book-manuscripts-now-on-github/159578 "2009-02-09T03:44:45Z")

</div>

Hi folks, I’m happy to announce that my friend Chenoa Siegenthaler has converted the entire Ruport Book to asciidoc, and that the sources are now available on github. The bookcan be build through Asciidoc to produc…

---

## [Code Review: re](https://www.ruby-forum.com/t/code-review-re/159603)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 3\
**Last updated:** [February 9, 2009, 12:58am UTC](https://www.ruby-forum.com/t/code-review-re/159603 "2009-02-09T00:58:36Z")

</div>

tfpt review “/shelveset:re;REDMOND\\sborde” Comment : Adds tests in library\\regexp\\match\_specs.rb and language\\regexp\_specs.rb Fixes the issues found by it. \\c support had a typo had checked for \\C instead. Added su…

---

## [Re: Ruby vs Perl performance](https://www.ruby-forum.com/t/re-ruby-vs-perl-performance/159786)

<div class="topic-metadata">

**Author:** [@Sean\_Mehan](https://www.ruby-forum.com/u/Sean_Mehan)\
**Replies:** 1\
**Last updated:** [February 8, 2009, 11:50pm UTC](https://www.ruby-forum.com/t/re-ruby-vs-perl-performance/159786 "2009-02-08T23:50:43Z")

</div>

Here are some numbers: http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=jruby&lang2=yarv

---

## [Amalgalite 0.7.3 Released](https://www.ruby-forum.com/t/amalgalite-0-7-3-released/159794)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 10:36pm UTC](https://www.ruby-forum.com/t/amalgalite-0-7-3-released/159794 "2009-02-08T22:36:11Z")

</div>

amalgalite version 0.7.3 has been released. gem install amalgalite http://copiousfreetime.rubyforge.org/amalgalite/ Amalgalite embeds the SQLite database engine in a ruby extension. There is no need to install SQLi…

---

## [Encrypting 6-8+ character strings (passwords)](https://www.ruby-forum.com/t/encrypting-6-8-character-strings-passwords/159791)

<div class="topic-metadata">

**Author:** [@thabenksta](https://www.ruby-forum.com/u/thabenksta)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 10:04pm UTC](https://www.ruby-forum.com/t/encrypting-6-8-character-strings-passwords/159791 "2009-02-08T22:04:17Z")

</div>

Is there a good ruby library for encrypting strings less than 8 characters? I’ve used http://crypt.rubyforge.org/ in the past but it doesn’t seem to work for less than 8 characters. I could try padding it with blanks …

---

## [How to initialize iron ruby from c#](https://www.ruby-forum.com/t/how-to-initialize-iron-ruby-from-c/159743)

<div class="topic-metadata">

**Author:** [@Meinrad\_R](https://www.ruby-forum.com/u/Meinrad_R)\
**Replies:** 11\
**Last updated:** [February 8, 2009, 8:52pm UTC](https://www.ruby-forum.com/t/how-to-initialize-iron-ruby-from-c/159743 "2009-02-08T20:52:09Z")

</div>

Hi there, I am trying to initialize an iron ruby engine for execution of code snipptes from a c# application. extensive googling has not helped me with the task because there seem to have been much changes in iron r…

---

## [Not swallowed levels of the backtrace on unrescued exception](https://www.ruby-forum.com/t/not-swallowed-levels-of-the-backtrace-on-unrescued-exception/159727)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 1\
**Last updated:** [February 8, 2009, 7:41pm UTC](https://www.ruby-forum.com/t/not-swallowed-levels-of-the-backtrace-on-unrescued-exception/159727 "2009-02-08T19:41:02Z")

</div>

Currently ruby \[at least versions 1.8.6 and greater\] swallows the “middle” of backtraces if the thrown error was “SystemStackError”: ex: cat bad.rb def go go2 end def go2 go end go ruby bad.rb bad.rb:5:in…

---

## [Suggestion for ir.exe.config](https://www.ruby-forum.com/t/suggestion-for-ir-exe-config/159757)

<div class="topic-metadata">

**Author:** [@maxer](https://www.ruby-forum.com/u/maxer)\
**Replies:** 1\
**Last updated:** [February 8, 2009, 7:37pm UTC](https://www.ruby-forum.com/t/suggestion-for-ir-exe-config/159757 "2009-02-08T19:37:28Z")

</div>

Don’t you think ir.exe.config would be much readable with this syntax \<ruby\> \<librarypaths\> \<path\>..\\..\\Languages\\Ruby\\libs\\\</path\> …....\\External\\Languages\\Ruby\\ruby-1.8.6\\lib\\ruby\\site\_ruby\\…

---

## [Analyze ruby conditional expression](https://www.ruby-forum.com/t/analyze-ruby-conditional-expression/159751)

<div class="topic-metadata">

**Author:** [@GSSSSbor\_SebestySSS](https://www.ruby-forum.com/u/GSSSSbor_SebestySSS)\
**Replies:** 5\
**Last updated:** [February 8, 2009, 7:23pm UTC](https://www.ruby-forum.com/t/analyze-ruby-conditional-expression/159751 "2009-02-08T19:23:24Z")

</div>

Hi, I want to examine conditional expressions and I’m looking for tools to do it. It would be perfect to do it purely in ruby or even in jruby. Any recommendations are apprecitated. Gábor

---

## [Cannot remove multiple spaces](https://www.ruby-forum.com/t/cannot-remove-multiple-spaces/159717)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 15\
**Last updated:** [February 8, 2009, 7:06pm UTC](https://www.ruby-forum.com/t/cannot-remove-multiple-spaces/159717 "2009-02-08T19:06:58Z")

</div>

I’m baffled by this strange outcome - I cannot reduce multiple spaces from a text file. This isn’t just a regex problem, somehow. I’m failing to grasp something essential, but don’t know what it is. All help appreciat…

---

## [February Phoenix Ruby User Group Meeting](https://www.ruby-forum.com/t/february-phoenix-ruby-user-group-meeting/159776)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 5:26pm UTC](https://www.ruby-forum.com/t/february-phoenix-ruby-user-group-meeting/159776 "2009-02-08T17:26:18Z")

</div>

February Phoenix Ruby U. Group Meeting Date: Monday, February 9, 2009 Time: 6:30 pm - at Happy Camper Studios offices Place: Happy Camper Studios 4643 E. Thomas Rd. Suite #3 Phoenix, AZ 85018 See http://www.rubya…

---

## [RubyKaigi 2009: Call for Presentations](https://www.ruby-forum.com/t/rubykaigi-2009-call-for-presentations/159772)

<div class="topic-metadata">

**Author:** [@Leonard\_C](https://www.ruby-forum.com/u/Leonard_C)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 5:12pm UTC](https://www.ruby-forum.com/t/rubykaigi-2009-call-for-presentations/159772 "2009-02-08T17:12:44Z")

</div>

Hi, This is a call for presentation proposals from the RubyKaigi 2009 Organizing Committee. If you are interested in giving a talk at RubyKaigi 2009, the premiere Ruby conference in Japan, please refer to the proposa…

---

## [Eval statement](https://www.ruby-forum.com/t/eval-statement/159662)

<div class="topic-metadata">

**Author:** [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Replies:** 25\
**Last updated:** [February 8, 2009, 4:24pm UTC](https://www.ruby-forum.com/t/eval-statement/159662 "2009-02-08T16:24:03Z")

</div>

Trying to switch a project of mine from python to ruby. Love ruby so far, but I’m finding that the eval statement is a bit more difficult to use than python’s exec statement. Here is one of the problems I’m having, …

---

## [Ruby-oci8 1.0.4 and 2.0.0](https://www.ruby-forum.com/t/ruby-oci8-1-0-4-and-2-0-0/159768)

<div class="topic-metadata">

**Author:** [@kubo](https://www.ruby-forum.com/u/kubo)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 3:29pm UTC](https://www.ruby-forum.com/t/ruby-oci8-1-0-4-and-2-0-0/159768 "2009-02-08T15:29:30Z")

</div>

Ruby-oci8 1.0.4 and 2.0.0 are released. These are Oracle modules using OCI8 API. http://rubyforge.org/projects/ruby-oci8/ Ruby-oci8 1.0.4 is a latest stable release. The target ruby version is 1.8. It doesn’t work wi…

---

## [Ruby-1.9.1-p0 parallel build problem](https://www.ruby-forum.com/t/ruby-1-9-1-p0-parallel-build-problem/159767)

<div class="topic-metadata">

**Author:** [@yulin724](https://www.ruby-forum.com/u/yulin724)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 2:55pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p0-parallel-build-problem/159767 "2009-02-08T14:55:57Z")

</div>

lyu0@lyu0-desktop:/tmp/ruby-1.9.1-p0$ rm uncommon.mk ; make -j5 rm: cannot remove \`uncommon.mk’: No such file or directory GNUmakefile:2: uncommon.mk: No such file or directory make: warning: -jN forced in submake: di…

---

## [Is there something built-in for this?](https://www.ruby-forum.com/t/is-there-something-built-in-for-this/159537)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 2\
**Last updated:** [February 8, 2009, 1:14pm UTC](https://www.ruby-forum.com/t/is-there-something-built-in-for-this/159537 "2009-02-08T13:14:59Z")

</div>

Hi, very often I use this method: def launch(cmd) raise “Error launching #{cmd}” unless system(cmd) end Is there a built-in equivalent ? cheers, – Thibaut

---

## [Zombie processes by drb tests](https://www.ruby-forum.com/t/zombie-processes-by-drb-tests/159658)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 5\
**Last updated:** [February 8, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/zombie-processes-by-drb-tests/159658 "2009-02-08T12:53:51Z")

</div>

OpenBSD e$B$G!"e(Btest-all e$B$r$9$k$H!“e(Bdrb e$B$N$H$3$m$G!”%F%9%H$Ke(B 100 e$BIC$+$+$C$F%(%i!\<$K$J$k$H$$$&$N$,5/$-$^$9!#e(B … TestDRbSafe1#test\_05\_break: 1.12 s: . TestDRbSafe1#test\_06\_next: sh: cannot fork - try…

---

## [How to merge multiple Variables (Hpricot::Elements)](https://www.ruby-forum.com/t/how-to-merge-multiple-variables-hpricot-elements/159754)

<div class="topic-metadata">

**Author:** [@pure](https://www.ruby-forum.com/u/pure)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 12:03pm UTC](https://www.ruby-forum.com/t/how-to-merge-multiple-variables-hpricot-elements/159754 "2009-02-08T12:03:21Z")

</div>

Hey List, i hpricot a website (Html Table) and want to normalize the data For now i have about five variables with all the data of one column. e.g: (HTML Source) col1 :: col2 :: col3 data1a :: data2a :: data3a dat…

---

## [Re: how to initialize iron ruby from c#](https://www.ruby-forum.com/t/re-how-to-initialize-iron-ruby-from-c/159753)

<div class="topic-metadata">

**Author:** [@Meinrad\_R](https://www.ruby-forum.com/u/Meinrad_R)\
**Replies:** 0\
**Last updated:** [February 8, 2009, 11:29am UTC](https://www.ruby-forum.com/t/re-how-to-initialize-iron-ruby-from-c/159753 "2009-02-08T11:29:59Z")

</div>

Date: Sun, 8 Feb 2009 01:20:48 +0100 From: Thibaut Barr?re removed\_email\_address@domain.invalid Subject: Re: \[Ironruby-core\] how to initialize iron ruby from c# To: removed\_email\_address@domain.invalid Message-I…

---

## [\[Bug #1129\] IO.binread(Pathname(...)) dumps core](https://www.ruby-forum.com/t/bug-1129-io-binread-pathname-dumps-core/159747)

<div class="topic-metadata">

**Author:** [@Sakuro\_OZAWA](https://www.ruby-forum.com/u/Sakuro_OZAWA)\
**Replies:** 1\
**Last updated:** [February 8, 2009, 10:37am UTC](https://www.ruby-forum.com/t/bug-1129-io-binread-pathname-dumps-core/159747 "2009-02-08T10:37:51Z")

</div>

Bug #1129: IO.binread(Pathname(…)) dumps core http://redmine.ruby-lang.org/issues/show/1129 e$B5/I\<\<Te(B: Sakuro OZAWA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.9.1p0 (2009-01-30 revision 21907) \[i…

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

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