# Ruby

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

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

---

## [Why ruby GC takes only 8 meg of memory?](https://www.ruby-forum.com/t/why-ruby-gc-takes-only-8-meg-of-memory/56760)

<div class="topic-metadata">

**Author:** [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Replies:** 2\
**Last updated:** [April 3, 2006, 5:19pm UTC](https://www.ruby-forum.com/t/why-ruby-gc-takes-only-8-meg-of-memory/56760 "2006-04-03T17:19:12Z")

</div>

Hi, As I understand, The GC of Ruby can take only 8 meg of memory, I wonder if there is any reason behide this ??? ot only a simple hardcode feature??? If I want increase the GC memory??? how should I do this??? Tha…

---

## [Deleting an object from an array](https://www.ruby-forum.com/t/deleting-an-object-from-an-array/56740)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 1\
**Last updated:** [April 3, 2006, 5:09pm UTC](https://www.ruby-forum.com/t/deleting-an-object-from-an-array/56740 "2006-04-03T17:09:53Z")

</div>

I assumed incorrectly that Array#delete deleted a specific object, using eql? (identity). I later discovered that it uses == (same values). Then I looked for a method to delete using eql? and couldn’t find one. I ende…

---

## [Rake -v](https://www.ruby-forum.com/t/rake-v/93448)

<div class="topic-metadata">

**Author:** [@DAP](https://www.ruby-forum.com/u/DAP)\
**Replies:** 3\
**Last updated:** [April 3, 2006, 4:35pm UTC](https://www.ruby-forum.com/t/rake-v/93448 "2006-04-03T16:35:51Z")

</div>

I just used Gem to install version 0.7.1 of Rake. When I try to get Rake to report it’s version, it aborts. Here is a listing: C:\\Documents and Settings\\dap\>rake -v rake aborted! No Rakefile found (looking for: rakef…

---

## [Running ruby programs on a windows xp computer](https://www.ruby-forum.com/t/running-ruby-programs-on-a-windows-xp-computer/93444)

<div class="topic-metadata">

**Author:** [@julian](https://www.ruby-forum.com/u/julian)\
**Replies:** 8\
**Last updated:** [April 3, 2006, 4:14pm UTC](https://www.ruby-forum.com/t/running-ruby-programs-on-a-windows-xp-computer/93444 "2006-04-03T16:14:14Z")

</div>

I have a couple of questions which is fairly simple , as I am very new to ruby programming, There are a lot of editors that one can use to write a ruby program, and ruby 1.8.2 comes with an editor built in called Sci…

---

## [April Meeting of the Phoenix Ruby Users Group](https://www.ruby-forum.com/t/april-meeting-of-the-phoenix-ruby-users-group/56754)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [April 3, 2006, 4:05pm UTC](https://www.ruby-forum.com/t/april-meeting-of-the-phoenix-ruby-users-group/56754 "2006-04-03T16:05:02Z")

</div>

The Phoenix Ruby U. Group will hold its monthly meeting on Monday, April 10, 2006. Where: Cyclone Commerce Inc 8388 E Hartford Dr # 100 Scottsdale, AZ When: 10 April, 6:15 pm - ~8:30 pm Topics: I believe we’ll …

---

## [Ruby to send email attachments](https://www.ruby-forum.com/t/ruby-to-send-email-attachments/56670)

<div class="topic-metadata">

**Author:** [@rtilley](https://www.ruby-forum.com/u/rtilley)\
**Replies:** 2\
**Last updated:** [April 3, 2006, 3:40pm UTC](https://www.ruby-forum.com/t/ruby-to-send-email-attachments/56670 "2006-04-03T15:40:23Z")

</div>

I searched the news group and found a script that sends email with attachments. I modified it a bit to loop through an array sending to multiple recipients, however, it seems that addresses with a ‘\_’ or a ‘-’ in them…

---

## [Placing Sets of Ruby/Tk Widgets](https://www.ruby-forum.com/t/placing-sets-of-ruby-tk-widgets/93425)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 3\
**Last updated:** [April 3, 2006, 3:30pm UTC](https://www.ruby-forum.com/t/placing-sets-of-ruby-tk-widgets/93425 "2006-04-03T15:30:10Z")

</div>

After a whole day of frustrating “experimentation” with no good results, I was ready to give up and ask this question: How do I place two vertical sets of widgets (inside of a left and right frame), two horizontal set…

---

## [Ruby and xemacs syntax highlighting](https://www.ruby-forum.com/t/ruby-and-xemacs-syntax-highlighting/56713)

<div class="topic-metadata">

**Author:** [@Pieter\_Breed](https://www.ruby-forum.com/u/Pieter_Breed)\
**Replies:** 1\
**Last updated:** [April 3, 2006, 3:12pm UTC](https://www.ruby-forum.com/t/ruby-and-xemacs-syntax-highlighting/56713 "2006-04-03T15:12:10Z")

</div>

Hi All, I am trying to get syntax highlighting to work with xemacs. I have the latest xemacs, I downloaded and installed the ruby package, it does detect ruby mode (once I do the font-lock thing), but Only my constan…

---

## [Correct way to close IO.popen pipe under Windows? (mingw)](https://www.ruby-forum.com/t/correct-way-to-close-io-popen-pipe-under-windows-mingw/56741)

<div class="topic-metadata">

**Author:** [@Taisuke\_Y](https://www.ruby-forum.com/u/Taisuke_Y)\
**Replies:** 0\
**Last updated:** [April 3, 2006, 2:35pm UTC](https://www.ruby-forum.com/t/correct-way-to-close-io-popen-pipe-under-windows-mingw/56741 "2006-04-03T14:35:05Z")

</div>

Hi. I’m currently writing a wxRuby program to visualize wireless network (802.11), and is somewhat stuck with IO.popen behavior under Windows. My software is composed of two parts: one for gathering Wi-Fi informatio…

---

## [%w{tomato cheese ham pineapple}.join(', ', ' and ')](https://www.ruby-forum.com/t/w-tomato-cheese-ham-pineapple-join-and/56615)

<div class="topic-metadata">

**Author:** [@Benjohn\_B](https://www.ruby-forum.com/u/Benjohn_B)\
**Replies:** 14\
**Last updated:** [April 3, 2006, 2:04pm UTC](https://www.ruby-forum.com/t/w-tomato-cheese-ham-pineapple-join-and/56615 "2006-04-03T14:04:53Z")

</div>

=\> ‘tomato, cheese, ham and pineapple’ Is something I’d like to be able to do, and I almost thought it’s be part of the standard. Is there already a standard way of getting that (facets, perhaps?)? Any chance it’ll ma…

---

## [Learn to Program, by Chris Pine](https://www.ruby-forum.com/t/learn-to-program-by-chris-pine/56274)

<div class="topic-metadata">

**Author:** [@Jan\_K](https://www.ruby-forum.com/u/Jan_K)\
**Replies:** 76\
**Last updated:** [April 3, 2006, 2:01pm UTC](https://www.ruby-forum.com/t/learn-to-program-by-chris-pine/56274 "2006-04-03T14:01:48Z")

</div>

Does anyone know where I can find the solutions to the exercises in this book: http://pine.fm/LearnToProgram/ I’m stuck in “Flow Control” chapter, specificailly the “Extend Deaf Grandma” exercise. I feel like beatin…

---

## [Re: What does this hash do? Is this a hash?](https://www.ruby-forum.com/t/re-what-does-this-hash-do-is-this-a-hash/56736)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 0\
**Last updated:** [April 3, 2006, 1:58pm UTC](https://www.ruby-forum.com/t/re-what-does-this-hash-do-is-this-a-hash/56736 "2006-04-03T13:58:45Z")

</div>

\#This has to be the most frequently asked question on this #list. Why isn’t it #in the FAQ at http://www.rubygarden.org/faq/main/all ? maybe because it isn’t a wiki… would be nice/great if ruby community has somethi…

---

## [Newby\>\> Ruby and method Gets... and Windows](https://www.ruby-forum.com/t/newby-ruby-and-method-gets-and-windows/56690)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 5\
**Last updated:** [April 3, 2006, 1:55pm UTC](https://www.ruby-forum.com/t/newby-ruby-and-method-gets-and-windows/56690 "2006-04-03T13:55:28Z")

</div>

Hi, i’m under Windows XP SP2 and i installed OneClick Installer. So, i began to read some documentations and i learnt to use the gets’s method. So nothing hard in that, i wrote my program in SciTE: puts “Hi what’s y…

---

## [What does this hash do? Is this a hash?](https://www.ruby-forum.com/t/what-does-this-hash-do-is-this-a-hash/56722)

<div class="topic-metadata">

**Author:** [@ralf](https://www.ruby-forum.com/u/ralf)\
**Replies:** 3\
**Last updated:** [April 3, 2006, 1:49pm UTC](https://www.ruby-forum.com/t/what-does-this-hash-do-is-this-a-hash/56722 "2006-04-03T13:49:01Z")

</div>

Hi, I’m tryin some hash functionality and came accros this in irb: hash = Hash.new("") =\> {} hash\[“a”\] \<\< “b” =\> “b” hash\[“a”\] =\> “b” hash =\> {} hash.size =\> 0 hash\[“alskj”\] =\> “b” What ist this? Prog.Ruby …

---

## [Writing a file, without deleting it's current content](https://www.ruby-forum.com/t/writing-a-file-without-deleting-its-current-content/56692)

<div class="topic-metadata">

**Author:** [@braas](https://www.ruby-forum.com/u/braas)\
**Replies:** 3\
**Last updated:** [April 3, 2006, 1:30pm UTC](https://www.ruby-forum.com/t/writing-a-file-without-deleting-its-current-content/56692 "2006-04-03T13:30:25Z")

</div>

Hi, I just read about the “.write” method. Let’s say that I’ve just written a string to a file, “file.txt”. Then I want to add some more information to it, on the next line. I use .write again and my info got replac…

---

## [\[ANN\] Rake 0.7.1 Released](https://www.ruby-forum.com/t/ann-rake-0-7-1-released/56735)

<div class="topic-metadata">

**Author:** [@jimweirich](https://www.ruby-forum.com/u/jimweirich)\
**Replies:** 0\
**Last updated:** [April 3, 2006, 1:21pm UTC](https://www.ruby-forum.com/t/ann-rake-0-7-1-released/56735 "2006-04-03T13:21:30Z")

</div>

= Rake 0.7.1 Released Version 0.7.1 supplies a bug fix and a few minor enhancements. If you run rake on windows, you should consider upgrading to version 0.7.1. == Changes === Bug Fixes in 0.7.1 Changes in the exc…

---

## [A New Group in Reading Berkshire UK](https://www.ruby-forum.com/t/a-new-group-in-reading-berkshire-uk/56729)

<div class="topic-metadata">

**Author:** [@julian](https://www.ruby-forum.com/u/julian)\
**Replies:** 0\
**Last updated:** [April 3, 2006, 12:40pm UTC](https://www.ruby-forum.com/t/a-new-group-in-reading-berkshire-uk/56729 "2006-04-03T12:40:14Z")

</div>

I wish to start up an informal group meeting in Reading to learn web design / ruby programming / rails / how to find good ruby and rails hosting, etc… I propose to meet up in a public meeting room and simply share ide…

---

## [Proc & block](https://www.ruby-forum.com/t/proc-block/93442)

<div class="topic-metadata">

**Author:** [@Hidetoshi\_NAGAI](https://www.ruby-forum.com/u/Hidetoshi_NAGAI)\
**Replies:** 2\
**Last updated:** [April 3, 2006, 12:09pm UTC](https://www.ruby-forum.com/t/proc-block/93442 "2006-04-03T12:09:02Z")

</div>

e$B1J0fe(B@e$BCNG=!%6e9)Bg$G$9!%e(B e$B8=:\_$Ne(B Proc e$B%\*%V%8%’%/%H$O%V%m%C%/$r\<u$1\<h$k$3$H$,$G$-$^$;$s$,!$e(B e$B$3$l$r\<u$1\<h$k$3$H$,$G$-$k$h$&$K$9$k$3$H$OFq$7$$$G$7$g$&$+!%e(B e$BNc$($Pe(B def foo(a,b,c) \[a, b, …

---

## [Keyboard access](https://www.ruby-forum.com/t/keyboard-access/56658)

<div class="topic-metadata">

**Author:** [@harry](https://www.ruby-forum.com/u/harry)\
**Replies:** 5\
**Last updated:** [April 3, 2006, 11:59am UTC](https://www.ruby-forum.com/t/keyboard-access/56658 "2006-04-03T11:59:43Z")

</div>

How can I gain access to the keyboard so that I can feed output from my ruby program into an application that only accepts input via the keyboard? I want the application to think the input is coming from the keyboard …

---

## [Sending files over a network](https://www.ruby-forum.com/t/sending-files-over-a-network/56587)

<div class="topic-metadata">

**Author:** [@Pieter\_Breed](https://www.ruby-forum.com/u/Pieter_Breed)\
**Replies:** 6\
**Last updated:** [April 3, 2006, 11:16am UTC](https://www.ruby-forum.com/t/sending-files-over-a-network/56587 "2006-04-03T11:16:23Z")

</div>

Hi All, I am relatively new to Ruby and I am considering using it for a little itch of my own I want to scratch. It deals with sending files over a network, but in a one-computer-to-one-computer way, not swarming like …

---

## [Scala-2](https://www.ruby-forum.com/t/scala-2/93441)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [April 3, 2006, 10:54am UTC](https://www.ruby-forum.com/t/scala-2/93441 "2006-04-03T10:54:36Z")

</div>

The Scala language fuses object-oriented and functional programming while staying completely interoperable with Java. It is compiled to JVM class files, subclassing is allowed both ways between Java and Scala classes,…

---

## [Re: Newby\>\> Ruby and method Gets... and Windows](https://www.ruby-forum.com/t/re-newby-ruby-and-method-gets-and-windows/56715)

<div class="topic-metadata">

**Author:** [@dasch](https://www.ruby-forum.com/u/dasch)\
**Replies:** 1\
**Last updated:** [April 3, 2006, 10:11am UTC](https://www.ruby-forum.com/t/re-newby-ruby-and-method-gets-and-windows/56715 "2006-04-03T10:11:58Z")

</div>

In SciTE, you need to focus on the frame that appears on the right where you can see “Hi what’s your name?” - that’s where you should type your input.

---

## [Installing ruby-db2-0.4 for DB2 gives SQLConnect() errors](https://www.ruby-forum.com/t/installing-ruby-db2-0-4-for-db2-gives-sqlconnect-errors/56706)

<div class="topic-metadata">

**Author:** [@dinesh](https://www.ruby-forum.com/u/dinesh)\
**Replies:** 0\
**Last updated:** [April 3, 2006, 6:20am UTC](https://www.ruby-forum.com/t/installing-ruby-db2-0-4-for-db2-gives-sqlconnect-errors/56706 "2006-04-03T06:20:17Z")

</div>

Hi, I’m new to Ruby and i was trying to install the “ruby-db2-0.4” package and i’m getting the below error. Can any one please guide me. I folled the instructions as per the Readme. I’m using DB2 V 8.1.4. I have ins…

---

## [List.rhtml](https://www.ruby-forum.com/t/list-rhtml/93400)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [April 3, 2006, 4:34am UTC](https://www.ruby-forum.com/t/list-rhtml/93400 "2006-04-03T04:34:15Z")

</div>

I have designed a messageboard and i have gone into lis.rhtml to make it look better (changing the default title… ect.) But when i try to change the title …ect nothing happens Could someone please help me Thanks Chr…

---

## [(Static) Constructors/Destructors in Ruby](https://www.ruby-forum.com/t/static-constructors-destructors-in-ruby/56513)

<div class="topic-metadata">

**Author:** [@PrimaryKey](https://www.ruby-forum.com/u/PrimaryKey)\
**Replies:** 24\
**Last updated:** [April 3, 2006, 2:35am UTC](https://www.ruby-forum.com/t/static-constructors-destructors-in-ruby/56513 "2006-04-03T02:35:11Z")

</div>

Hello! After reading the Pickaxe book I noticed it provides almost no information about object lifecycle and no mention of destructors. As a Java/C# guy my gut reaction was: Wouldnâ??t it be nice to have a â??unintia…

---

## [Wee or](https://www.ruby-forum.com/t/wee-or/93398)

<div class="topic-metadata">

**Author:** [@tomtae](https://www.ruby-forum.com/u/tomtae)\
**Replies:** 3\
**Last updated:** [April 3, 2006, 1:35am UTC](https://www.ruby-forum.com/t/wee-or/93398 "2006-04-03T01:35:36Z")

</div>

Hi, I want develop web applications using my or shared class. It’s similar of Rail but so I can copy my application on my web space that use only ruby on the server (no rail, no nitro, no borge, no wee). It’s possibl…

---

## [Typed Parameters](https://www.ruby-forum.com/t/typed-parameters/56631)

<div class="topic-metadata">

**Author:** [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Replies:** 33\
**Last updated:** [April 2, 2006, 11:49pm UTC](https://www.ruby-forum.com/t/typed-parameters/56631 "2006-04-02T23:49:30Z")

</div>

Dear group there was a recent thread about “Boolean” and it braught me to my favorit thing I would love to have in Ruby2. typed parameters My code is completely filled with things like this: def never\_saw\_a\_better\_…

---

## [Monthnames](https://www.ruby-forum.com/t/monthnames/93407)

<div class="topic-metadata">

**Author:** [@lazylester](https://www.ruby-forum.com/u/lazylester)\
**Replies:** 2\
**Last updated:** [April 2, 2006, 11:22pm UTC](https://www.ruby-forum.com/t/monthnames/93407 "2006-04-02T23:22:07Z")

</div>

I’m getting 3 unprintable characters after April when use Date::MONTHNAMES. So I get JanuaryFebruaryMarchAprilxxxMayJune…etc but the 3 'x’s are unprintable characters!! What is this April fool doing wrong? It the sam…

---

## [One-Click Ruby Installer 184-16 release candidate 1 is avail](https://www.ruby-forum.com/t/one-click-ruby-installer-184-16-release-candidate-1-is-avail/56206)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 12\
**Last updated:** [April 2, 2006, 9:36pm UTC](https://www.ruby-forum.com/t/one-click-ruby-installer-184-16-release-candidate-1-is-avail/56206 "2006-04-02T21:36:59Z")

</div>

The release file has been uploaded to RubyForge but may not be available for an hour or so while the download mirrors synchronize. We are almost there to a final relase. There are only a couple minor issues, and those…

---

## [Gems in userdir - Could not find RubyGem](https://www.ruby-forum.com/t/gems-in-userdir-could-not-find-rubygem/93412)

<div class="topic-metadata">

**Author:** [@subroutine](https://www.ruby-forum.com/u/subroutine)\
**Replies:** 4\
**Last updated:** [April 2, 2006, 7:17pm UTC](https://www.ruby-forum.com/t/gems-in-userdir-could-not-find-rubygem/93412 "2006-04-02T19:17:27Z")

</div>

Hi, I am new to ruby and gem and I have installed a few gems (rails and deps) in userdir. $ HOME=$HOME/html gem list rails \*\*\* LOCAL GEMS \*\*\* rails (1.1.0) Web-application framework with template engine, control-fl…

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

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