# Ruby

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

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

---

## [JRuby bug mash...with PRIZES!](https://www.ruby-forum.com/t/jruby-bug-mash-with-prizes/181133)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 0\
**Last updated:** [January 6, 2010, 1:16am UTC](https://www.ruby-forum.com/t/jruby-bug-mash-with-prizes/181133 "2010-01-06T01:16:06Z")

</div>

Hey all! We’re running a JRuby “Bug Mash” this weekend to help attack the bug repository and get folks more involved in the project. We’ll be giving out JRubyConf posters this round, and we hope to do these events per…

---

## [One gem to rule them all?](https://www.ruby-forum.com/t/one-gem-to-rule-them-all/181129)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 4\
**Last updated:** [January 6, 2010, 12:56am UTC](https://www.ruby-forum.com/t/one-gem-to-rule-them-all/181129 "2010-01-06T00:56:12Z")

</div>

Hi guys, On my MacBook I’m noticing I’m having to install a gem three times (MRI, IronRuby, JRuby) - which is getting really annoying :slight\_smile: Am I doing something wrong??? Is there a way around this?? Thanks B…

---

## [How Do I Debug This?](https://www.ruby-forum.com/t/how-do-i-debug-this/181125)

<div class="topic-metadata">

**Author:** [@James\_Edward\_GSII](https://www.ruby-forum.com/u/James_Edward_GSII)\
**Replies:** 4\
**Last updated:** [January 6, 2010, 12:29am UTC](https://www.ruby-forum.com/t/how-do-i-debug-this/181125 "2010-01-06T00:29:55Z")

</div>

I’m getting an error in a test suite for an FFI project: …ruby(1756) malloc: \*\*\* error for object 0x101c39310: pointer being freed was not allocated \*\*\* set a breakpoint in malloc\_error\_break to debug I assume I’m f…

---

## [Ruby library that creates classes from an XML Schema](https://www.ruby-forum.com/t/ruby-library-that-creates-classes-from-an-xml-schema/181120)

<div class="topic-metadata">

**Author:** [@niber](https://www.ruby-forum.com/u/niber)\
**Replies:** 0\
**Last updated:** [January 5, 2010, 9:18pm UTC](https://www.ruby-forum.com/t/ruby-library-that-creates-classes-from-an-xml-schema/181120 "2010-01-05T21:18:23Z")

</div>

Hi, I’ve been googling and couldn’t find any Ruby library that would let me create Ruby classes on the fly based on an XML Schema. I found RXSD http://projects.morsi.org/wiki/RXSD but that is a very young project not …

---

## [Stenography](https://www.ruby-forum.com/t/stenography/181099)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 8\
**Last updated:** [January 5, 2010, 8:47pm UTC](https://www.ruby-forum.com/t/stenography/181099 "2010-01-05T20:47:26Z")

</div>

Hello. Is the following problem: write stenography information literally in the BMP file. How can this be achieved in Ruby?

---

## [Online Math Coding Contest](https://www.ruby-forum.com/t/online-math-coding-contest/181117)

<div class="topic-metadata">

**Author:** [@kannan](https://www.ruby-forum.com/u/kannan)\
**Replies:** 0\
**Last updated:** [January 5, 2010, 8:47pm UTC](https://www.ruby-forum.com/t/online-math-coding-contest/181117 "2010-01-05T20:47:26Z")

</div>

Hi , we gladly invite you to take part in Athena - the Online Math Coding Contest of Kurukshetra 2010 , the International Techo- Management Fest organised by College Of Engineering Guindy , India organised under the …

---

## [Pair of O'Reilly Authors looking for challenging work opportunities](https://www.ruby-forum.com/t/pair-of-oreilly-authors-looking-for-challenging-work-opportunities/181114)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [January 5, 2010, 6:53pm UTC](https://www.ruby-forum.com/t/pair-of-oreilly-authors-looking-for-challenging-work-opportunities/181114 "2010-01-05T18:53:53Z")

</div>

\[the following message is from Gregory B. (of “Ruby Best Practices”) and Brad E. (of “Advanced Rails”)\] Hi folks, Although we don’t usually like to self-promote our commercial work, we’d like to meet some new folks …

---

## [Problem with FolderBrowserDialog](https://www.ruby-forum.com/t/problem-with-folderbrowserdialog/181106)

<div class="topic-metadata">

**Author:** [@rambor](https://www.ruby-forum.com/u/rambor)\
**Replies:** 2\
**Last updated:** [January 5, 2010, 5:54pm UTC](https://www.ruby-forum.com/t/problem-with-folderbrowserdialog/181106 "2010-01-05T17:54:46Z")

</div>

Hello, I have an interesting problem that I canÂ¹t work out. I have a GUI app that uses FolderBrowserDialog. It works fine when I run it from the command line with ir. When I embed IronRuby in an app, the browse win…

---

## [Status update](https://www.ruby-forum.com/t/status-update/180994)

<div class="topic-metadata">

**Author:** [@Phillip\_G](https://www.ruby-forum.com/u/Phillip_G)\
**Replies:** 7\
**Last updated:** [January 5, 2010, 5:49pm UTC](https://www.ruby-forum.com/t/status-update/180994 "2010-01-05T17:49:24Z")

</div>

A (very slightly edited) post can be found on my blog, too. \[0\] ==============cut at line==================================== A few days before New Years, I posted how neat it’d be if we had a Ruby Appliance. This, an…

---

## [Ruby debugger](https://www.ruby-forum.com/t/ruby-debugger/181073)

<div class="topic-metadata">

**Author:** [@Haris\_BogdanoviS\_S](https://www.ruby-forum.com/u/Haris_BogdanoviS_S)\
**Replies:** 1\
**Last updated:** [January 5, 2010, 5:36pm UTC](https://www.ruby-forum.com/t/ruby-debugger/181073 "2010-01-05T17:36:51Z")

</div>

Hi. I’m trying out ruby debugging. If in irb I write: require ‘debug’ I get the rdb prompt. How do I start debugging some ruby file ? If I write require ‘ruby-debug’ I get ‘true’ but how to start the debugger ? T…

---

## [Volunteering for Scheme language standardization working groups \*\*\*deadline January 8\*\*\*](https://www.ruby-forum.com/t/volunteering-for-scheme-language-standardization-working-groups-deadline-january-8/181105)

<div class="topic-metadata">

**Author:** [@mrcfab3](https://www.ruby-forum.com/u/mrcfab3)\
**Replies:** 2\
**Last updated:** [January 5, 2010, 5:36pm UTC](https://www.ruby-forum.com/t/volunteering-for-scheme-language-standardization-working-groups-deadline-january-8/181105 "2010-01-05T17:36:10Z")

</div>

\*\*\* PLEASE NOTE THAT THE DEADLINE IS JANUARY 8 \*\*\* The Scheme Language Steering Committee solicits volunteers who are willing to serve on working groups 1 and/or 2. Volunteers should: be prepared to serve for the du…

---

## [How can I create a VB Date object from ruby using win32ole?](https://www.ruby-forum.com/t/how-can-i-create-a-vb-date-object-from-ruby-using-win32ole/181103)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 1\
**Last updated:** [January 5, 2010, 5:36pm UTC](https://www.ruby-forum.com/t/how-can-i-create-a-vb-date-object-from-ruby-using-win32ole/181103 "2010-01-05T17:36:02Z")

</div>

I need to pass a VB Date object to a COM object using win32ole. I have tried passing in a string (e.g. “2009/12/10 08:00:00”) and also parsing a date string into a Ruby DateTime object, but the COM object rejects it s…

---

## [Interfacing with Ruby garbage collector - when returning value from C extension to Ruby](https://www.ruby-forum.com/t/interfacing-with-ruby-garbage-collector-when-returning-value-from-c-extension-to-ruby/181065)

<div class="topic-metadata">

**Author:** [@Benjie\_C](https://www.ruby-forum.com/u/Benjie_C)\
**Replies:** 6\
**Last updated:** [January 5, 2010, 3:54pm UTC](https://www.ruby-forum.com/t/interfacing-with-ruby-garbage-collector-when-returning-value-from-c-extension-to-ruby/181065 "2010-01-05T15:54:46Z")

</div>

Hi I am working my way through Ferret (Ruby port of Lucene) code to solve a bug. Ferret code is mainly a C extension to Ruby. I am running into some issues with the garbage collector. I managed to fix it, but I don’t…

---

## [Why does "warn" print a extra \\n?](https://www.ruby-forum.com/t/why-does-warn-print-a-extra-n/181064)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [January 5, 2010, 2:30pm UTC](https://www.ruby-forum.com/t/why-does-warn-print-a-extra-n/181064 "2010-01-05T14:30:29Z")

</div>

Hi, by redirecting $stderr to a logger (Logger or SyslogLogger instance) I’ve realized that Kernel#warn prints an extra \\n so the logger is called twice (the second one with an empty line). The “warn” code shows it …

---

## ["Dummy" IO object to push and pull data?](https://www.ruby-forum.com/t/dummy-io-object-to-push-and-pull-data/180956)

<div class="topic-metadata">

**Author:** [@shayhok](https://www.ruby-forum.com/u/shayhok)\
**Replies:** 34\
**Last updated:** [January 5, 2010, 2:01pm UTC](https://www.ruby-forum.com/t/dummy-io-object-to-push-and-pull-data/180956 "2010-01-05T14:01:01Z")

</div>

Hello, I’m relatively new to advanced Ruby programming, and I seem to be in need of a “dummy” IO object that does nothing except allowing reading and writing to it. (I suppose it could do more, but I’d like to keep it …

---

## [\[ANN\] SgfParser 0.8.0 - Open, browse and save!](https://www.ruby-forum.com/t/ann-sgfparser-0-8-0-open-browse-and-save/181083)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 0\
**Last updated:** [January 5, 2010, 7:18am UTC](https://www.ruby-forum.com/t/ann-sgfparser-0-8-0-open-browse-and-save/181083 "2010-01-05T07:18:56Z")

</div>

SgfParser has been released! What is it? SGF stands for Simple Game Format. It is a plain text file format to store records of two-player board games like chess, backgammon, etc - the most famous of which is known as…

---

## [Please find this problem](https://www.ruby-forum.com/t/please-find-this-problem/180998)

<div class="topic-metadata">

**Author:** [@ash](https://www.ruby-forum.com/u/ash)\
**Replies:** 3\
**Last updated:** [January 5, 2010, 6:14am UTC](https://www.ruby-forum.com/t/please-find-this-problem/180998 "2010-01-05T06:14:12Z")

</div>

/usr/lib/ruby/1.8/mongrel/tcphack.rb:12:in \`initialize\_without\_backlog’: Address already in use - bind(2) (Errno::EADDRINUSE)

---

## [Fwd: \[ruby-cvs:33451\] Ruby:r26235 (trunk): \* trace.h: new file. wraps tracing mechanisms](https://www.ruby-forum.com/t/fwd-ruby-cvs-33451-ruby-r26235-trunk-trace-h-new-file-wraps-tracing-mechanisms/181026)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 15\
**Last updated:** [January 5, 2010, 3:44am UTC](https://www.ruby-forum.com/t/fwd-ruby-cvs-33451-ruby-r26235-trunk-trace-h-new-file-wraps-tracing-mechanisms/181026 "2010-01-05T03:44:14Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!\<ALd$J$N$G$9$,!$$3$N%3%\_%C%H$N%?!\<%2%C%H!JL\\E\*!$4D6-!K$O2?$G$7$g$&$+!%e(B e$B!!e(Byugui e$B$5$s$+$ie(B dtrace e$BBP1~$r$9$k!$$H$$$&OC$Oe(B IRC e$B$J$I$G;G$C$F$\*e(B e$B$j!$e(BChangeLog e$B$K$…

---

## [Change to how igem, irdoc, and iri work (stuff in Merlin/Main/Languages/Ruby/Scripts/bin)](https://www.ruby-forum.com/t/change-to-how-igem-irdoc-and-iri-work-stuff-in-merlin-main-languages-ruby-scripts-bin/171371)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 2\
**Last updated:** [January 5, 2010, 2:00am UTC](https://www.ruby-forum.com/t/change-to-how-igem-irdoc-and-iri-work-stuff-in-merlin-main-languages-ruby-scripts-bin/171371 "2010-01-05T02:00:00Z")

</div>

Currently the IronRuby git repo has copied versions of irb.bat, rdoc.bat, etc checked in as iirb, irdoc, etc to give shortcuts to running these popular Ruby utility scripts from IronRuby just as you do from Ruby. htt…

---

## [Bitwise shift help](https://www.ruby-forum.com/t/bitwise-shift-help/181024)

<div class="topic-metadata">

**Author:** [@kvetch](https://www.ruby-forum.com/u/kvetch)\
**Replies:** 5\
**Last updated:** [January 5, 2010, 12:05am UTC](https://www.ruby-forum.com/t/bitwise-shift-help/181024 "2010-01-05T00:05:24Z")

</div>

Hello, I am new to Ruby and was wondering if there is an easier/faster way to determine if a bit is set in a number. For example, If my number is 1011000010 and I want to check to see if 3rd bit is set so 1011000010 …

---

## [Undefined method \`conf' for IRB:Module](https://www.ruby-forum.com/t/undefined-method-conf-for-irb-module/181027)

<div class="topic-metadata">

**Author:** [@potuz](https://www.ruby-forum.com/u/potuz)\
**Replies:** 5\
**Last updated:** [January 4, 2010, 7:30pm UTC](https://www.ruby-forum.com/t/undefined-method-conf-for-irb-module/181027 "2010-01-04T19:30:12Z")

</div>

Hello, I’m trying to run dradis and I found a problem that might be on my ruby installation. I posted in the Dradis forums but noone answered, so I’ll try here. I’m running the latest SVN versions of ruby, wxruby and …

---

## [ANN: Sequel 3.8.0 Released](https://www.ruby-forum.com/t/ann-sequel-3-8-0-released/181058)

<div class="topic-metadata">

**Author:** [@nerdmaster](https://www.ruby-forum.com/u/nerdmaster)\
**Replies:** 0\
**Last updated:** [January 4, 2010, 7:15pm UTC](https://www.ruby-forum.com/t/ann-sequel-3-8-0-released/181058 "2010-01-04T19:15:48Z")

</div>

Sequel is a lightweight database access toolkit for Ruby. Sequel provides thread safety, connection pooling and a concise DSL for constructing database queries and table schemas. Sequel also includes a lightweight but…

---

## [FYI Code Review: datefix](https://www.ruby-forum.com/t/fyi-code-review-datefix/181057)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [January 4, 2010, 7:05pm UTC](https://www.ruby-forum.com/t/fyi-code-review-datefix/181057 "2010-01-04T19:05:02Z")

</div>

tfpt review “/shelveset:datefix;REDMOND\\jdeville” Comment : fixes some specs that were relying on intricacies of commercial weeks in 2009 !!!Note, this fixes the snap failures.!!! JD

---

## [Regex =~ string or string =~ regex?](https://www.ruby-forum.com/t/regex-string-or-string-regex/181039)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 3\
**Last updated:** [January 4, 2010, 6:43pm UTC](https://www.ruby-forum.com/t/regex-string-or-string-regex/181039 "2010-01-04T18:43:30Z")

</div>

Sometime I saw you wrote regex =~ string, while sometime you wrote string =~ regex. What’s their difference and what’s the recommended way? Thanks. Jenn.

---

## [Problem opening the time class](https://www.ruby-forum.com/t/problem-opening-the-time-class/180932)

<div class="topic-metadata">

**Author:** [@cristie](https://www.ruby-forum.com/u/cristie)\
**Replies:** 3\
**Last updated:** [January 4, 2010, 5:30pm UTC](https://www.ruby-forum.com/t/problem-opening-the-time-class/180932 "2010-01-04T17:30:19Z")

</div>

All, I am trying to open the Time class to add the following method. I am always getting this error: NameError: uninitialized constant Time::ZoneOffset when referencing ZoneOffset. What am I doing wrong? class Time …

---

## [How to know the childs PID of a given process?](https://www.ruby-forum.com/t/how-to-know-the-childs-pid-of-a-given-process/181045)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 5\
**Last updated:** [January 4, 2010, 4:49pm UTC](https://www.ruby-forum.com/t/how-to-know-the-childs-pid-of-a-given-process/181045 "2010-01-04T16:49:50Z")

</div>

Hi, I know that a Ruby process with PID 1000 (under Linux) has forked 4 times. How could I know the PID of those childs from any other ruby interpreter? This is, I just know the PID of the parent (1000). Of course I…

---

## [RSS and images](https://www.ruby-forum.com/t/rss-and-images/181020)

<div class="topic-metadata">

**Author:** [@gibbons](https://www.ruby-forum.com/u/gibbons)\
**Replies:** 3\
**Last updated:** [January 4, 2010, 2:34pm UTC](https://www.ruby-forum.com/t/rss-and-images/181020 "2010-01-04T14:34:37Z")

</div>

Hi all, Using the default Ruby RSS parser, which format is best suited to pulling in images from feed elements, RSS2 or Atom? And then, how do I use the RSS classes to pull those images, per feed element? I am not f…

---

## [Parsing of Html/Text files](https://www.ruby-forum.com/t/parsing-of-html-text-files/181044)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 3\
**Last updated:** [January 4, 2010, 12:51pm UTC](https://www.ruby-forum.com/t/parsing-of-html-text-files/181044 "2010-01-04T12:51:01Z")

</div>

Hi Guyz, back with a new problem :slight\_smile: Actually the situation is that i have a txt file or can be html file. In that file the contents are written as:- Model Name:- ABC Item Name :- ABC There are hundreds o…

---

## [Use ruby for what?](https://www.ruby-forum.com/t/use-ruby-for-what/180992)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 10\
**Last updated:** [January 4, 2010, 11:41am UTC](https://www.ruby-forum.com/t/use-ruby-for-what/180992 "2010-01-04T11:41:33Z")

</div>

May I ask, what jobs are you using ruby for? For me I’m always doing the web development, so primarily use ruby for the web projects. Besides webdev, what’s the other usage of ruby language? Thanks for sharing. Jenn…

---

## [Is it possible to redirect $stderr to a Logger isntance?](https://www.ruby-forum.com/t/is-it-possible-to-redirect-stderr-to-a-logger-isntance/180982)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 2\
**Last updated:** [January 4, 2010, 10:53am UTC](https://www.ruby-forum.com/t/is-it-possible-to-redirect-stderr-to-a-logger-isntance/180982 "2010-01-04T10:53:22Z")

</div>

Hi, is it possible to redirect $stderr to any available logger instance (as Logger, SyslogLogger, Logging)? I think it cannot be done, since current Loggers can log to $stderr so we would get some kind of “loop” XD …

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

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