# Ruby

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

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

---

## [Re: Potential Brit ruby meeting formally Chunky Bacon](https://www.ruby-forum.com/t/re-potential-brit-ruby-meeting-formally-chunky-bacon/73713)

<div class="topic-metadata">

**Author:** [@CameronS\_Gemma\_SUK](https://www.ruby-forum.com/u/CameronS_Gemma_SUK)\
**Replies:** 17\
**Last updated:** [October 29, 2006, 8:06am UTC](https://www.ruby-forum.com/t/re-potential-brit-ruby-meeting-formally-chunky-bacon/73713 "2006-10-29T08:06:33Z")

</div>

Getting a good group now! The next questions are: when where and how?! There seem to be a few communities on the go in the UK already. Might be worth having our own Brit Ruby Conference, like the US version but with …

---

## [How to import variable from other .rb file?](https://www.ruby-forum.com/t/how-to-import-variable-from-other-rb-file/73955)

<div class="topic-metadata">

**Author:** [@camenix](https://www.ruby-forum.com/u/camenix)\
**Replies:** 10\
**Last updated:** [October 29, 2006, 6:16am UTC](https://www.ruby-forum.com/t/how-to-import-variable-from-other-rb-file/73955 "2006-10-29T06:16:13Z")

</div>

Hello all, I have two file : config.rb: tool\_mysql=‘X:/mysql.exe’ main.rb : require “config.rb” puts tool\_mysql It didn’t work.for main.rb can not import variable from config.rb Is there any mothod to do this wit…

---

## [Here's a way to use bookmarks on RubyForge](https://www.ruby-forum.com/t/heres-a-way-to-use-bookmarks-on-rubyforge/74011)

<div class="topic-metadata">

**Author:** [@efine](https://www.ruby-forum.com/u/efine)\
**Replies:** 0\
**Last updated:** [October 29, 2006, 5:51am UTC](https://www.ruby-forum.com/t/heres-a-way-to-use-bookmarks-on-rubyforge/74011 "2006-10-29T05:51:31Z")

</div>

RubyForge has a Bookmarks section on each user’s home page, but no easy way to create these bookmarks. I find the bookmarks useful to keep a list of links that are related to RubyForge. I have created a GreaseMonkey (…

---

## [Hash.collect](https://www.ruby-forum.com/t/hash-collect/73998)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 3\
**Last updated:** [October 29, 2006, 5:16am UTC](https://www.ruby-forum.com/t/hash-collect/73998 "2006-10-29T05:16:11Z")

</div>

collect seems to work on a hash: h = {‘a’=\>‘1’, ‘b’=\>‘2’} params = h.collect {|k, v| “#{k}=#{v}”}.join(‘&’) Yet collect isn’t listed as a method of hash: http://www.ruby-doc.org/core Is it undocumented, or is some m…

---

## [Nil.to\_s != "nil"](https://www.ruby-forum.com/t/nil-to-s-nil/73809)

<div class="topic-metadata">

**Author:** [@rue](https://www.ruby-forum.com/u/rue)\
**Replies:** 12\
**Last updated:** [October 29, 2006, 12:58am UTC](https://www.ruby-forum.com/t/nil-to-s-nil/73809 "2006-10-29T00:58:04Z")

</div>

Is it possible to change NilClass#to\_s to return “nil” rather than “” since “” != nil?

---

## [JOB: Ruby on Rails Back-End Developer Job (Champaign-Urbana,](https://www.ruby-forum.com/t/job-ruby-on-rails-back-end-developer-job-champaign-urbana/73999)

<div class="topic-metadata">

**Author:** [@Finsignia\_Jobs](https://www.ruby-forum.com/u/Finsignia_Jobs)\
**Replies:** 0\
**Last updated:** [October 29, 2006, 12:56am UTC](https://www.ruby-forum.com/t/job-ruby-on-rails-back-end-developer-job-champaign-urbana/73999 "2006-10-29T00:56:04Z")

</div>

A small boutique consulting firm is seeking an experienced OO developer with 12 months Rails experience and 3+ years of Ruby and/or Python experience. Ideal candidates should have the following experience: 4+ years …

---

## [Apache2.2 and ruby script](https://www.ruby-forum.com/t/apache2-2-and-ruby-script/73993)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 2\
**Last updated:** [October 29, 2006, 12:13am UTC](https://www.ruby-forum.com/t/apache2-2-and-ruby-script/73993 "2006-10-29T00:13:36Z")

</div>

Hi guys, Before I post the question I already search the forum about how to configure apache 2.2( under xp) to run Ruby script. I find one previous post and follow it: 1) add line #!c:/Ruby/bin/ruby.exe -w at the sta…

---

## [What are closures, continuations?](https://www.ruby-forum.com/t/what-are-closures-continuations/73913)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 17\
**Last updated:** [October 28, 2006, 11:02pm UTC](https://www.ruby-forum.com/t/what-are-closures-continuations/73913 "2006-10-28T23:02:00Z")

</div>

I’ve seen these mentioned in various places. From what I can tell: Ruby has closures – which seem to be returning procs from functions? Continuations may be planned for a future release of Ruby. If anybody can elabora…

---

## [How to understand why object is not collected?](https://www.ruby-forum.com/t/how-to-understand-why-object-is-not-collected/73988)

<div class="topic-metadata">

**Author:** [@Victor\_SZverokSS\_Sh](https://www.ruby-forum.com/u/Victor_SZverokSS_Sh)\
**Replies:** 6\
**Last updated:** [October 28, 2006, 10:39pm UTC](https://www.ruby-forum.com/t/how-to-understand-why-object-is-not-collected/73988 "2006-10-28T22:39:59Z")

</div>

Hi all. Here’s a problem. I have some object of MyClass with complex “freeing” logic, and I want to test this logic. I do: span = … #somehow created object ObjectSpace.define\_finalizer(span, proc{p “gc ok”}) …

---

## [Re: how to get only the duplicatet items from an array](https://www.ruby-forum.com/t/re-how-to-get-only-the-duplicatet-items-from-an-array/73885)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 3\
**Last updated:** [October 28, 2006, 8:54pm UTC](https://www.ruby-forum.com/t/re-how-to-get-only-the-duplicatet-items-from-an-array/73885 "2006-10-28T20:54:50Z")

</div>

From: Nico L. \[mailto:removed\_email\_address@domain.invalid\] is there a oneline to get only the duplicatet item from an array? i have an array like this aTemp = \[1, 1, 2, 2, 3, 4\] and i want to know, which items are…

---

## [Lots of warnings after installing ruby185-21 one-click insta](https://www.ruby-forum.com/t/lots-of-warnings-after-installing-ruby185-21-one-click-insta/73970)

<div class="topic-metadata">

**Author:** [@NuclearFusion](https://www.ruby-forum.com/u/NuclearFusion)\
**Replies:** 3\
**Last updated:** [October 28, 2006, 7:41pm UTC](https://www.ruby-forum.com/t/lots-of-warnings-after-installing-ruby185-21-one-click-insta/73970 "2006-10-28T19:41:44Z")

</div>

Hi, I installed this version of Ruby. When I invoke either fxri or FreeRide I get a lot of warnings on the command prompt which is openend during the start of one of these programs. One example: C:/Program Files/ru…

---

## [Class attribute unique to subclasses but used in parent clas](https://www.ruby-forum.com/t/class-attribute-unique-to-subclasses-but-used-in-parent-clas/73961)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [October 28, 2006, 6:17pm UTC](https://www.ruby-forum.com/t/class-attribute-unique-to-subclasses-but-used-in-parent-clas/73961 "2006-10-28T18:17:35Z")

</div>

Hello, I’m new in the Ruby World and I have a question. Let’s say I have a class with a class attribute (I call this class Parent), this class attribute is used in instance methods of Parent. Parent class has many su…

---

## [FreeRIDE on Mac OS X (or anything with a working debugger)](https://www.ruby-forum.com/t/freeride-on-mac-os-x-or-anything-with-a-working-debugger/73974)

<div class="topic-metadata">

**Author:** [@Ashley\_M](https://www.ruby-forum.com/u/Ashley_M)\
**Replies:** 0\
**Last updated:** [October 28, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/freeride-on-mac-os-x-or-anything-with-a-working-debugger/73974 "2006-10-28T17:59:34Z")

</div>

Hi A bit off-topic I suppose, but the FreeRIDE mailing lists are a bit of a ghost town. I’ve tried to install FreeRIDE from MacPorts (with an up-to-date ports tree) on OS X 10.4.8, unfortunately it fails with the er…

---

## [Eclipse Ruby 1.8.4 development tools and segmentation fault](https://www.ruby-forum.com/t/eclipse-ruby-1-8-4-development-tools-and-segmentation-fault/73971)

<div class="topic-metadata">

**Author:** [@niconoe](https://www.ruby-forum.com/u/niconoe)\
**Replies:** 0\
**Last updated:** [October 28, 2006, 5:51pm UTC](https://www.ruby-forum.com/t/eclipse-ruby-1-8-4-development-tools-and-segmentation-fault/73971 "2006-10-28T17:51:33Z")

</div>

Hello, For people encountering a segmentation fault when debugging with Ruby development tools in Eclipse 3.2, I encourage you to move on to ruby 1.8.5 This solved the pb for me Nicolas

---

## [Problem with Amrita](https://www.ruby-forum.com/t/problem-with-amrita/73969)

<div class="topic-metadata">

**Author:** [@Miquel\_O](https://www.ruby-forum.com/u/Miquel_O)\
**Replies:** 3\
**Last updated:** [October 28, 2006, 5:43pm UTC](https://www.ruby-forum.com/t/problem-with-amrita/73969 "2006-10-28T17:43:33Z")

</div>

Hi all I’m a ruby newbie and I’m trying to do something with templates using Amrita. I have a template which contains html with some … into it and Amrita doesn’t generate this chunk of html because it gets because …

---

## [Saving an IRB Session](https://www.ruby-forum.com/t/saving-an-irb-session/73959)

<div class="topic-metadata">

**Author:** [@mcarlson](https://www.ruby-forum.com/u/mcarlson)\
**Replies:** 1\
**Last updated:** [October 28, 2006, 3:11pm UTC](https://www.ruby-forum.com/t/saving-an-irb-session/73959 "2006-10-28T15:11:26Z")

</div>

Hi, I’m learning Ruby from the pickaxe book and I’m using the IRB to try out examples. I’d like to know if it is possible to save to disk the IRB session so that when I come back I can load up a session to the state …

---

## [Ruby-VPI 9.0.0](https://www.ruby-forum.com/t/ruby-vpi-9-0-0/73954)

<div class="topic-metadata">

**Author:** [@Suraj\_NSKurapati](https://www.ruby-forum.com/u/Suraj_NSKurapati)\
**Replies:** 0\
**Last updated:** [October 28, 2006, 12:11pm UTC](https://www.ruby-forum.com/t/ruby-vpi-9-0-0/73954 "2006-10-28T12:11:10Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Version 9.0.0 (2006-10-28) Ruby-VPI is a Ruby interface to Verilog VPI. It lets you create complex Verilog test benches easily and wholly in Ruby. Website: http://ruby…

---

## [Re: What are closures, continuations?](https://www.ruby-forum.com/t/re-what-are-closures-continuations/73921)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 2\
**Last updated:** [October 28, 2006, 9:35am UTC](https://www.ruby-forum.com/t/re-what-are-closures-continuations/73921 "2006-10-28T09:35:09Z")

</div>

From: Simen E. \[mailto:removed\_email\_address@domain.invalid\] Here’s an example of how closures and continuations are useful, cooperative threading: \[snip crazy example\] Can someone who isn’t busy snorting crazy pro…

---

## [Ruby on AIX. Again](https://www.ruby-forum.com/t/ruby-on-aix-again/73937)

<div class="topic-metadata">

**Author:** [@mly](https://www.ruby-forum.com/u/mly)\
**Replies:** 0\
**Last updated:** [October 28, 2006, 7:09am UTC](https://www.ruby-forum.com/t/ruby-on-aix-again/73937 "2006-10-28T07:09:03Z")

</div>

Since AIX now supports RPM as a package format, I would like to build a RPM of 1.8.5 that I can install on a number of systems. So far, I have been unsuccessful at finding an existing SRPM of Ruby for AIX. Quite lik…

---

## [Converting IFMapper into Win32 executables](https://www.ruby-forum.com/t/converting-ifmapper-into-win32-executables/73179)

<div class="topic-metadata">

**Author:** [@Arnel](https://www.ruby-forum.com/u/Arnel)\
**Replies:** 1\
**Last updated:** [October 28, 2006, 6:07am UTC](https://www.ruby-forum.com/t/converting-ifmapper-into-win32-executables/73179 "2006-10-28T06:07:00Z")

</div>

Hi - Anyone familiar with IFMapper, Ruby and/or its components? I’ve been trying to “compile” the IFMapper program into an executable file that can run under Windows without having to install the whole Ruby package b…

---

## [Ruby's book list is out of date](https://www.ruby-forum.com/t/rubys-book-list-is-out-of-date/73842)

<div class="topic-metadata">

**Author:** [@Jeremy\_McAnally](https://www.ruby-forum.com/u/Jeremy_McAnally)\
**Replies:** 7\
**Last updated:** [October 28, 2006, 4:46am UTC](https://www.ruby-forum.com/t/rubys-book-list-is-out-of-date/73842 "2006-10-28T04:46:57Z")

</div>

Hello all, I was snooping about the Ruby site the other day (OK, like two weeks ago) when I got bored, and I noticed the book page is out of date. I e-mailed the webmaster e-mail address, but nothing has changed. F…

---

## [MountainWest RubyConf 2007: Call For Papers](https://www.ruby-forum.com/t/mountainwest-rubyconf-2007-call-for-papers/73882)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 4\
**Last updated:** [October 28, 2006, 1:58am UTC](https://www.ruby-forum.com/t/mountainwest-rubyconf-2007-call-for-papers/73882 "2006-10-28T01:58:47Z")

</div>

The MountainWest RubyConf 2007, scheduled for the middle of March (we’ll be publish the final dates in the next week or two), is opening a call for presenters. We will have about nine 45 minute slots for talks (with …

---

## [\-bash: rails: command not found](https://www.ruby-forum.com/t/bash-rails-command-not-found/73799)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 5\
**Last updated:** [October 28, 2006, 1:22am UTC](https://www.ruby-forum.com/t/bash-rails-command-not-found/73799 "2006-10-28T01:22:46Z")

</div>

I know lots of people seem to have this problem…I’ve been through the posts and have followed the advice, but I’m still having trouble. Terminal isn’t recognizing the rails command. When I do a locate on rails, then e…

---

## [Re: Killing a windows process](https://www.ruby-forum.com/t/re-killing-a-windows-process/73924)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [October 28, 2006, 1:12am UTC](https://www.ruby-forum.com/t/re-killing-a-windows-process/73924 "2006-10-28T01:12:45Z")

</div>

From: Joe Van D. \[mailto:removed\_email\_address@domain.invalid\] I’m starting a bunch of processes using win32/process (http://rubyforge.org/projects/win32utils/). I want to be able to kill some of those processes. I…

---

## [Classless methods](https://www.ruby-forum.com/t/classless-methods/73867)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 14\
**Last updated:** [October 28, 2006, 12:50am UTC](https://www.ruby-forum.com/t/classless-methods/73867 "2006-10-28T00:50:44Z")

</div>

what class does a classless independent method belong too? another words if i just make an new irb session and type: def widget(tidbit) tidbit end a=1.0 puts widget(a) b=‘string’ puts widget(b) what class will t…

---

## [How do I tell when I'm on Cygwin?](https://www.ruby-forum.com/t/how-do-i-tell-when-im-on-cygwin/73456)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 72\
**Last updated:** [October 28, 2006, 12:36am UTC](https://www.ruby-forum.com/t/how-do-i-tell-when-im-on-cygwin/73456 "2006-10-28T00:36:43Z")

</div>

HighLine has some code like this: begin require “Win32API” if # I'm looking for the line that goes right here (see below). raise LoadError, "On Cygwin, not pure Windows." end # assume we're on Windows here... r…

---

## [OT: Ruby Quiz in Haskell](https://www.ruby-forum.com/t/ot-ruby-quiz-in-haskell/73830)

<div class="topic-metadata">

**Author:** [@jimb](https://www.ruby-forum.com/u/jimb)\
**Replies:** 8\
**Last updated:** [October 28, 2006, 12:30am UTC](https://www.ruby-forum.com/t/ot-ruby-quiz-in-haskell/73830 "2006-10-28T00:30:42Z")

</div>

Hello Ruby T.ers, some people are trying out the Ruby Q. puzzles in Haskell and collecting the results here - Haskell Quiz - HaskellWiki . You might be interested to see the differences and similarities between the Ha…

---

## [Watir - determine order of the controls](https://www.ruby-forum.com/t/watir-determine-order-of-the-controls/73748)

<div class="topic-metadata">

**Author:** [@pkspence](https://www.ruby-forum.com/u/pkspence)\
**Replies:** 6\
**Last updated:** [October 27, 2006, 11:46pm UTC](https://www.ruby-forum.com/t/watir-determine-order-of-the-controls/73748 "2006-10-27T23:46:40Z")

</div>

I’ve written a ScreenScraper class that “harvests” all the HTML elements; textfields, checkboxes, radiobuttons, etc., from a web page and populates a SQL Server table. This is a process needed to fully automate the te…

---

## [Re: How can I populate header values in SOAP document?](https://www.ruby-forum.com/t/re-how-can-i-populate-header-values-in-soap-document/73918)

<div class="topic-metadata">

**Author:** [@kuma](https://www.ruby-forum.com/u/kuma)\
**Replies:** 0\
**Last updated:** [October 27, 2006, 11:28pm UTC](https://www.ruby-forum.com/t/re-how-can-i-populate-header-values-in-soap-document/73918 "2006-10-27T23:28:39Z")

</div>

Thanks Jeremy! This worked pretty well. I still have to hardcode the namespace abbreviation for the attributes, e.g.: xml.puts(“ns1:\<#{key}\>#{value}\</ns1:#{key}\>”) #Bad, but OK for now Thanks again, Brian H.

---

## [RubyForge down](https://www.ruby-forum.com/t/rubyforge-down/73912)

<div class="topic-metadata">

**Author:** [@jfperusse](https://www.ruby-forum.com/u/jfperusse)\
**Replies:** 8\
**Last updated:** [October 27, 2006, 11:09pm UTC](https://www.ruby-forum.com/t/rubyforge-down/73912 "2006-10-27T23:09:05Z")

</div>

Hi, I can’t access the RubyForge website… Any idea when the site will be back online? Thanks!

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

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