# Ruby

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

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

---

## [Licence question regarding GPLv2 Ruby script](https://www.ruby-forum.com/t/licence-question-regarding-gplv2-ruby-script/108740)

<div class="topic-metadata">

**Author:** [@anonymous](https://www.ruby-forum.com/u/anonymous)\
**Replies:** 3\
**Last updated:** [July 9, 2007, 10:15am UTC](https://www.ruby-forum.com/t/licence-question-regarding-gplv2-ruby-script/108740 "2007-07-09T10:15:09Z")

</div>

Hi all, The Ruby beautifier script (\* Ruby Script Beautifier) is released under the GPLv2 licence. I understand what the GPLv2 means for a source code which has to be compiled and so on like the Ruby interpreter. In…

---

## [Text parser / reformatting](https://www.ruby-forum.com/t/text-parser-reformatting/108902)

<div class="topic-metadata">

**Author:** [@lasastard](https://www.ruby-forum.com/u/lasastard)\
**Replies:** 3\
**Last updated:** [July 9, 2007, 10:05am UTC](https://www.ruby-forum.com/t/text-parser-reformatting/108902 "2007-07-09T10:05:30Z")

</div>

Hi everyone, I expect this is a rather trivial problem, but I just started using ruby and am a bit stuck right now. Here is what I want to do: I have a text file, that contains information in the following format: K…

---

## [Oh the pain! Distributing Ruby apps](https://www.ruby-forum.com/t/oh-the-pain-distributing-ruby-apps/108737)

<div class="topic-metadata">

**Author:** [@Sharon\_P](https://www.ruby-forum.com/u/Sharon_P)\
**Replies:** 11\
**Last updated:** [July 9, 2007, 8:43am UTC](https://www.ruby-forum.com/t/oh-the-pain-distributing-ruby-apps/108737 "2007-07-09T08:43:37Z")

</div>

Hi, I’ve written some small Ruby apps for monitoring things at work but am not enjoying distributing them. Seems for each person I have to install Ruby, then the extra libraries I use (currently just ori8 and net-ssh…

---

## [CPU/Memory limiting](https://www.ruby-forum.com/t/cpu-memory-limiting/108846)

<div class="topic-metadata">

**Author:** [@TongKe\_Xue](https://www.ruby-forum.com/u/TongKe_Xue)\
**Replies:** 11\
**Last updated:** [July 9, 2007, 6:31am UTC](https://www.ruby-forum.com/t/cpu-memory-limiting/108846 "2007-07-09T06:31:18Z")

</div>

Hey Everyone, I’m working on a massive simulation project (like worldforge). I need to be able to allow users to script objects in the world. I am thinking of ussing Ruby as my scripting language of choice. However: …

---

## [Monday July 9: Phoenix Ruby User Group Meeting](https://www.ruby-forum.com/t/monday-july-9-phoenix-ruby-user-group-meeting/108880)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [July 8, 2007, 8:08pm UTC](https://www.ruby-forum.com/t/monday-july-9-phoenix-ruby-user-group-meeting/108880 "2007-07-08T20:08:45Z")

</div>

July Phoenix Ruby U. Group Meeting Date: Monday, July 9, 2007 Time: ~6:30pm Place: MWA Intelligence See http://www.rubyaz.org/groups/prug/ for details, including maps and directions Topics: Assorted Likely talk…

---

## [Ruby for MMORPG Scripting](https://www.ruby-forum.com/t/ruby-for-mmorpg-scripting/108845)

<div class="topic-metadata">

**Author:** [@TongKe\_Xue](https://www.ruby-forum.com/u/TongKe_Xue)\
**Replies:** 4\
**Last updated:** [July 8, 2007, 7:50pm UTC](https://www.ruby-forum.com/t/ruby-for-mmorpg-scripting/108845 "2007-07-08T19:50:44Z")

</div>

Hey Everyone, I’m working on a massive simulation project (like worldforge). I need to be able to allow users to script objects in the world. I am thinking of ussing Ruby as my scripting language of choice. However: …

---

## [Mod\_ruby questions](https://www.ruby-forum.com/t/mod-ruby-questions/108876)

<div class="topic-metadata">

**Author:** [@Travis\_D\_Warlick\_Jr](https://www.ruby-forum.com/u/Travis_D_Warlick_Jr)\
**Replies:** 0\
**Last updated:** [July 8, 2007, 5:26pm UTC](https://www.ruby-forum.com/t/mod-ruby-questions/108876 "2007-07-08T17:26:46Z")

</div>

I’m looking into mod\_ruby because the Apache+Mongrel combination that I’m currently using seems to have big overhead and somewhat slow, but I don’t quite understand a few things: If I move from the Apache+Mongrel co…

---

## [Array and data types](https://www.ruby-forum.com/t/array-and-data-types/108816)

<div class="topic-metadata">

**Author:** [@zabouth](https://www.ruby-forum.com/u/zabouth)\
**Replies:** 4\
**Last updated:** [July 8, 2007, 2:17pm UTC](https://www.ruby-forum.com/t/array-and-data-types/108816 "2007-07-08T14:17:28Z")

</div>

i have looked at all the ruby manual but i cant find no way of doing this I am very new to ruby so here is my problem ok first here is my code sum = “5:5:5” sum = sum.split(":") sum = sum.inject {|sum, x| sum + x } …

---

## [Can you recommend a language to](https://www.ruby-forum.com/t/can-you-recommend-a-language-to/108739)

<div class="topic-metadata">

**Author:** [@Sharon\_P](https://www.ruby-forum.com/u/Sharon_P)\
**Replies:** 9\
**Last updated:** [July 8, 2007, 12:26pm UTC](https://www.ruby-forum.com/t/can-you-recommend-a-language-to/108739 "2007-07-08T12:26:18Z")

</div>

Hi, Second question for the evening, but very closely related to the first. I’ve written some monitoring software at work, and would like to extend it quite a bit, including a gui with a few graphs. Ruby is causing m…

---

## [Simple array question](https://www.ruby-forum.com/t/simple-array-question/108863)

<div class="topic-metadata">

**Author:** [@harper](https://www.ruby-forum.com/u/harper)\
**Replies:** 6\
**Last updated:** [July 8, 2007, 11:54am UTC](https://www.ruby-forum.com/t/simple-array-question/108863 "2007-07-08T11:54:14Z")

</div>

is there a nice clean method to do the following: a = Module.new(:att1 =\> 1, :att2 =\> “abc”) b = Module.new(:att1 =\> 1, :att2 =\> “adfbc”) c = Module.new(:att1 =\> 2, :att2 =\> “abcasdf”) d = Module.new(:att1 =\> 1, :att…

---

## [\[ANN\] dcov (the documentation analyzer for Ruby code) v.0.1](https://www.ruby-forum.com/t/ann-dcov-the-documentation-analyzer-for-ruby-code-v-0-1/108850)

<div class="topic-metadata">

**Author:** [@Jeremy\_McAnally](https://www.ruby-forum.com/u/Jeremy_McAnally)\
**Replies:** 0\
**Last updated:** [July 8, 2007, 3:22am UTC](https://www.ruby-forum.com/t/ann-dcov-the-documentation-analyzer-for-ruby-code-v-0-1/108850 "2007-07-08T03:22:49Z")

</div>

I pushed version 0.1 of my Google Summer of Code project – dcov – to RubyForge yesterday, and I hope you guys can take advantage of it (and let me know if it breaks! :)). dcov is a tool to help you analyze the documen…

---

## [Invalid read of size 4: valgrind ./ruby -ve 'print "a"'](https://www.ruby-forum.com/t/invalid-read-of-size-4-valgrind-ruby-ve-print-a/108849)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [July 8, 2007, 2:44am UTC](https://www.ruby-forum.com/t/invalid-read-of-size-4-valgrind-ruby-ve-print-a/108849 "2007-07-08T02:44:47Z")

</div>

e$B0J2\<$N$h$&$K$9$k$H!"e(Brb\_thread\_alone e$B$Ge(B Invalid read of size 4 e$B$K$J$k$h$&$G$9!#e(B % valgrind ./ruby -ve ‘print “a”’ ==25885== Memcheck, a memory error detector. ==25885== Copyright © 2002-2006, and GNU…

---

## [Ruby-debug with SciTE?](https://www.ruby-forum.com/t/ruby-debug-with-scite/108843)

<div class="topic-metadata">

**Author:** [@wrishel](https://www.ruby-forum.com/u/wrishel)\
**Replies:** 0\
**Last updated:** [July 8, 2007, 1:11am UTC](https://www.ruby-forum.com/t/ruby-debug-with-scite/108843 "2007-07-08T01:11:02Z")

</div>

Using this combination I get double echoing of every letter I type into the debugger. Is there a way to prevent this? Is there a preferred environment for combining a wysiwig editor with the debugger? Example: (rdb:1…

---

## [Apotomo - a Widget library for Rails](https://www.ruby-forum.com/t/apotomo-a-widget-library-for-rails/108839)

<div class="topic-metadata">

**Author:** [@patrickharlan](https://www.ruby-forum.com/u/patrickharlan)\
**Replies:** 0\
**Last updated:** [July 8, 2007, 12:44am UTC](https://www.ruby-forum.com/t/apotomo-a-widget-library-for-rails/108839 "2007-07-08T00:44:42Z")

</div>

Nick S. is one of the students working on the Google Summer of Code. His project is Apotomo - which aims to move to even fatter models, allowing you to model widgets, state and all sorts of other interesting ways to s…

---

## [How make a MDI window with TK](https://www.ruby-forum.com/t/how-make-a-mdi-window-with-tk/108818)

<div class="topic-metadata">

**Author:** [@mr\_brownstone](https://www.ruby-forum.com/u/mr_brownstone)\
**Replies:** 1\
**Last updated:** [July 8, 2007, 12:42am UTC](https://www.ruby-forum.com/t/how-make-a-mdi-window-with-tk/108818 "2007-07-08T00:42:41Z")

</div>

How can I make a MDI window, and how to make it appear maximized?

---

## [Time Test::Unit Question](https://www.ruby-forum.com/t/time-test-unit-question/108475)

<div class="topic-metadata">

**Author:** [@frew](https://www.ruby-forum.com/u/frew)\
**Replies:** 7\
**Last updated:** [July 7, 2007, 6:57pm UTC](https://www.ruby-forum.com/t/time-test-unit-question/108475 "2007-07-07T18:57:55Z")

</div>

I am trying to do a Test that has to do with the date of something relative to the current time. Should I just have a predefined but dynamic dataset or what? Thoughts?

---

## [Embedding PNGs in PDFs](https://www.ruby-forum.com/t/embedding-pngs-in-pdfs/108780)

<div class="topic-metadata">

**Author:** [@ralph](https://www.ruby-forum.com/u/ralph)\
**Replies:** 2\
**Last updated:** [July 7, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/embedding-pngs-in-pdfs/108780 "2007-07-07T16:55:43Z")

</div>

Hello, is there a Ruby library for embedding PNGs and other images in existing PDF files? I’ve found Haru (http://libharu.sourceforge.net/) which seems to be supported on many platforms, but I’d prefer to go with pl…

---

## [Window events using RubyX11?](https://www.ruby-forum.com/t/window-events-using-rubyx11/108733)

<div class="topic-metadata">

**Author:** [@Richard\_Midwinter](https://www.ruby-forum.com/u/Richard_Midwinter)\
**Replies:** 2\
**Last updated:** [July 7, 2007, 3:55pm UTC](https://www.ruby-forum.com/t/window-events-using-rubyx11/108733 "2007-07-07T15:55:44Z")

</div>

Does anyone know how to (or even if you can) capture window events such as minimize, restore using RubyX11 (or similar)? Thanks

---

## [Re: simple question on rbgsl vectors](https://www.ruby-forum.com/t/re-simple-question-on-rbgsl-vectors/108779)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 2\
**Last updated:** [July 7, 2007, 2:09pm UTC](https://www.ruby-forum.com/t/re-simple-question-on-rbgsl-vectors/108779 "2007-07-07T14:09:37Z")

</div>

From: baptiste Auguié \[mailto:removed\_email\_address@domain.invalid\] Sent: Friday, July 06, 2007 1:57 PM =\> GSL::Vector: \[ 0.000e+00 1.000e+00 2.000e+00 \] \*\*\*\* where is should expect \*\*\*\* =\> GSL::Vector: \[ 1.000e+00 …

---

## [Color classes - beta release, request for feedback](https://www.ruby-forum.com/t/color-classes-beta-release-request-for-feedback/108812)

<div class="topic-metadata">

**Author:** [@apeiros](https://www.ruby-forum.com/u/apeiros)\
**Replies:** 0\
**Last updated:** [July 7, 2007, 2:09pm UTC](https://www.ruby-forum.com/t/color-classes-beta-release-request-for-feedback/108812 "2007-07-07T14:09:09Z")

</div>

Hi there Since I recently had a bit of free time I decided to practice C a bit and wrote an extension with color classes for ruby in C and ruby. Color is a collection of classes to deal with colors. To create, compa…

---

## [Ruby-GetText-Package-1.10.0](https://www.ruby-forum.com/t/ruby-gettext-package-1-10-0/108809)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 0\
**Last updated:** [July 7, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/ruby-gettext-package-1-10-0/108809 "2007-07-07T13:45:34Z")

</div>

Hi, Ruby-GetText-Package-1.10.0 is now available. Changes Support Vietnamese(vi), Bosnian(bs), Croatian(hr), Norwegian(nb) Cache messages. Both () and n() become 1.3-1.8 times faster than older version. Add GetText.…

---

## [Time recording](https://www.ruby-forum.com/t/time-recording/108807)

<div class="topic-metadata">

**Author:** [@nilez](https://www.ruby-forum.com/u/nilez)\
**Replies:** 0\
**Last updated:** [July 7, 2007, 1:40pm UTC](https://www.ruby-forum.com/t/time-recording/108807 "2007-07-07T13:40:34Z")

</div>

Hi all, Is there any way in Ruby to record the time when user enters the input in text field? if so, then how. Thanks, Nilez.

---

## [0..$1=0 dumps core](https://www.ruby-forum.com/t/0-1-0-dumps-core/108431)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 2\
**Last updated:** [July 7, 2007, 9:30am UTC](https://www.ruby-forum.com/t/0-1-0-dumps-core/108431 "2007-07-07T09:30:18Z")

</div>

e$B1sF#$H?=$7$^$9!#e(B 1.9 e$B$G0J2\<$N$h$&$K$9$k$HMn$A$^$9!#e(B $ ./ruby -e ‘0…$1=0’ Can’t set variable $1 – control frame ---------- c:0001 p:---- s:0001 b:-001 l:000000 d:000000 ------ – backtrace of native functi…

---

## [Stack consistency error: m {|(v,(\*))|}](https://www.ruby-forum.com/t/stack-consistency-error-m-v/108802)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [July 7, 2007, 9:26am UTC](https://www.ruby-forum.com/t/stack-consistency-error-m-v/108802 "2007-07-07T09:26:17Z")

</div>

e$B0J2\<$N$h$&$K$9$k$He(B Stack consistency error e$B$K$J$j$^$9!#e(B % ./ruby -ve ‘def m() yield end; m {|(v,(\*))|}’ ruby 1.9.0 (2007-07-07 patchlevel 0) \[i686-linux\] -e:1: – control frame ---------- c:0005 p:0011 s:0…

---

## [Proc from yield](https://www.ruby-forum.com/t/proc-from-yield/108721)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 1\
**Last updated:** [July 7, 2007, 9:16am UTC](https://www.ruby-forum.com/t/proc-from-yield/108721 "2007-07-07T09:16:17Z")

</div>

e$B0J2\<$N$h$&$K!"e(Byield e$B$G8F$s$@%V%m%C%/$Ke(B Proc object e$B$,EO$5$le(B e$B$^$9!#e(B % ./ruby -ve ’ def m yield end m {|&b| p b } ’ ruby 1.9.0 (2007-07-06 patchlevel 0) \[i686-linux\] #Proc:0xb7cb0c5c@-e:5

---

## [M {|(\*,(\*)),|}](https://www.ruby-forum.com/t/m/108713)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 5\
**Last updated:** [July 7, 2007, 9:11am UTC](https://www.ruby-forum.com/t/m/108713 "2007-07-07T09:11:17Z")

</div>

m {|(,()),|} e$B$Ge(B SEGV e$B$7$^$9!#e(B % ./ruby -ve ‘m {|(,()),|}’ ruby 1.9.0 (2007-07-06 patchlevel 0) \[i686-linux\] – control frame ---------- c:0001 p:---- s:0001 b:-001 l:000000 d:000000 ------ – backtrace of n…

---

## [Immediately terminating a pipe](https://www.ruby-forum.com/t/immediately-terminating-a-pipe/108800)

<div class="topic-metadata">

**Author:** [@Matthieu\_R](https://www.ruby-forum.com/u/Matthieu_R)\
**Replies:** 1\
**Last updated:** [July 7, 2007, 7:38am UTC](https://www.ruby-forum.com/t/immediately-terminating-a-pipe/108800 "2007-07-07T07:38:12Z")

</div>

Hi, I’m opening a pipe and forking a command using popen3 to send it some data. However the data “accumulates” so even if I close the stream, the command continues running for a little while. In my case I’d like to …

---

## [Full RDoc specification?](https://www.ruby-forum.com/t/full-rdoc-specification/108799)

<div class="topic-metadata">

**Author:** [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Replies:** 0\
**Last updated:** [July 7, 2007, 7:17am UTC](https://www.ruby-forum.com/t/full-rdoc-specification/108799 "2007-07-07T07:17:11Z")

</div>

Is there a full rdoc spec anywhere? The most likely link I’ve been able to pull up by search points to a dead page. Thanks, Ken

---

## [Raptcha-0.0.1](https://www.ruby-forum.com/t/raptcha-0-0-1/108796)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 0\
**Last updated:** [July 7, 2007, 5:42am UTC](https://www.ruby-forum.com/t/raptcha-0-0-1/108796 "2007-07-07T05:42:06Z")

</div>

NAME raptcha SYNOPSIS low drain bamage, storage-less, session-less, plugin-less, zero admin, single-source-file secure captcha system for ruby and/or rails DESCRIPTION raptcha manages image generation via a stream…

---

## [My CPU Hates Me](https://www.ruby-forum.com/t/my-cpu-hates-me/108761)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 4\
**Last updated:** [July 7, 2007, 4:13am UTC](https://www.ruby-forum.com/t/my-cpu-hates-me/108761 "2007-07-07T04:13:01Z")

</div>

Pattern matching problem. This time, it doesn’t print out any thing and just soaks up my CPU. I tried slowly adding more and more for it to do, and it worked great – until TABLE7. Then it just soaks up my CPU and make…

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

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