# Ruby

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

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

---

## [Archive::Tar uncompress question](https://www.ruby-forum.com/t/archive-tar-uncompress-question/57053)

<div class="topic-metadata">

**Author:** [@Dimitri\_A](https://www.ruby-forum.com/u/Dimitri_A)\
**Replies:** 1\
**Last updated:** [April 6, 2006, 9:19pm UTC](https://www.ruby-forum.com/t/archive-tar-uncompress-question/57053 "2006-04-06T21:19:15Z")

</div>

Hi, I needed to use Archive::Tar today, and was bit by what I guess was an unforseen use. I need to simply unpack an archive, optionally decompressing it first. So, I have code like this: def expand t = Archive::…

---

## [Mongrel Web Server 0.3.12.3 -- Thread Tracking and Debugging](https://www.ruby-forum.com/t/mongrel-web-server-0-3-12-3-thread-tracking-and-debugging/57012)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 1\
**Last updated:** [April 6, 2006, 9:10pm UTC](https://www.ruby-forum.com/t/mongrel-web-server-0-3-12-3-thread-tracking-and-debugging/57012 "2006-04-06T21:10:06Z")

</div>

Hello Everyone, Mongrel is getting closer and closer to being a rock solid release. My goal is to release 0.4 as “production ready” by Canada on Rails. Please report any problems or suggestions you have. There wo…

---

## [Re: More random, please ! :)](https://www.ruby-forum.com/t/re-more-random-please/57051)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [April 6, 2006, 8:45pm UTC](https://www.ruby-forum.com/t/re-more-random-please/57051 "2006-04-06T20:45:13Z")

</div>

the alphabet randomly and each statistically equal handled that each letter is handled equally from the statistical point of view ? Will this do? require ‘matrix’ letters = (‘a’…‘z’).sort\_by{ rand } letters.dele…

---

## [Crashing Fixnum#\*\* with 64 bit Ruby](https://www.ruby-forum.com/t/crashing-fixnum-with-64-bit-ruby/57045)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 2\
**Last updated:** [April 6, 2006, 8:23pm UTC](https://www.ruby-forum.com/t/crashing-fixnum-with-64-bit-ruby/57045 "2006-04-06T20:23:37Z")

</div>

Hi all, I thought this was interesting. Should Ruby handle this better? Or is this a case of, “Don’t do that.”? 32 bit Ruby, Solaris 10 irb(main):001:0\> (232).class =\> Bignum irb(main):002:0\> (232) \*\* (233) (irb…

---

## [HOWTO Use Veriables inside of Regexp and Commands?](https://www.ruby-forum.com/t/howto-use-veriables-inside-of-regexp-and-commands/56959)

<div class="topic-metadata">

**Author:** [@pyr0](https://www.ruby-forum.com/u/pyr0)\
**Replies:** 5\
**Last updated:** [April 6, 2006, 8:20pm UTC](https://www.ruby-forum.com/t/howto-use-veriables-inside-of-regexp-and-commands/56959 "2006-04-06T20:20:31Z")

</div>

Hi, I’ve just started using Ruby and am LOVING IT! :smiley: For my job I need to do allot of shell scripting but have been getting very annoyed at its limitations. So I am now looking to Ruby to replace it. The thing…

---

## [Re: Creating images from pixel data (RMagick?)](https://www.ruby-forum.com/t/re-creating-images-from-pixel-data-rmagick/57003)

<div class="topic-metadata">

**Author:** [@Tim\_Blair](https://www.ruby-forum.com/u/Tim_Blair)\
**Replies:** 2\
**Last updated:** [April 6, 2006, 7:46pm UTC](https://www.ruby-forum.com/t/re-creating-images-from-pixel-data-rmagick/57003 "2006-04-06T19:46:33Z")

</div>

Paul, If that won’t work, Imlib2-Ruby may be fast enough to do what you want Thanks for that. Unfortunately we’re looking for a cross-platform solution so using imlib2 appears to be out of the running. However, I…

---

## [Ruby Quiz Contest](https://www.ruby-forum.com/t/ruby-quiz-contest/57018)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 2\
**Last updated:** [April 6, 2006, 7:31pm UTC](https://www.ruby-forum.com/t/ruby-quiz-contest/57018 "2006-04-06T19:31:09Z")

</div>

After I launch the quiz tomorrow, my queue will be empty once again. I need some new ideas, and I’m willing to pay you for your efforts! Here’s the deal: the next submitted quiz\[1\] that inspires 15 or more unique sol…

---

## [String generalization](https://www.ruby-forum.com/t/string-generalization/57004)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 14\
**Last updated:** [April 6, 2006, 7:18pm UTC](https://www.ruby-forum.com/t/string-generalization/57004 "2006-04-06T19:18:56Z")

</div>

Hello all, I am having the following problem: I have to implement a method which accepts a string and returns a generalized form of the string. Some examples: ‘12345’ → \\d+ ‘ABCDE’ → \[A-Z\]+ ‘removed\_email\_address@…

---

## [System() Methods in CGI Scripts Not Working](https://www.ruby-forum.com/t/system-methods-in-cgi-scripts-not-working/57035)

<div class="topic-metadata">

**Author:** [@nko](https://www.ruby-forum.com/u/nko)\
**Replies:** 1\
**Last updated:** [April 6, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/system-methods-in-cgi-scripts-not-working/57035 "2006-04-06T19:09:49Z")

</div>

There’s probably a very simple explanation for this, but here 'goes: I have a few CGI scripts. A couple of them make system() calls to launch shell scripts. These scripts work fine on the command line, but when I laun…

---

## [Ruby module for editing open office files](https://www.ruby-forum.com/t/ruby-module-for-editing-open-office-files/93672)

<div class="topic-metadata">

**Author:** [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Replies:** 4\
**Last updated:** [April 6, 2006, 6:20pm UTC](https://www.ruby-forum.com/t/ruby-module-for-editing-open-office-files/93672 "2006-04-06T18:20:13Z")

</div>

I’m having trouble finding a module to edit open office files. I know they are stored as xml inside a zip file, but I don’t want to have to roll my own solution unless necessary. There is oo4r but that hasn’t been u…

---

## [Re: String generalization called from JRuby](https://www.ruby-forum.com/t/re-string-generalization-called-from-jruby/57030)

<div class="topic-metadata">

**Author:** [@Charles\_O\_Nutter](https://www.ruby-forum.com/u/Charles_O_Nutter)\
**Replies:** 2\
**Last updated:** [April 6, 2006, 6:10pm UTC](https://www.ruby-forum.com/t/re-string-generalization-called-from-jruby/57030 "2006-04-06T18:10:43Z")

</div>

Forking the discussion a bit, but I’m interested in your use of JRuby here. It seems like a great idea to have little snippits of code that are easier to understand and maintain in Ruby, and be able to call them from…

---

## [Statistics module problem](https://www.ruby-forum.com/t/statistics-module-problem/57017)

<div class="topic-metadata">

**Author:** [@Craig\_K](https://www.ruby-forum.com/u/Craig_K)\
**Replies:** 1\
**Last updated:** [April 6, 2006, 4:32pm UTC](https://www.ruby-forum.com/t/statistics-module-problem/57017 "2006-04-06T16:32:10Z")

</div>

Here’s a code fragment from the statistics module from Ruby Forge. code begins here module Math module Statistics VERSION = “2001\_02\_18” def self.append\_features(mod) unless mod \< Enumerable raise TypeError, “\`#{s…

---

## [Testing DiGraph (#73)](https://www.ruby-forum.com/t/testing-digraph-73/93690)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [April 6, 2006, 3:45pm UTC](https://www.ruby-forum.com/t/testing-digraph-73/93690 "2006-04-06T15:45:40Z")

</div>

The first step to solving this quiz is to come up with some graphs that you can test. I started by thinking of some trivial patterns I could easily hand figure the answers for. A good example is the graph: A -\> B …

---

## [openGL documention?](https://www.ruby-forum.com/t/opengl-documention/56468)

<div class="topic-metadata">

**Author:** [@basaah](https://www.ruby-forum.com/u/basaah)\
**Replies:** 13\
**Last updated:** [April 6, 2006, 2:34pm UTC](https://www.ruby-forum.com/t/opengl-documention/56468 "2006-04-06T14:34:22Z")

</div>

hello, lately is was experimenting a bit with ruby-opengl, It works a little bit and I found a few things already, but It would go much faster with documentation the examples only is not enough plus not evrything is …

---

## [Re: Using Gems on windows](https://www.ruby-forum.com/t/re-using-gems-on-windows/93677)

<div class="topic-metadata">

**Author:** [@William\_SBillS\_Froe](https://www.ruby-forum.com/u/William_SBillS_Froe)\
**Replies:** 2\
**Last updated:** [April 6, 2006, 2:12pm UTC](https://www.ruby-forum.com/t/re-using-gems-on-windows/93677 "2006-04-06T14:12:27Z")

</div>

Thanks for the quick answer. But I will agree with the docs that it is certainly confusing for the new user like myself in an irb session. –Bill

---

## [Hyphens](https://www.ruby-forum.com/t/hyphens/93682)

<div class="topic-metadata">

**Author:** [@hpolat](https://www.ruby-forum.com/u/hpolat)\
**Replies:** 1\
**Last updated:** [April 6, 2006, 12:24pm UTC](https://www.ruby-forum.com/t/hyphens/93682 "2006-04-06T12:24:15Z")

</div>

how can I scan a string and chop it of to a words without losing the hyphens ? EG: apple $ two ( to be will be saved in the array as array = \[‘apple’, ‘$’ , ‘two’, ‘(’ , ‘to’ , ‘be’\] thank you

---

## [Ruby Game: Nightly Travels of a Witch (Win32, OS X, Linux)](https://www.ruby-forum.com/t/ruby-game-nightly-travels-of-a-witch-win32-os-x-linux/56920)

<div class="topic-metadata">

**Author:** [@Florian\_GroSSS](https://www.ruby-forum.com/u/Florian_GroSSS)\
**Replies:** 9\
**Last updated:** [April 6, 2006, 11:53am UTC](https://www.ruby-forum.com/t/ruby-game-nightly-travels-of-a-witch-win32-os-x-linux/56920 "2006-04-06T11:53:31Z")

</div>

Moin. We took part in this years first 72 hour game development competition1. And it was a lot of fun. There were basically two other folks (together at the same real life location) and me, working together with them…

---

## [Pointer Signedness Errors When Compiling 1.8.4](https://www.ruby-forum.com/t/pointer-signedness-errors-when-compiling-1-8-4/56904)

<div class="topic-metadata">

**Author:** [@Ben\_Gribaudo](https://www.ruby-forum.com/u/Ben_Gribaudo)\
**Replies:** 3\
**Last updated:** [April 6, 2006, 11:13am UTC](https://www.ruby-forum.com/t/pointer-signedness-errors-when-compiling-1-8-4/56904 "2006-04-06T11:13:12Z")

</div>

Hi, I’m working on compiling Ruby 1.8.4 on Ubunty Breezy (5.10) using gcc 4.0.2 (20050808 prerelease Ubuntu 4.0.1-4ubuntu9). When make is run, compilation will complete and Ruby will run but I receive a lot of warnin…

---

## [Rb\_obj\_instance\_exec](https://www.ruby-forum.com/t/rb-obj-instance-exec/56880)

<div class="topic-metadata">

**Author:** [@Hidetoshi\_NAGAI](https://www.ruby-forum.com/u/Hidetoshi_NAGAI)\
**Replies:** 2\
**Last updated:** [April 6, 2006, 9:49am UTC](https://www.ruby-forum.com/t/rb-obj-instance-exec/56880 "2006-04-06T09:49:39Z")

</div>

e$B1J0fe(B@e$BCNG=!%6e9)Bg$G$9!%e(B rb\_obj\_instance\_eval e$B$Oe(B intern.h e$B$K%(%s%H%j$5$l$F$$$^$9$,!$e(B rb\_obj\_instance\_exec e$B$O%(%s%H%j$5$l$F$$$^$;$s!%e(B rb\_obj\_instance\_exec e$B$bDI2C$7$F$\*$$$?J}$,$$$$$N$G$O$…

---

## [Using Gems on windows](https://www.ruby-forum.com/t/using-gems-on-windows/56975)

<div class="topic-metadata">

**Author:** [@William\_SBillS\_Froe](https://www.ruby-forum.com/u/William_SBillS_Froe)\
**Replies:** 1\
**Last updated:** [April 6, 2006, 7:01am UTC](https://www.ruby-forum.com/t/using-gems-on-windows/56975 "2006-04-06T07:01:01Z")

</div>

This is probably a newbie question but are there any issues with using certain gems on Windows XP? I’m running the InstantRails 1.1a and have been trying to experiment with some of the gems. Specifically I’m trying t…

---

## [Compare to strings](https://www.ruby-forum.com/t/compare-to-strings/93594)

<div class="topic-metadata">

**Author:** [@pachl](https://www.ruby-forum.com/u/pachl)\
**Replies:** 6\
**Last updated:** [April 6, 2006, 3:15am UTC](https://www.ruby-forum.com/t/compare-to-strings/93594 "2006-04-06T03:15:55Z")

</div>

Hello, What is the best approach to searching a string for another string? For instance, I have: url1 = ‘http://www.url.com’ url2 = ‘http://www.url.com/page’ If part of url1 is in url2, like above, I’d like to decla…

---

## [Copying $1.. A loop with two regular expressions](https://www.ruby-forum.com/t/copying-1-a-loop-with-two-regular-expressions/56950)

<div class="topic-metadata">

**Author:** [@oky](https://www.ruby-forum.com/u/oky)\
**Replies:** 6\
**Last updated:** [April 6, 2006, 2:01am UTC](https://www.ruby-forum.com/t/copying-1-a-loop-with-two-regular-expressions/56950 "2006-04-06T02:01:59Z")

</div>

Hi, sorry if this is a stupid question… i’ve only been programming ruby for about six hours. I’m trying to white a loop to parse through a webpage and get all the links to other pages. This loop depends on a regular e…

---

## [The World's Most Maintainable Programming Language](https://www.ruby-forum.com/t/the-worlds-most-maintainable-programming-language/93637)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 2\
**Last updated:** [April 5, 2006, 11:37pm UTC](https://www.ruby-forum.com/t/the-worlds-most-maintainable-programming-language/93637 "2006-04-05T23:37:31Z")

</div>

He’s got Ruby’s naming a bit backwards? Ruby (named after Ruby Kusanagi Matsumoto, Yukihiro M.?s youngest daughter)

---

## [Ruby Debug Guide](https://www.ruby-forum.com/t/ruby-debug-guide/56936)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 0\
**Last updated:** [April 5, 2006, 11:10pm UTC](https://www.ruby-forum.com/t/ruby-debug-guide/56936 "2006-04-05T23:10:05Z")

</div>

I have been stuff odd random things on ruby debugging into… http://www.rubygarden.org/ruby?RubyDebugGuide Feel free to add your personal tricks and tips. John C. Phone : (64)(3) 358 6639 T…

---

## [Comparing Arrays](https://www.ruby-forum.com/t/comparing-arrays/56905)

<div class="topic-metadata">

**Author:** [@nko](https://www.ruby-forum.com/u/nko)\
**Replies:** 6\
**Last updated:** [April 5, 2006, 11:08pm UTC](https://www.ruby-forum.com/t/comparing-arrays/56905 "2006-04-05T23:08:03Z")

</div>

I have two arrays: originalList and deleteList. I’m trying to iterate through original list and remove each item if it appears in the deleteList. Simple enough. Here’s my snippet for doing this: originalList.each do |…

---

## [Creating images from pixel data (RMagick?)](https://www.ruby-forum.com/t/creating-images-from-pixel-data-rmagick/56898)

<div class="topic-metadata">

**Author:** [@Tim\_Blair](https://www.ruby-forum.com/u/Tim_Blair)\
**Replies:** 1\
**Last updated:** [April 5, 2006, 9:34pm UTC](https://www.ruby-forum.com/t/creating-images-from-pixel-data-rmagick/56898 "2006-04-05T21:34:35Z")

</div>

Hello, I’m currently trying to build an image file (jpg/gif) from a stream of pixel colour values, but it’s taking a long time to build the image pixel by pixel. We’re trying to dynamically “screenshot” a Flash movie…

---

## [Ri, rdoc, OS 10.4](https://www.ruby-forum.com/t/ri-rdoc-os-10-4/56914)

<div class="topic-metadata">

**Author:** [@Jean-Charles\_Carell](https://www.ruby-forum.com/u/Jean-Charles_Carell)\
**Replies:** 4\
**Last updated:** [April 5, 2006, 8:18pm UTC](https://www.ruby-forum.com/t/ri-rdoc-os-10-4/56914 "2006-04-05T20:18:03Z")

</div>

I recently follow the excellent tutorial at the HiveLogic site on installing Ruby on OS 10.4. Dan Benjamin ruby\_rails\_lighttpd\_mysql\_tiger My Problem: is with ri and rdoc: When I first tried running ri, I got an er…

---

## [\[ANN\] Starting the Riverside Ruby Users Group](https://www.ruby-forum.com/t/ann-starting-the-riverside-ruby-users-group/56906)

<div class="topic-metadata">

**Author:** [@Anthony\_Moralez](https://www.ruby-forum.com/u/Anthony_Moralez)\
**Replies:** 0\
**Last updated:** [April 5, 2006, 6:46pm UTC](https://www.ruby-forum.com/t/ann-starting-the-riverside-ruby-users-group/56906 "2006-04-05T18:46:23Z")

</div>

Do you live in Southern California’s Inland Empire? Did you hear about the San Diego Ruby U. Group and think that’s just too far to go for me? Then you might be interested in forming the Riverside Ruby U. Group. For …

---

## [Rb\_gc\_call\_finalizer\_at\_exit() $B$N\<B9TCf$+$I$&$+$rCN$j$?$$](https://www.ruby-forum.com/t/rb-gc-call-finalizer-at-exit-b-n-b9tcf-i-rcn-j/56766)

<div class="topic-metadata">

**Author:** [@Hidetoshi\_NAGAI](https://www.ruby-forum.com/u/Hidetoshi_NAGAI)\
**Replies:** 5\
**Last updated:** [April 5, 2006, 6:40pm UTC](https://www.ruby-forum.com/t/rb-gc-call-finalizer-at-exit-b-n-b9tcf-i-rcn-j/56766 "2006-04-05T18:40:17Z")

</div>

e$B1J0fe(B@e$BCNG=!%6e9)Bg$G$9!%e(B e$B;d$N4\*0c$$$G$J$1$l$P!$e(Bexit e$B=hM}Cf$K8e;OKv$H$7$Fe(B finalizer e$B$r8F$S=P$9=hM}$Oe(B rb\_gc\_call\_finalizer\_at\_exit() e$B$@$H;W$$$^$9!%e(B finalizer e$B$,8F$P$l$?:\]$K!$$3$Ne(…

---

## [Minimal files needed for Windows app](https://www.ruby-forum.com/t/minimal-files-needed-for-windows-app/56896)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 0\
**Last updated:** [April 5, 2006, 5:32pm UTC](https://www.ruby-forum.com/t/minimal-files-needed-for-windows-app/56896 "2006-04-05T17:32:40Z")

</div>

I’m new to this list, so hope I’m asking in the right place.I’ve searched the web and in Ruby documentation before asking. Using Inno Setup, I want to create an installer for a Ruby program that uses WxRuby for the GU…

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

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