# Ruby

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

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

---

## [Read ruby's flag](https://www.ruby-forum.com/t/read-rubys-flag/50994)

<div class="topic-metadata">

**Author:** [@Mohammad\_K](https://www.ruby-forum.com/u/Mohammad_K)\
**Replies:** 1\
**Last updated:** [December 23, 2005, 6:53pm UTC](https://www.ruby-forum.com/t/read-rubys-flag/50994 "2005-12-23T18:53:35Z")

</div>

To read ruby’s --verbose flag, I can read $VERBOSE from code, What is the variable name to read ‘-W level’ (warning level)? Thanks, Mohammad K.

---

## [Rubyforge project pickup?](https://www.ruby-forum.com/t/rubyforge-project-pickup/50991)

<div class="topic-metadata">

**Author:** [@gregarican](https://www.ruby-forum.com/u/gregarican)\
**Replies:** 3\
**Last updated:** [December 23, 2005, 6:41pm UTC](https://www.ruby-forum.com/t/rubyforge-project-pickup/50991 "2005-12-23T18:41:28Z")

</div>

Lately I’ve been busy trying to immerse myself in a Smalltalk development project and have fallen behind completing a Rubyforge project I started a couple of months ago. This project is for a Ruby telephony library an…

---

## [Ruby version of UMENU](https://www.ruby-forum.com/t/ruby-version-of-umenu/50913)

<div class="topic-metadata">

**Author:** [@spiz](https://www.ruby-forum.com/u/spiz)\
**Replies:** 12\
**Last updated:** [December 23, 2005, 5:56pm UTC](https://www.ruby-forum.com/t/ruby-version-of-umenu/50913 "2005-12-23T17:56:09Z")

</div>

Hi all, If anyone wants a keystroke-only menu system that works on any kind of \*nix box, UMENU is the answer. Originally written in Perl, I just ported UMENU to Ruby, have been using it for several days, and it appea…

---

## [FuseFS 0.6.0](https://www.ruby-forum.com/t/fusefs-0-6-0/74445)

<div class="topic-metadata">

**Author:** [@gregm](https://www.ruby-forum.com/u/gregm)\
**Replies:** 2\
**Last updated:** [December 23, 2005, 5:01pm UTC](https://www.ruby-forum.com/t/fusefs-0-6-0/74445 "2005-12-23T17:01:57Z")

</div>

Hello, Rubyists! I’ve been gone too long (new job, vacation, etc etc excuse excuse), and have sadly neglected FuseFS. However, here’s a new release to whet your appetites! Things changed: rmdir now works. Foolishly,…

---

## [Xslt processor for ruby](https://www.ruby-forum.com/t/xslt-processor-for-ruby/50941)

<div class="topic-metadata">

**Author:** [@agnessa](https://www.ruby-forum.com/u/agnessa)\
**Replies:** 6\
**Last updated:** [December 23, 2005, 4:58pm UTC](https://www.ruby-forum.com/t/xslt-processor-for-ruby/50941 "2005-12-23T16:58:57Z")

</div>

Hello, could you please recommend a xslt processor for ruby? I tried Michael Neumann’s xslt4r which worked great for simple xsls. Now I’m looking for something more up to date - a problem I ran into was when trying to…

---

## [Unit tests == ugly code?](https://www.ruby-forum.com/t/unit-tests-ugly-code/50864)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 13\
**Last updated:** [December 23, 2005, 4:52pm UTC](https://www.ruby-forum.com/t/unit-tests-ugly-code/50864 "2005-12-23T16:52:54Z")

</div>

I’ve found that when I write the tests first, and then write the code, I’m not very concerned about what the code looks like. When the code passes the test, I drink a beer and party, then move on to the next test. I…

---

## [Displaying object variables, not obj ID](https://www.ruby-forum.com/t/displaying-object-variables-not-obj-id/50986)

<div class="topic-metadata">

**Author:** [@Tobias\_J](https://www.ruby-forum.com/u/Tobias_J)\
**Replies:** 4\
**Last updated:** [December 23, 2005, 4:13pm UTC](https://www.ruby-forum.com/t/displaying-object-variables-not-obj-id/50986 "2005-12-23T16:13:45Z")

</div>

I’m having problems with displaying an object correctly. I keep getting the obj’s ID back, like this: sendto("Chromosomes: " + p.c\_chromosomes.to\_s) # sort of ‘puts’ =\> Chromosomes: #Chromosome:0x10267658 C…

---

## [Small issue with REXML output](https://www.ruby-forum.com/t/small-issue-with-rexml-output/50961)

<div class="topic-metadata">

**Author:** [@chrislo](https://www.ruby-forum.com/u/chrislo)\
**Replies:** 2\
**Last updated:** [December 23, 2005, 3:28pm UTC](https://www.ruby-forum.com/t/small-issue-with-rexml-output/50961 "2005-12-23T15:28:30Z")

</div>

I’ve just started working with REXML recently and have encountered a small problem. After composing an XML document I want to output it to file, currently I’m using xmlDoc.write theFile, problem is, the resultant fil…

---

## [How can I stop WEBrick running as a daemon](https://www.ruby-forum.com/t/how-can-i-stop-webrick-running-as-a-daemon/74449)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 2\
**Last updated:** [December 23, 2005, 9:45am UTC](https://www.ruby-forum.com/t/how-can-i-stop-webrick-running-as-a-daemon/74449 "2005-12-23T09:45:17Z")

</div>

Hello! I’m a newbie linux user and I logged in to my web hosting server and tested rails. I ran ‘ruby script/server -d’ (-d means to run as daemon). Now I don’t know how to stop it. I don’t have the root’s power. T…

---

## [WinXP, no braces in irb](https://www.ruby-forum.com/t/winxp-no-braces-in-irb/50935)

<div class="topic-metadata">

**Author:** [@klausa](https://www.ruby-forum.com/u/klausa)\
**Replies:** 3\
**Last updated:** [December 23, 2005, 8:38am UTC](https://www.ruby-forum.com/t/winxp-no-braces-in-irb/50935 "2005-12-23T08:38:20Z")

</div>

Hi, I just started learning ruby. Installed on WinXP. Opened a command window. Whenever I type a brace it appears on the creen. After typing irb no more braces… Why? What can I do?? TIA for any help.

---

## [Tutorials](https://www.ruby-forum.com/t/tutorials/74448)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [December 23, 2005, 7:05am UTC](https://www.ruby-forum.com/t/tutorials/74448 "2005-12-23T07:05:07Z")

</div>

www.neql.com its a new website with not many members and is looking for more. im looking for people who are good with computers and know how to do special stuff to make tutorials. or if you arent one of them people th…

---

## [How do you know what class defines method foo()?](https://www.ruby-forum.com/t/how-do-you-know-what-class-defines-method-foo/50929)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 5\
**Last updated:** [December 23, 2005, 5:01am UTC](https://www.ruby-forum.com/t/how-do-you-know-what-class-defines-method-foo/50929 "2005-12-23T05:01:41Z")

</div>

Hi, folks! What’s the easiest(simplest) code to find a class/module that first defines a specific method? I became curious while I was looking for a document of Array#partition method. Actually the method is defined…

---

## [\# guide](https://www.ruby-forum.com/t/guide/74446)

<div class="topic-metadata">

**Author:** [@skylimey](https://www.ruby-forum.com/u/skylimey)\
**Replies:** 0\
**Last updated:** [December 23, 2005, 4:40am UTC](https://www.ruby-forum.com/t/guide/74446 "2005-12-23T04:40:37Z")

</div>

removed\_email\_address@domain.invalid wrote:

---

## [Nested class, require](https://www.ruby-forum.com/t/nested-class-require/50902)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 3\
**Last updated:** [December 23, 2005, 3:16am UTC](https://www.ruby-forum.com/t/nested-class-require/50902 "2005-12-23T03:16:29Z")

</div>

How does ruby view nested classes - that is, to define a class within another class? I know that you cannot define a class within a method (not sure why)? Also, is require the same thing as “copy and paste dynamically…

---

## [Move to front of array](https://www.ruby-forum.com/t/move-to-front-of-array/50845)

<div class="topic-metadata">

**Author:** [@Payton\_S](https://www.ruby-forum.com/u/Payton_S)\
**Replies:** 18\
**Last updated:** [December 23, 2005, 3:07am UTC](https://www.ruby-forum.com/t/move-to-front-of-array/50845 "2005-12-23T03:07:27Z")

</div>

Hi, I have an array of Strings, and I’d like to find one of the items by Regexp, then move that item to the front of the array, eg: array = %w(a B c d Cool e f G) array.unshift(array.slice!(array.index(array.find { |…

---

## [Help needed wrapping C library for Ruby extension](https://www.ruby-forum.com/t/help-needed-wrapping-c-library-for-ruby-extension/50879)

<div class="topic-metadata">

**Author:** [@scottrutherford](https://www.ruby-forum.com/u/scottrutherford)\
**Replies:** 4\
**Last updated:** [December 23, 2005, 3:04am UTC](https://www.ruby-forum.com/t/help-needed-wrapping-c-library-for-ruby-extension/50879 "2005-12-23T03:04:26Z")

</div>

Hi- I need a Ruby extension to be built, wrapping an existing C library. I’m pretty out of my depth with C, but I think it should be a fairly modest undertaking – maybe just a weekend project for a talented hacker. I…

---

## [String \> Integer Conversion Problem](https://www.ruby-forum.com/t/string-integer-conversion-problem/101203)

<div class="topic-metadata">

**Author:** [@mfeadler](https://www.ruby-forum.com/u/mfeadler)\
**Replies:** 33\
**Last updated:** [December 23, 2005, 1:58am UTC](https://www.ruby-forum.com/t/string-integer-conversion-problem/101203 "2005-12-23T01:58:18Z")

</div>

Retro thanks to all who helped me with my last post. I’m certainly more comfortable with Ruby now than then, but still a newbie as the following will surely demonstrate. Below, you can see that I’m checking command-l…

---

## [What's the "#" for?](https://www.ruby-forum.com/t/whats-the-for/50944)

<div class="topic-metadata">

**Author:** [@redrhodes](https://www.ruby-forum.com/u/redrhodes)\
**Replies:** 4\
**Last updated:** [December 23, 2005, 1:43am UTC](https://www.ruby-forum.com/t/whats-the-for/50944 "2005-12-23T01:43:13Z")

</div>

I’ve started on my first ruby project and came accross the following code from: http://habtm.com/articles/2005/11/13/your-site-doesnt-look-too-good-in-x-browser Since I’ve managed to understand most of what’s going on…

---

## [Correct terminology for a function that yields](https://www.ruby-forum.com/t/correct-terminology-for-a-function-that-yields/54214)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 3\
**Last updated:** [December 23, 2005, 1:07am UTC](https://www.ruby-forum.com/t/correct-terminology-for-a-function-that-yields/54214 "2005-12-23T01:07:01Z")

</div>

def foo yield end foo do puts “hey” end What’s the correct description of what is going on there? I’ve got a function foo. No arguments, right? Does it “take a block”? I know it gives control to the block, bu…

---

## [Re: Diff of opinion on dynamic stuff](https://www.ruby-forum.com/t/re-diff-of-opinion-on-dynamic-stuff/74401)

<div class="topic-metadata">

**Author:** [@MolitorS\_Stephen\_L](https://www.ruby-forum.com/u/MolitorS_Stephen_L)\
**Replies:** 0\
**Last updated:** [December 23, 2005, 1:00am UTC](https://www.ruby-forum.com/t/re-diff-of-opinion-on-dynamic-stuff/74401 "2005-12-23T01:00:58Z")

</div>

Is Python against dynamic stuff? And Ruby for it? Certainly Python can’t be against all dynamic stuff. Ain’t that dynamic stuff what Eckel and others like about Python compared to Java – ‘latent typing’, etc.? …

---

## [Get updates](https://www.ruby-forum.com/t/get-updates/74400)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [December 23, 2005, 12:54am UTC](https://www.ruby-forum.com/t/get-updates/74400 "2005-12-23T00:54:57Z")

</div>

My problems are fixed with #3331 & 3332. I have no idea how to get these changes. Do I have to wait for a release? What is the time frame? Any help understanding the process would be very helpful. Thanks, Steven A Br…

---

## [RubyScript](https://www.ruby-forum.com/t/rubyscript/95870)

<div class="topic-metadata">

**Author:** [@dpersik](https://www.ruby-forum.com/u/dpersik)\
**Replies:** 15\
**Last updated:** [December 22, 2005, 11:54pm UTC](https://www.ruby-forum.com/t/rubyscript/95870 "2005-12-22T23:54:40Z")

</div>

I have done some searching on the web and have found very little about RubyScript. Any browsers support this? The main thing I don’t like about AJAX is the Javascript, but using RubyScript as a replacement would be …

---

## [Problem with net-ssh](https://www.ruby-forum.com/t/problem-with-net-ssh/74397)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 0\
**Last updated:** [December 22, 2005, 11:36pm UTC](https://www.ruby-forum.com/t/problem-with-net-ssh/74397 "2005-12-22T23:36:37Z")

</div>

I’m getting the following error when I run the switchtower setup command: /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:203:in sysread': bignum too big to convert intolong’ (RangeErr…

---

## [Lighttpd/rails deployment error](https://www.ruby-forum.com/t/lighttpd-rails-deployment-error/50930)

<div class="topic-metadata">

**Author:** [@phil\_swenson](https://www.ruby-forum.com/u/phil_swenson)\
**Replies:** 1\
**Last updated:** [December 22, 2005, 11:24pm UTC](https://www.ruby-forum.com/t/lighttpd-rails-deployment-error/50930 "2005-12-22T23:24:34Z")

</div>

I have been trying to get Lighttpd working… we have been using webrick, but want to move to a production quality web server. I followed the instructions found here : http://brainspl.at/pages/rails\_stack We are devel…

---

## [MySQL driver test failures](https://www.ruby-forum.com/t/mysql-driver-test-failures/54212)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 0\
**Last updated:** [December 22, 2005, 9:48pm UTC](https://www.ruby-forum.com/t/mysql-driver-test-failures/54212 "2005-12-22T21:48:11Z")

</div>

I am installing the MySQL driver 2.7 and get the four failures attached belowe on ruby test.rb. Are they known? Would you install the driver anyway? Ruby is 1.8.3, and MySQL is 5.0.17, prepackaged for Mac OS X. – fxn …

---

## [Guido van Rossum to work for Google](https://www.ruby-forum.com/t/guido-van-rossum-to-work-for-google/50844)

<div class="topic-metadata">

**Author:** [@Lyle\_J](https://www.ruby-forum.com/u/Lyle_J)\
**Replies:** 5\
**Last updated:** [December 22, 2005, 8:05pm UTC](https://www.ruby-forum.com/t/guido-van-rossum-to-work-for-google/50844 "2005-12-22T20:05:32Z")

</div>

Arguably off-topic for this list, but it will be of interest to some of you. :wink: http://groups.google.com/group/comp.lang.python/browse\_frm/thread/32dc95bd671542f3/

---

## [Gonzui-emacs-0.1](https://www.ruby-forum.com/t/gonzui-emacs-0-1/74361)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [December 22, 2005, 7:35pm UTC](https://www.ruby-forum.com/t/gonzui-emacs-0-1/74361 "2005-12-22T19:35:12Z")

</div>

Hi, == Abstract gonzui-emacs is an Emacs interface of ((\<gonzui|URL:http://gonzui.sourceforge.net/\>)), a source code search engine. It is written in EmacsRuby. It uses ((\<langhelp|URL:http://www.rubyist.net/~rubik…

---

## [Langhelp-0.9.4](https://www.ruby-forum.com/t/langhelp-0-9-4/74358)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [December 22, 2005, 6:35pm UTC](https://www.ruby-forum.com/t/langhelp-0-9-4/74358 "2005-12-22T18:35:22Z")

</div>

Hi, == Abstract Langhelp creates an index of documents of various programming languages and shell commands. Languages enables you to search documents instantly in Emacs. If you are a programmer, then you may sometim…

---

## [Problem with: Exception: cannot convert Class into String](https://www.ruby-forum.com/t/problem-with-exception-cannot-convert-class-into-string/54211)

<div class="topic-metadata">

**Author:** [@basi](https://www.ruby-forum.com/u/basi)\
**Replies:** 6\
**Last updated:** [December 22, 2005, 5:49pm UTC](https://www.ruby-forum.com/t/problem-with-exception-cannot-convert-class-into-string/54211 "2005-12-22T17:49:28Z")

</div>

Hello: puts aString \<\<\< no error printing aString here process(aString) … … def process(aString) puts aString \<\<\< error printing aString here end The error is: Exception: cannot…

---

## [Gem question](https://www.ruby-forum.com/t/gem-question/74352)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 2\
**Last updated:** [December 22, 2005, 4:18pm UTC](https://www.ruby-forum.com/t/gem-question/74352 "2005-12-22T16:18:20Z")

</div>

I installed Ruby and I did a “gem update” to see what is newer to install. I get about 20 different versions of fxruby. One type says “mswin32” and the other says “ruby”. Which do I choose? Robert

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

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