# Ruby

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

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

---

## [Shameless Hype for Ruby Stuff Goodness](https://www.ruby-forum.com/t/shameless-hype-for-ruby-stuff-goodness/70289)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 3\
**Last updated:** [February 20, 2006, 12:09am UTC](https://www.ruby-forum.com/t/shameless-hype-for-ruby-stuff-goodness/70289 "2006-02-20T00:09:25Z")

</div>

RubyStuf.com, the premiere place for Ruby stuff, has some new, um, stuff. http://www.rubystuff.com/ Profoundly inspired by a series of ruby-talk threads on just how “dangerous” is Ruby comes “Ruby: You’ll shoot your …

---

## [Fwd: Quiz #67 metakoans.rb](https://www.ruby-forum.com/t/fwd-quiz-67-metakoans-rb/70522)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 1\
**Last updated:** [February 19, 2006, 11:54pm UTC](https://www.ruby-forum.com/t/fwd-quiz-67-metakoans-rb/70522 "2006-02-19T23:54:20Z")

</div>

Begin forwarded message:

---

## [\[ANN\] rubyforge-0.1.1](https://www.ruby-forum.com/t/ann-rubyforge-0-1-1/53745)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [February 19, 2006, 11:36pm UTC](https://www.ruby-forum.com/t/ann-rubyforge-0-1-1/53745 "2006-02-19T23:36:12Z")

</div>

SIMPLIFY SHARING YOUR RUBYGEMS ON RUBYFORGE! ~\> gem install rubyforge SYNOPSIS rubyforge \[options\]\* mode \[mode\_args\]\* DESCRIPTION simplistic script which automates a limited set of rubyforge operations MODES setu…

---

## [Why does drb.rb depend on its filename?](https://www.ruby-forum.com/t/why-does-drb-rb-depend-on-its-filename/70246)

<div class="topic-metadata">

**Author:** [@jay-levitt](https://www.ruby-forum.com/u/jay-levitt)\
**Replies:** 3\
**Last updated:** [February 19, 2006, 10:56pm UTC](https://www.ruby-forum.com/t/why-does-drb-rb-depend-on-its-filename/70246 "2006-02-19T22:56:34Z")

</div>

I was creating my first DRb server, and ran into a trouble with ACLs. I wanted to put a debug statement into DRb::Accept, so I copied it to my directory, renamed it jrb.rb, and required it with the new name. But whe…

---

## [ActiveRecord or OG?](https://www.ruby-forum.com/t/activerecord-or-og/70468)

<div class="topic-metadata">

**Author:** [@jansenh](https://www.ruby-forum.com/u/jansenh)\
**Replies:** 3\
**Last updated:** [February 19, 2006, 8:22pm UTC](https://www.ruby-forum.com/t/activerecord-or-og/70468 "2006-02-19T20:22:11Z")

</div>

Hi group. I am an avid lurker. ActiveRecord (without Rails…) or ObjectGraph ? I have no real experience with ORMs. Any insight to this desicion is appreciated. The Case:: I want to write a SOAP based server inter…

---

## [Best way to use (exploit) mailing list](https://www.ruby-forum.com/t/best-way-to-use-exploit-mailing-list/53964)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 9\
**Last updated:** [February 19, 2006, 8:10pm UTC](https://www.ruby-forum.com/t/best-way-to-use-exploit-mailing-list/53964 "2006-02-19T20:10:01Z")

</div>

hey Chaps, I’ve now got close to 12,000 emails stored on this box from this mailing list. What methods do you chaps use to find stuff here? grep (topic) grep (module /class) some pther thing?

---

## [Meta\_parse: my first metaprogram](https://www.ruby-forum.com/t/meta-parse-my-first-metaprogram/53993)

<div class="topic-metadata">

**Author:** [@Edgardo\_H](https://www.ruby-forum.com/u/Edgardo_H)\
**Replies:** 3\
**Last updated:** [February 19, 2006, 7:54pm UTC](https://www.ruby-forum.com/t/meta-parse-my-first-metaprogram/53993 "2006-02-19T19:54:55Z")

</div>

Hi guys, After messing up with racc for a couple of hours I realized that most of the parse functions look pretty much the same, so I thought of stretching my metaprogramming muscles and I wrote my first meta\_parse f…

---

## [First Munich.rb meet up](https://www.ruby-forum.com/t/first-munich-rb-meet-up/53994)

<div class="topic-metadata">

**Author:** [@Urban\_H](https://www.ruby-forum.com/u/Urban_H)\
**Replies:** 0\
**Last updated:** [February 19, 2006, 7:33pm UTC](https://www.ruby-forum.com/t/first-munich-rb-meet-up/53994 "2006-02-19T19:33:43Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hej, the Ruby U. Group in Munich, Germany will meet for the first time next Thursday (23rd Feb) at Cafe Puck (Türkenstr. 33, http:// www.cafepuck.de ) at 7PM. Everybody …

---

## [Ruby Cocoa Droplet?](https://www.ruby-forum.com/t/ruby-cocoa-droplet/70090)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 2\
**Last updated:** [February 19, 2006, 6:36pm UTC](https://www.ruby-forum.com/t/ruby-cocoa-droplet/70090 "2006-02-19T18:36:35Z")

</div>

I’m a Ruby N… I plan on using rails for my web related Ruby adventures, and have been considering Ruby Cocoa for a first try at writing stand alone desktop apps - but don’t know anything about it yet. I have a simple…

---

## [Newbie class question](https://www.ruby-forum.com/t/newbie-class-question/53990)

<div class="topic-metadata">

**Author:** [@todd](https://www.ruby-forum.com/u/todd)\
**Replies:** 1\
**Last updated:** [February 19, 2006, 5:16pm UTC](https://www.ruby-forum.com/t/newbie-class-question/53990 "2006-02-19T17:16:20Z")

</div>

Hi I’ve been trying to get my head around the rules for making classes. One question I have is whether a class must be initialized. Or can a class just hold data without taking an argument.

---

## [Solution: metakoans.rb](https://www.ruby-forum.com/t/solution-metakoans-rb/53988)

<div class="topic-metadata">

**Author:** [@Wilson\_B](https://www.ruby-forum.com/u/Wilson_B)\
**Replies:** 0\
**Last updated:** [February 19, 2006, 3:07pm UTC](https://www.ruby-forum.com/t/solution-metakoans-rb/53988 "2006-02-19T15:07:59Z")

</div>

Great quiz. Thanks for writing it. Sorry to post this after exactly 48 hours, but I have to start a road trip in about 10 minutes, and wanted to get this out first. I managed to get the code down to 15 lines without …

---

## [Installing Tk for Ruby on OS X](https://www.ruby-forum.com/t/installing-tk-for-ruby-on-os-x/70291)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [February 19, 2006, 2:49pm UTC](https://www.ruby-forum.com/t/installing-tk-for-ruby-on-os-x/70291 "2006-02-19T14:49:50Z")

</div>

Hi, I tried to run the one line script tk.rb require ‘tk’ and saw the following error $ ruby tk.rb /usr/local/lib/ruby/1.8/tk.rb:7:in require': No such file to load -- tcltklib (LoadError) from /usr/local/lib/ruby/1…

---

## [Fwd: First release of Rubyfront](https://www.ruby-forum.com/t/fwd-first-release-of-rubyfront/69741)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [February 19, 2006, 1:09pm UTC](https://www.ruby-forum.com/t/fwd-first-release-of-rubyfront/69741 "2006-02-19T13:09:31Z")

</div>

For those interested in things Ruby and grammatical, grammarian Xue Yong Zhi presents: ----- Forwarded message from removed\_email\_address@domain.invalid ----- Date: 17 Feb 2006 05:22:01 -0000 From: removed\_email\_addr…

---

## [Deploying a Ruby desktop app](https://www.ruby-forum.com/t/deploying-a-ruby-desktop-app/70210)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [February 19, 2006, 12:21pm UTC](https://www.ruby-forum.com/t/deploying-a-ruby-desktop-app/70210 "2006-02-19T12:21:05Z")

</div>

Hi, Suppose I build a ruby desktop app to talk across the internet to a database. How do I make it easy for users that do not have ruby installed to use this program? I’m looking for a one click solution. Thanks, Pe…

---

## [Removing files in directtories](https://www.ruby-forum.com/t/removing-files-in-directtories/69892)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 3\
**Last updated:** [February 19, 2006, 11:44am UTC](https://www.ruby-forum.com/t/removing-files-in-directtories/69892 "2006-02-19T11:44:56Z")

</div>

Almost there… I’ve included line 7 as I’d like to be able to remove files from a directory using code blocks. Commented it out for now until I can work out how it’s done. Suggestions appreciated. #!/usr/bin/ruby -w d…

---

## [Couple quick questions about YARV](https://www.ruby-forum.com/t/couple-quick-questions-about-yarv/53645)

<div class="topic-metadata">

**Author:** [@joshmh](https://www.ruby-forum.com/u/joshmh)\
**Replies:** 10\
**Last updated:** [February 19, 2006, 11:29am UTC](https://www.ruby-forum.com/t/couple-quick-questions-about-yarv/53645 "2006-02-19T11:29:37Z")

</div>

I know YARV is far from finished, but: any idea what the up-front cost for starting up YARV will be? I’m just hoping we won’t see 1 second of disk churn that we’ve come to expect from the JVM. will existing Ruby…

---

## [Closed source ruby script?](https://www.ruby-forum.com/t/closed-source-ruby-script/70376)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [February 19, 2006, 6:45am UTC](https://www.ruby-forum.com/t/closed-source-ruby-script/70376 "2006-02-19T06:45:43Z")

</div>

Hi, How to I make a ruby script closed source so no one can see the script or alter it? Thanks, Peter

---

## [Ruby & djgpp](https://www.ruby-forum.com/t/ruby-djgpp/70331)

<div class="topic-metadata">

**Author:** [@Cyril\_Slobin](https://www.ruby-forum.com/u/Cyril_Slobin)\
**Replies:** 0\
**Last updated:** [February 19, 2006, 5:05am UTC](https://www.ruby-forum.com/t/ruby-djgpp/70331 "2006-02-19T05:05:21Z")

</div>

Hi! I have just download a djgpp version of ruby 1.8.4. On my systems (Windows 98 SE and pure MS-DOS 6.22 tested) ruby.exe crashed when run with a script name as argument. Have anyone bumped into the same problem or …

---

## [Typo questions](https://www.ruby-forum.com/t/typo-questions/70288)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [February 19, 2006, 3:34am UTC](https://www.ruby-forum.com/t/typo-questions/70288 "2006-02-19T03:34:41Z")

</div>

The typo websites seem to be in transtion right now so I can’t look at the online docs… I just setup a typo blog and I’ve gotta give props to the folks who put it together: all that drag & drop configuration is just…

---

## [DRb hanging/blocking on access to /proc filesystem](https://www.ruby-forum.com/t/drb-hanging-blocking-on-access-to-proc-filesystem/53977)

<div class="topic-metadata">

**Author:** [@davidf](https://www.ruby-forum.com/u/davidf)\
**Replies:** 1\
**Last updated:** [February 19, 2006, 3:25am UTC](https://www.ruby-forum.com/t/drb-hanging-blocking-on-access-to-proc-filesystem/53977 "2006-02-19T03:25:38Z")

</div>

Hi all, The following code causes ruby to hang on Linux CentOS 4 (tested on 1.8.2, 1.8.3, 1.8.4 and 1.9 HEAD as of last night): ==== #!/usr/bin/env ruby require ‘drb’ This works fine File.read(’/proc/loadavg’) Sta…

---

## [OpenGL Patch](https://www.ruby-forum.com/t/opengl-patch/70248)

<div class="topic-metadata">

**Author:** [@xavier](https://www.ruby-forum.com/u/xavier)\
**Replies:** 0\
**Last updated:** [February 19, 2006, 2:30am UTC](https://www.ruby-forum.com/t/opengl-patch/70248 "2006-02-19T02:30:52Z")

</div>

Hi Everyone, I’ve created a patch that adds KeyboardUpFunc and SpecialUpFunc bindings to yoshi’s openGL/GLUT bindings. I’ve tested it on Ubuntu 5.10. Hope it comes in handy for someone else. The Patch (run against op…

---

## [Re: Thread#stop](https://www.ruby-forum.com/t/re-thread-stop/68982)

<div class="topic-metadata">

**Author:** [@dasch](https://www.ruby-forum.com/u/dasch)\
**Replies:** 3\
**Last updated:** [February 19, 2006, 1:18am UTC](https://www.ruby-forum.com/t/re-thread-stop/68982 "2006-02-19T01:18:40Z")

</div>

The following probably contains world-destroying race-conditions, but it roughly works. Making it work properly is left as an exercise for the reader. $stoppable = \[\] $stop\_all = false def stop\_all $stop\_all = true …

---

## [Mongrel 0.3.5 -- Rails/CGI Actually Works](https://www.ruby-forum.com/t/mongrel-0-3-5-rails-cgi-actually-works/70212)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 4\
**Last updated:** [February 18, 2006, 11:23pm UTC](https://www.ruby-forum.com/t/mongrel-0-3-5-rails-cgi-actually-works/70212 "2006-02-18T23:23:42Z")

</div>

This release of Mongrel features a CGIWrapper that actually works. The previous code was complete garbage so this one should fix the problems with sessions, cookies, and content-types people reported previously. The…

---

## [Which GUI toolkit in Ubuntu?](https://www.ruby-forum.com/t/which-gui-toolkit-in-ubuntu/69846)

<div class="topic-metadata">

**Author:** [@pesachzon](https://www.ruby-forum.com/u/pesachzon)\
**Replies:** 4\
**Last updated:** [February 18, 2006, 11:20pm UTC](https://www.ruby-forum.com/t/which-gui-toolkit-in-ubuntu/69846 "2006-02-18T23:20:39Z")

</div>

Hi, Can anyone recommend a gui toolkit that works well with ruby in ubuntu? Thanks

---

## [Hello, and a question about finding a defined Class from C](https://www.ruby-forum.com/t/hello-and-a-question-about-finding-a-defined-class-from-c/70136)

<div class="topic-metadata">

**Author:** [@Jacob\_Repp](https://www.ruby-forum.com/u/Jacob_Repp)\
**Replies:** 6\
**Last updated:** [February 18, 2006, 11:14pm UTC](https://www.ruby-forum.com/t/hello-and-a-question-about-finding-a-defined-class-from-c/70136 "2006-02-18T23:14:34Z")

</div>

First of all I would like to say Hello! I am new to Ruby programming having just started a few days ago. I have been watching the ruby language with interest for a number of years now but finally got the interest to d…

---

## [Gtk and root window](https://www.ruby-forum.com/t/gtk-and-root-window/53969)

<div class="topic-metadata">

**Author:** [@taq](https://www.ruby-forum.com/u/taq)\
**Replies:** 5\
**Last updated:** [February 18, 2006, 10:41pm UTC](https://www.ruby-forum.com/t/gtk-and-root-window/53969 "2006-02-18T22:41:07Z")

</div>

Hi! Is there a way to draw something on the root window using Gtk/Gdk? For example, draw a filled rectangle there with some info labels. Thanks! :slight\_smile:

---

## [Desktop apps written in Ruby?](https://www.ruby-forum.com/t/desktop-apps-written-in-ruby/70031)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 17\
**Last updated:** [February 18, 2006, 10:28pm UTC](https://www.ruby-forum.com/t/desktop-apps-written-in-ruby/70031 "2006-02-18T22:28:48Z")

</div>

Hi, I’ve only used Ruby in the Rails framework. How about using Ruby to build desktop apps with fancy drag and drop GUI with directory trees and tabbed panes etc. Can such an app be developed as easily or easier than…

---

## [Convert each element in an array](https://www.ruby-forum.com/t/convert-each-element-in-an-array/53965)

<div class="topic-metadata">

**Author:** [@braas](https://www.ruby-forum.com/u/braas)\
**Replies:** 2\
**Last updated:** [February 18, 2006, 9:37pm UTC](https://www.ruby-forum.com/t/convert-each-element-in-an-array/53965 "2006-02-18T21:37:14Z")

</div>

Hi, I can’t find out how to convert each integer in my array to a float. I’ve tried: array.each {|x| x.to\_f} But it did not work. Can anyone tell me the correct method?

---

## [OT: Is this worth a try?](https://www.ruby-forum.com/t/ot-is-this-worth-a-try/68797)

<div class="topic-metadata">

**Author:** [@gregarican](https://www.ruby-forum.com/u/gregarican)\
**Replies:** 25\
**Last updated:** [February 18, 2006, 9:10pm UTC](https://www.ruby-forum.com/t/ot-is-this-worth-a-try/68797 "2006-02-18T21:10:01Z")

</div>

I am trying out some other scripting languages and wanted to give Eiffel a try. Since a lot of the folks who post here seem to be familiar with other languages than Ruby I was wondering if anyone had some comments on …

---

## [wxRuby sizers](https://www.ruby-forum.com/t/wxruby-sizers/70209)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 0\
**Last updated:** [February 18, 2006, 9:10pm UTC](https://www.ruby-forum.com/t/wxruby-sizers/70209 "2006-02-18T21:10:01Z")

</div>

I’m looking for a sizer (the things that control widget layout in wxRuby) that would let me do something like GridBagLayout in Java Swing. I need to be able to have components in the grid that span more than one colum…

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

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