# Ruby

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

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

---

## [RubyForge gem source index busted](https://www.ruby-forum.com/t/rubyforge-gem-source-index-busted/84723)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 5\
**Last updated:** [February 7, 2007, 2:46pm UTC](https://www.ruby-forum.com/t/rubyforge-gem-source-index-busted/84723 "2007-02-07T14:46:39Z")

</div>

I assume someone’s looking into this, but since I hadn’t seen a post on it: something seems to be wrong with the gem source index on RubyForge (or on one of the mirrors?) Trying to install gems with either JRuby or Ru…

---

## [Ruby and SOAP](https://www.ruby-forum.com/t/ruby-and-soap/84741)

<div class="topic-metadata">

**Author:** [@nicken](https://www.ruby-forum.com/u/nicken)\
**Replies:** 0\
**Last updated:** [February 7, 2007, 1:31pm UTC](https://www.ruby-forum.com/t/ruby-and-soap/84741 "2007-02-07T13:31:32Z")

</div>

Hello, I’m trying to access a SOAP webservice written in C# .NET from Ruby (running on Ubuntu). The server has two classes within its namespace: AddressSearch ServiceAuthentication The namespace is http://local/bl…

---

## [Fail to compile trunk in cygwin](https://www.ruby-forum.com/t/fail-to-compile-trunk-in-cygwin/84740)

<div class="topic-metadata">

**Author:** [@Masaki\_S](https://www.ruby-forum.com/u/Masaki_S)\
**Replies:** 0\
**Last updated:** [February 7, 2007, 1:21pm UTC](https://www.ruby-forum.com/t/fail-to-compile-trunk-in-cygwin/84740 "2007-02-07T13:21:31Z")

</div>

e$B=uED$G$9!#e(B Cygwin e$B$Ge(B trunk e$B$N%3%s%Q%$%k$,\<:GT$7$^$9!#e(B e$B$9$$$^$;$s!#Js9p$@$1$G$9!#e(B ./process.c: In function rb\_proc\_exec': ./process.c:1004: error: P\_OVERLAY’ undeclared (first use in this funct…

---

## [Comment for partial line](https://www.ruby-forum.com/t/comment-for-partial-line/84688)

<div class="topic-metadata">

**Author:** [@xia](https://www.ruby-forum.com/u/xia)\
**Replies:** 12\
**Last updated:** [February 7, 2007, 10:21am UTC](https://www.ruby-forum.com/t/comment-for-partial-line/84688 "2007-02-07T10:21:10Z")

</div>

Hi Can someone confirm that Ruby only allows #tail of line commenting and =begin this whole block commenting =end and not partial line commenting? and if so, i request this be changed! its really annoying not be…

---

## [Interest in conceptual data modeling (fact-based modeling)?](https://www.ruby-forum.com/t/interest-in-conceptual-data-modeling-fact-based-modeling/84567)

<div class="topic-metadata">

**Author:** [@Clifford\_H](https://www.ruby-forum.com/u/Clifford_H)\
**Replies:** 2\
**Last updated:** [February 7, 2007, 8:10am UTC](https://www.ruby-forum.com/t/interest-in-conceptual-data-modeling-fact-based-modeling/84567 "2007-02-07T08:10:57Z")

</div>

Folk, I’ve long been interested in fact-based data modelling, also known as conceptual modeling, using the technique of Object Role Modeling (see http://www.orm.net). An algorithm called RMap is known which maps an O…

---

## [Community involvement](https://www.ruby-forum.com/t/community-involvement/84622)

<div class="topic-metadata">

**Author:** [@Tech\_G](https://www.ruby-forum.com/u/Tech_G)\
**Replies:** 4\
**Last updated:** [February 7, 2007, 7:35am UTC](https://www.ruby-forum.com/t/community-involvement/84622 "2007-02-07T07:35:54Z")

</div>

I’m getting to the point where I consider myself fairly comfortable with Ruby. I love the way the language works, I’ve used it to solve some fairly complex problems, and I’m working on developing several different w…

---

## [REPL driven programming](https://www.ruby-forum.com/t/repl-driven-programming/83208)

<div class="topic-metadata">

**Author:** [@SonOfLilit](https://www.ruby-forum.com/u/SonOfLilit)\
**Replies:** 19\
**Last updated:** [February 7, 2007, 6:34am UTC](https://www.ruby-forum.com/t/repl-driven-programming/83208 "2007-02-07T06:34:52Z")

</div>

Hello, this is a spawn of “ruby text editor for beginner”, in essence, because that thread inspired the question in me. LISP has SLIME. With SLIME, alternating between REPL and source code files is trivial - you h…

---

## [Problem with inheritance and "self"](https://www.ruby-forum.com/t/problem-with-inheritance-and-self/84691)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 1\
**Last updated:** [February 7, 2007, 5:28am UTC](https://www.ruby-forum.com/t/problem-with-inheritance-and-self/84691 "2007-02-07T05:28:47Z")

</div>

I have three classes. AbstractThing BlueThing RedThing inside AbstractThing: def self.get self.find(:first) end (yup, it’s a Rails app) I want the DB to only have tables for blue\_things and red\_things – but cur…

---

## [Posted Jim Weirich OSCON 2006 video presentation](https://www.ruby-forum.com/t/posted-jim-weirich-oscon-2006-video-presentation/84675)

<div class="topic-metadata">

**Author:** [@Diego\_Scataglini](https://www.ruby-forum.com/u/Diego_Scataglini)\
**Replies:** 6\
**Last updated:** [February 7, 2007, 5:19am UTC](https://www.ruby-forum.com/t/posted-jim-weirich-oscon-2006-video-presentation/84675 "2007-02-07T05:19:46Z")

</div>

For anybody interested, I posted the talk about Design By Contract in Ruby that Jim W. gave @ OSCON 2006 on my blog. I have 3 or 4 more that I am in the process of uploading. I am waiting for a written release from …

---

## [Gmail spam](https://www.ruby-forum.com/t/gmail-spam/84647)

<div class="topic-metadata">

**Author:** [@technodolt](https://www.ruby-forum.com/u/technodolt)\
**Replies:** 9\
**Last updated:** [February 7, 2007, 1:11am UTC](https://www.ruby-forum.com/t/gmail-spam/84647 "2007-02-07T01:11:33Z")

</div>

Gmail, for some reason, seems to be sending a message twice every time I try to communicate with the list. Has anyone else had this problem? Is there any way for me to stop it? Thanks.

---

## [Best way to do dynamic mixin or dynamic include? (Mixin modu](https://www.ruby-forum.com/t/best-way-to-do-dynamic-mixin-or-dynamic-include-mixin-modu/84667)

<div class="topic-metadata">

**Author:** [@jbell38](https://www.ruby-forum.com/u/jbell38)\
**Replies:** 9\
**Last updated:** [February 6, 2007, 11:42pm UTC](https://www.ruby-forum.com/t/best-way-to-do-dynamic-mixin-or-dynamic-include-mixin-modu/84667 "2007-02-06T23:42:26Z")

</div>

I am searching for the best way to do a dynamic mixin with Ruby. Basically I have a class that includes a mixin but I want the mixin module name to be driven from configuration and not the code. class A include Foo …

---

## [Thread Question](https://www.ruby-forum.com/t/thread-question/84654)

<div class="topic-metadata">

**Author:** [@dfg59](https://www.ruby-forum.com/u/dfg59)\
**Replies:** 1\
**Last updated:** [February 6, 2007, 10:05pm UTC](https://www.ruby-forum.com/t/thread-question/84654 "2007-02-06T22:05:13Z")

</div>

As posted earlier, I’m working on a simple chat server. However, I seem to be confused as to how I’m supposed to spawn a new thread. Let’s suppose I want to create a new Thread where an instance of Foo listens for mes…

---

## [Searching for records](https://www.ruby-forum.com/t/searching-for-records/84665)

<div class="topic-metadata">

**Author:** [@jerryjj](https://www.ruby-forum.com/u/jerryjj)\
**Replies:** 0\
**Last updated:** [February 6, 2007, 8:33pm UTC](https://www.ruby-forum.com/t/searching-for-records/84665 "2007-02-06T20:33:02Z")

</div>

I am trying to create a form that will allow a user to enter an item number and goto the show page for that item. I can create the form on the page, but I do not know how to take the information given and pass it to a…

---

## [Undefined method \`empty?' for nil:NilClass (NoMethodError)](https://www.ruby-forum.com/t/undefined-method-empty-for-nil-nilclass-nomethoderror/84661)

<div class="topic-metadata">

**Author:** [@anon1m0us](https://www.ruby-forum.com/u/anon1m0us)\
**Replies:** 2\
**Last updated:** [February 6, 2007, 8:31pm UTC](https://www.ruby-forum.com/t/undefined-method-empty-for-nil-nilclass-nomethoderror/84661 "2007-02-06T20:31:02Z")

</div>

Hi; I have a script that goes through a file to match information and puts them in different arrays. When I run the program I receive in the following error: undefined method \`empty?’ for nil:NilClass (NoMethodError…

---

## [Library (of books, not gems) Management in Ruby](https://www.ruby-forum.com/t/library-of-books-not-gems-management-in-ruby/84653)

<div class="topic-metadata">

**Author:** [@Bira](https://www.ruby-forum.com/u/Bira)\
**Replies:** 4\
**Last updated:** [February 6, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/library-of-books-not-gems-management-in-ruby/84653 "2007-02-06T20:21:01Z")

</div>

Is there a Ruby application for managing collections of books, CD’s and “stuff” in general? I saw something similar written in Java (Data Crow) but it seemed a bit too heavy for my tastes. Searching for “library manag…

---

## [Creating child processes in Windows?](https://www.ruby-forum.com/t/creating-child-processes-in-windows/84376)

<div class="topic-metadata">

**Author:** [@soroe](https://www.ruby-forum.com/u/soroe)\
**Replies:** 3\
**Last updated:** [February 6, 2007, 8:07pm UTC](https://www.ruby-forum.com/t/creating-child-processes-in-windows/84376 "2007-02-06T20:07:56Z")

</div>

Hey Guys, Since fork is not implimented in Windows, how do you spawn subprocesses in Windows? Does anyone have a good (Cross Platform) solution besides Ruby Threads? Sonny.

---

## [Ruby and DST change](https://www.ruby-forum.com/t/ruby-and-dst-change/84642)

<div class="topic-metadata">

**Author:** [@el-gato](https://www.ruby-forum.com/u/el-gato)\
**Replies:** 1\
**Last updated:** [February 6, 2007, 6:50pm UTC](https://www.ruby-forum.com/t/ruby-and-dst-change/84642 "2007-02-06T18:50:49Z")

</div>

Can anyone tell me whether the Daylight Savings Time change due to occur in the U.S. this March will require any patching of my Ruby installations (1.8.1)? I can’t seem to find any relevant info.

---

## [Database migration](https://www.ruby-forum.com/t/database-migration/84577)

<div class="topic-metadata">

**Author:** [@jerryjj](https://www.ruby-forum.com/u/jerryjj)\
**Replies:** 2\
**Last updated:** [February 6, 2007, 5:56pm UTC](https://www.ruby-forum.com/t/database-migration/84577 "2007-02-06T17:56:44Z")

</div>

Beginner alert… I am working on a database migration. I am adding inventory items to the table. I have the data, but for the life of me, I cannot remember where to make this file. I remember how to run the migration e…

---

## [Fwd: Ruby Quiz Corrections](https://www.ruby-forum.com/t/fwd-ruby-quiz-corrections/84634)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 1\
**Last updated:** [February 6, 2007, 5:49pm UTC](https://www.ruby-forum.com/t/fwd-ruby-quiz-corrections/84634 "2007-02-06T17:49:43Z")

</div>

Some new coverage of an old but favorite quiz. James Edward G. II Begin forwarded message:

---

## [Inheriting from Fixnum](https://www.ruby-forum.com/t/inheriting-from-fixnum/84339)

<div class="topic-metadata">

**Author:** [@gga](https://www.ruby-forum.com/u/gga)\
**Replies:** 15\
**Last updated:** [February 6, 2007, 5:20pm UTC](https://www.ruby-forum.com/t/inheriting-from-fixnum/84339 "2007-02-06T17:20:40Z")

</div>

Now… this should be simple, but, alas, it is not. I’m creating some special numeric classes, and I wanted to derive from Fixnum, for example. class Frame \< Fixnum end While the above code works, doing then: Frame.n…

---

## [HELP: Can't seem to 'require' libxml under MacOS X](https://www.ruby-forum.com/t/help-cant-seem-to-require-libxml-under-macos-x/84574)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [February 6, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/help-cant-seem-to-require-libxml-under-macos-x/84574 "2007-02-06T17:05:37Z")

</div>

I’ve installed Ruby under MacOS X Tiger (or upgraded it) via Fink, and I’ve also installed gems. Using gems, I installed libxml-ruby. For whatever reason, however, putting “require ‘xml/libxml’” into a Ruby program …

---

## [Squash blog spam](https://www.ruby-forum.com/t/squash-blog-spam/84623)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 0\
**Last updated:** [February 6, 2007, 4:16pm UTC](https://www.ruby-forum.com/t/squash-blog-spam/84623 "2007-02-06T16:16:31Z")

</div>

negative captcha http://www.hackszine.com/blog/archive/2007/02/negative\_captcha.html? CMP=OTC-7G2N43923558 T.

---

## [I need some advice](https://www.ruby-forum.com/t/i-need-some-advice/84539)

<div class="topic-metadata">

**Author:** [@sporkyy](https://www.ruby-forum.com/u/sporkyy)\
**Replies:** 7\
**Last updated:** [February 6, 2007, 2:58pm UTC](https://www.ruby-forum.com/t/i-need-some-advice/84539 "2007-02-06T14:58:22Z")

</div>

Hi, I am new to Ruby and looking for some advice. There is a upcoming conference on Ruby in my hometown of Columbus, Ohio. Before I shell out $500 for a ticket I was Wondering if anyone has heard these guys speak. …

---

## [Sample a pixel from tk canvas](https://www.ruby-forum.com/t/sample-a-pixel-from-tk-canvas/84616)

<div class="topic-metadata">

**Author:** [@teeshift](https://www.ruby-forum.com/u/teeshift)\
**Replies:** 1\
**Last updated:** [February 6, 2007, 2:00pm UTC](https://www.ruby-forum.com/t/sample-a-pixel-from-tk-canvas/84616 "2007-02-06T14:00:14Z")

</div>

Is there any method to get a pixel from the canvas? I can draw a pixel (painfully by using either line or rectangle, same storage anyway) but can I sample a pixel ? I recall vaguely that Java could probably do it, how…

---

## [Proc vs lambda vs proc](https://www.ruby-forum.com/t/proc-vs-lambda-vs-proc/84417)

<div class="topic-metadata">

**Author:** [@pool007](https://www.ruby-forum.com/u/pool007)\
**Replies:** 19\
**Last updated:** [February 6, 2007, 12:14pm UTC](https://www.ruby-forum.com/t/proc-vs-lambda-vs-proc/84417 "2007-02-06T12:14:04Z")

</div>

Hi group(and probably ruby-talk list - is it running btw?). I got a question on Proc.new and lambda { … }. AFAIK, there’s two differences between Proc.new(=proc) and lambda. The first one is that Proc.new does not che…

---

## [Fastthread](https://www.ruby-forum.com/t/fastthread/84520)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 2\
**Last updated:** [February 6, 2007, 11:54am UTC](https://www.ruby-forum.com/t/fastthread/84520 "2007-02-06T11:54:01Z")

</div>

e$B!!e(Blib/thread.rb e$B$N9bB.$JCV$-49$($G$“$ke(B fastthread e$B$N:NMQ$,!”:n\<T$Ne(B MenTaL guY e$B$h$jDs0F$5$l$F$$$^$9!#e(B(APIe$B$Oe(B100%e$B8\_49$H$N$3$He(B) https://rubyforge.org/tracker/index.php?func=detail&aid=…

---

## [ANN: RubyGems 0.9.2](https://www.ruby-forum.com/t/ann-rubygems-0-9-2/84507)

<div class="topic-metadata">

**Author:** [@jimweirich](https://www.ruby-forum.com/u/jimweirich)\
**Replies:** 9\
**Last updated:** [February 6, 2007, 9:00am UTC](https://www.ruby-forum.com/t/ann-rubygems-0-9-2/84507 "2007-02-06T09:00:09Z")

</div>

= Announce: RubyGems Release 0.9.2 Release 0.9.2 is a maintenance release of RubyGems that fix some minor bugs in the 0.9.1 release. Bug Fixes Include: The “unpack” command now works properly. User name and password…

---

## [Call to arms: list readers](https://www.ruby-forum.com/t/call-to-arms-list-readers/84433)

<div class="topic-metadata">

**Author:** [@combas](https://www.ruby-forum.com/u/combas)\
**Replies:** 15\
**Last updated:** [February 6, 2007, 8:22am UTC](https://www.ruby-forum.com/t/call-to-arms-list-readers/84433 "2007-02-06T08:22:06Z")

</div>

Custom Search Engine for Ruby http://rubykitchensink.ca At the moment we’re searching about 300 blogs, around 5000 ruby projects (all of rubyforge plus others) and the ruby-lang mailing list. We know there is a lot m…

---

## [Rails installation problem](https://www.ruby-forum.com/t/rails-installation-problem/84593)

<div class="topic-metadata">

**Author:** [@manohar\_amrutkar](https://www.ruby-forum.com/u/manohar_amrutkar)\
**Replies:** 0\
**Last updated:** [February 6, 2007, 7:51am UTC](https://www.ruby-forum.com/t/rails-installation-problem/84593 "2007-02-06T07:51:03Z")

</div>

whts this problem? Can anybody suggest solution? C:\>gem install rails --include-dependencies ERROR: While executing gem … (Errno::EBADF) Bad file descriptor - connect(2)

---

## [Getinstancevariable2](https://www.ruby-forum.com/t/getinstancevariable2/84475)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 4\
**Last updated:** [February 6, 2007, 6:30am UTC](https://www.ruby-forum.com/t/getinstancevariable2/84475 "2007-02-06T06:30:58Z")

</div>

e$B!!$5$5$@$G$9!#e(B e$B!!e(Bgetinstancevariable2 e$B$H$$$&L\>A0$G$9$,!“8+$F$b2?$,$J$s$@$+$5$C$Q$j$o$+e(B e$B$i$J$$$N$GL\>A0$r$b$&$A$g$C$H9M$($^$;$s$+!#5!G=$H$7$F$O!”%/%i%9%m!\<%+%k%$e(B e$B%s%9%?%s%9JQ?t$G$7$?$C$1!#e(B …

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

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