# Ruby

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

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

---

## [\#system() hangs, child is defunct](https://www.ruby-forum.com/t/system-hangs-child-is-defunct/178147)

<div class="topic-metadata">

**Author:** [@Tor\_Erik\_L](https://www.ruby-forum.com/u/Tor_Erik_L)\
**Replies:** 3\
**Last updated:** [November 2, 2009, 6:54pm UTC](https://www.ruby-forum.com/t/system-hangs-child-is-defunct/178147 "2009-11-02T18:54:21Z")

</div>

Hi all, I am trying to track down the source of an intermittent and tricky problem. The ruby version is 1.8.6 patchlevel 287. The OS is virtualized Gentoo, using the free Express image provided by Engine Y., so the s…

---

## [Ironruby and sharepoint or dynamics](https://www.ruby-forum.com/t/ironruby-and-sharepoint-or-dynamics/178311)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [November 2, 2009, 5:57pm UTC](https://www.ruby-forum.com/t/ironruby-and-sharepoint-or-dynamics/178311 "2009-11-02T17:57:45Z")

</div>

Has anyone done anything with IronRuby and dynamics or sharepoint? Met vriendelijke groeten - Best regards - Salutations Ivan Porto C. Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of Iron…

---

## [Code Review: update\_version](https://www.ruby-forum.com/t/code-review-update-version/178309)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [November 2, 2009, 5:54pm UTC](https://www.ruby-forum.com/t/code-review-update-version/178309 "2009-11-02T17:54:50Z")

</div>

FYI!!! tfpt review “/shelveset:update\_version;REDMOND\\jdeville” Comment : IronRuby.wxs needs to be included in the update version script.

---

## [Uninitialized constant LangHelper::GetText (NameError)](https://www.ruby-forum.com/t/uninitialized-constant-langhelper-gettext-nameerror/178310)

<div class="topic-metadata">

**Author:** [@srikanth\_j](https://www.ruby-forum.com/u/srikanth_j)\
**Replies:** 0\
**Last updated:** [November 2, 2009, 5:48pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-langhelper-gettext-nameerror/178310 "2009-11-02T17:48:53Z")

</div>

Hi, im have install this gem, then why am i getting this error. pls help. $ gem install gettext Successfully installed gettext-2.0.4 1 gem installed Installing ri documentation for gettext-2.0.4… Installing RDoc d…

---

## [Glassfish gem: SEVERE: uninitialized constant Activitytypes](https://www.ruby-forum.com/t/glassfish-gem-severe-uninitialized-constant-activitytypes/178246)

<div class="topic-metadata">

**Author:** [@mistressjanna](https://www.ruby-forum.com/u/mistressjanna)\
**Replies:** 3\
**Last updated:** [November 2, 2009, 5:23pm UTC](https://www.ruby-forum.com/t/glassfish-gem-severe-uninitialized-constant-activitytypes/178246 "2009-11-02T17:23:13Z")

</div>

I must be the only one to have ever gotten this error message. Can someone please tell me what I must do to get my glassfish gem working (again, it was some months ago, but now it doesn’t fire up at all! Thanks, log t…

---

## [Merging JRuby Embed wiki into JRuby](https://www.ruby-forum.com/t/merging-jruby-embed-wiki-into-jruby/178203)

<div class="topic-metadata">

**Author:** [@Yoko\_H](https://www.ruby-forum.com/u/Yoko_H)\
**Replies:** 6\
**Last updated:** [November 2, 2009, 5:21pm UTC](https://www.ruby-forum.com/t/merging-jruby-embed-wiki-into-jruby/178203 "2009-11-02T17:21:28Z")

</div>

Hi, Now, codebase of JRuby Embed has been merged into JRuby, so next one would be wiki pages. Currently, JRuby Embed wiki is not in JRuby’s. People might not find where should they go to start using newly added embed…

---

## [Date.parse('17:26:33 Oct 31, 2009') returns invalid date](https://www.ruby-forum.com/t/date-parse-1733-oct-31-2009-returns-invalid-date/178259)

<div class="topic-metadata">

**Author:** [@hydroflamexz18](https://www.ruby-forum.com/u/hydroflamexz18)\
**Replies:** 12\
**Last updated:** [November 2, 2009, 3:30pm UTC](https://www.ruby-forum.com/t/date-parse-1733-oct-31-2009-returns-invalid-date/178259 "2009-11-02T15:30:50Z")

</div>

Hi, For some reason ruby 1.8.6 return invalid date exception when parsing a date of Oct 31 (yesterday) in the format above. Oct 30 and most other dates parses fine and run fine. Time, year or timezone don’t matter.

---

## [Why require doesnt work](https://www.ruby-forum.com/t/why-require-doesnt-work/178302)

<div class="topic-metadata">

**Author:** [@midose](https://www.ruby-forum.com/u/midose)\
**Replies:** 5\
**Last updated:** [November 2, 2009, 3:26pm UTC](https://www.ruby-forum.com/t/why-require-doesnt-work/178302 "2009-11-02T15:26:09Z")

</div>

I have JRuby 1.8.6 that work on windows xp and my IDE is netbeans 6.7. require’s method doesnt work when I want work with Win32API or Qt. the code is: require “Win32API” message = “This is a sample Windows message bo…

---

## [Ruby 1.8.7 segmentation faults](https://www.ruby-forum.com/t/ruby-1-8-7-segmentation-faults/178298)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 2\
**Last updated:** [November 2, 2009, 2:51pm UTC](https://www.ruby-forum.com/t/ruby-1-8-7-segmentation-faults/178298 "2009-11-02T14:51:02Z")

</div>

Hi everyone! I am getting segmentation faults in several innocuous looking places in ruby programs since running them on Ubuntu 9.10 (Karmic). This simple program: require ‘dbi’ c = DBI.connect(‘dbi:ODBC:axon-insig…

---

## [Ruby Manor 2: Manor Harder - Dec 12th, London](https://www.ruby-forum.com/t/ruby-manor-2-manor-harder-dec-12th-london/197013)

<div class="topic-metadata">

**Author:** [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Replies:** 0\
**Last updated:** [November 2, 2009, 2:10pm UTC](https://www.ruby-forum.com/t/ruby-manor-2-manor-harder-dec-12th-london/197013 "2009-11-02T14:10:39Z")

</div>

Hi all, Just a quick note to let you know that The Guvner has thrown open the doors to the Manor once again, and Ruby Manor will be happening on December 12th in London1. Ruby Manor doesn’t use a typical ‘call for pr…

---

## [HTTPClient problem with SSL and ruby 1.8.7](https://www.ruby-forum.com/t/httpclient-problem-with-ssl-and-ruby-1-8-7/178187)

<div class="topic-metadata">

**Author:** [@vouters](https://www.ruby-forum.com/u/vouters)\
**Replies:** 3\
**Last updated:** [November 2, 2009, 11:51am UTC](https://www.ruby-forum.com/t/httpclient-problem-with-ssl-and-ruby-1-8-7/178187 "2009-11-02T11:51:57Z")

</div>

Hello, I cannot get the ‘https://www.rsa.com’ when accessing with SSL as in the sample on this page (http://dev.ctor.org/doc/httpclient/). The sample is : uri=‘https://www.rsa.com’ client = HTTPClient.new() client.…

---

## [Homework Help - Methods](https://www.ruby-forum.com/t/homework-help-methods/178283)

<div class="topic-metadata">

**Author:** [@rickbocas](https://www.ruby-forum.com/u/rickbocas)\
**Replies:** 5\
**Last updated:** [November 2, 2009, 10:57am UTC](https://www.ruby-forum.com/t/homework-help-methods/178283 "2009-11-02T10:57:11Z")

</div>

The goal of this assignment is to ask the user for the price of each of their items and print out a receipt using your own defined methods. I’ve been doing well in the class(ahead actually) until the last two weeks an…

---

## [Mtime.max](https://www.ruby-forum.com/t/mtime-max/178217)

<div class="topic-metadata">

**Author:** [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Replies:** 9\
**Last updated:** [November 2, 2009, 9:33am UTC](https://www.ruby-forum.com/t/mtime-max/178217 "2009-11-02T09:33:46Z")

</div>

Hi All, My goal is to get the oldest file using mtime.to\_i then delete it. However my puts stats.to\_a.max does not seem to print out the oldest mtime data/file, rather its printing out the 2nd to oldest file; prod\_d…

---

## [Getting version from PE executables](https://www.ruby-forum.com/t/getting-version-from-pe-executables/178289)

<div class="topic-metadata">

**Author:** [@fmk](https://www.ruby-forum.com/u/fmk)\
**Replies:** 0\
**Last updated:** [November 2, 2009, 7:20am UTC](https://www.ruby-forum.com/t/getting-version-from-pe-executables/178289 "2009-11-02T07:20:50Z")

</div>

Hi. I’m trying to get file version from EXE or DLL files, writing a ruby script (to run it in Linux). My code is: fd = File.open(ARGV\[0\], “rb”) size = File.size(fd) signature VS\_VERSION\_INFO sig = \[ ?V, ?S, ?, ?V, …

---

## [RSpec swallowing huge chunks of my backtraces](https://www.ruby-forum.com/t/rspec-swallowing-huge-chunks-of-my-backtraces/177940)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 3\
**Last updated:** [November 2, 2009, 3:47am UTC](https://www.ruby-forum.com/t/rspec-swallowing-huge-chunks-of-my-backtraces/177940 "2009-11-02T03:47:16Z")

</div>

I don’t know exactly when this started happening, but it seems like RSpec recently started swallowing huge chunks of the backtrace. Sometimes I don’t even get one. This is making it extremely annoying to debug as I…

---

## [Jruby --version strange error](https://www.ruby-forum.com/t/jruby-version-strange-error/178231)

<div class="topic-metadata">

**Author:** [@caof2005](https://www.ruby-forum.com/u/caof2005)\
**Replies:** 2\
**Last updated:** [November 2, 2009, 2:41am UTC](https://www.ruby-forum.com/t/jruby-version-strange-error/178231 "2009-11-02T02:41:42Z")

</div>

Hello Folks. With a strange error that appeared in my JRuby (Win XP) installation: After trying to check de JRuby version through: c:\> jruby --version I got the following error: @“jruby.bat” “C:/JRuby/jruby-1.4.0RC1…

---

## [Eclipse debugging - breakpoints invisible](https://www.ruby-forum.com/t/eclipse-debugging-breakpoints-invisible/178174)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 2\
**Last updated:** [November 2, 2009, 1:50am UTC](https://www.ruby-forum.com/t/eclipse-debugging-breakpoints-invisible/178174 "2009-11-02T01:50:23Z")

</div>

Can set and reset breakpoints but there is nothing getting displayed to show breakpoint has been set. Not a big deal but annoying. Can debug with visible breakpoints with my Java apps in the Eclipse IDE. David

---

## [Interesting Java integration phenomenon](https://www.ruby-forum.com/t/interesting-java-integration-phenomenon/178256)

<div class="topic-metadata">

**Author:** [@trejkaz](https://www.ruby-forum.com/u/trejkaz)\
**Replies:** 2\
**Last updated:** [November 2, 2009, 12:06am UTC](https://www.ruby-forum.com/t/interesting-java-integration-phenomenon/178256 "2009-11-02T00:06:25Z")

</div>

While I was constructing a test case to try and reproduce another problem (which turned out to be fixed) I encountered something rather interesting. shard:jruby trejkaz$ cat A.java public class A { public String g…

---

## [File open failure test](https://www.ruby-forum.com/t/file-open-failure-test/177869)

<div class="topic-metadata">

**Author:** [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Replies:** 12\
**Last updated:** [November 1, 2009, 8:06pm UTC](https://www.ruby-forum.com/t/file-open-failure-test/177869 "2009-11-01T20:06:48Z")

</div>

Hi All, I want to test if a file open failed, yet I cannot get this to work. attempt 1: File.open( “#{RUNLOG}”, “a” ) do |file| or raise StandardError … attempt 2 File.open( “#{RUNLOG}”, “a” ) do |file| code here… …

---

## [\[RedBrdige\] What would you like, singleton, thread local or single thread?](https://www.ruby-forum.com/t/redbrdige-what-would-you-like-singleton-thread-local-or-single-thread/177319)

<div class="topic-metadata">

**Author:** [@Yoko\_H](https://www.ruby-forum.com/u/Yoko_H)\
**Replies:** 22\
**Last updated:** [November 1, 2009, 8:05pm UTC](https://www.ruby-forum.com/t/redbrdige-what-would-you-like-singleton-thread-local-or-single-thread/177319 "2009-11-01T20:05:02Z")

</div>

As in the release announcement of JRuby 1.4.0RC1, embedding API (aka Red Bridge) is included in JRuby. Red Bridge has some configurations though each of them has a default value. Recently, a discussion about the defau…

---

## [In-place parameter modification](https://www.ruby-forum.com/t/in-place-parameter-modification/178216)

<div class="topic-metadata">

**Author:** [@daveamos](https://www.ruby-forum.com/u/daveamos)\
**Replies:** 16\
**Last updated:** [November 1, 2009, 7:53pm UTC](https://www.ruby-forum.com/t/in-place-parameter-modification/178216 "2009-11-01T19:53:54Z")

</div>

Native to ruby are several methods that change passed-in parameters in-place, such as chomp!(somestring). But I don’t see any info on creating these things myself. Is it possible to write methods that change parameter…

---

## [Yajl for JRuby?](https://www.ruby-forum.com/t/yajl-for-jruby/178202)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 3\
**Last updated:** [November 1, 2009, 7:52pm UTC](https://www.ruby-forum.com/t/yajl-for-jruby/178202 "2009-11-01T19:52:44Z")

</div>

Anyone know if there’s a yajl equivalent for JRuby ( http://lloyd.github.com/yajl/) – there’s one for Ruby ( GitHub - brianmario/yajl-ruby: A streaming JSON parsing and encoding library for Ruby (C bindings to yajl)). …

---

## [Desktop GUI apps in Ruby](https://www.ruby-forum.com/t/desktop-gui-apps-in-ruby/178022)

<div class="topic-metadata">

**Author:** [@marnen](https://www.ruby-forum.com/u/marnen)\
**Replies:** 34\
**Last updated:** [November 1, 2009, 7:47pm UTC](https://www.ruby-forum.com/t/desktop-gui-apps-in-ruby/178022 "2009-11-01T19:47:59Z")

</div>

Hi folks! I’m an experienced Rails developer, but for once this is not a Rails question. Rather, I have a desktop app I’d like to create – we’re talking something like a spreadsheet-type app, though not quite. Since …

---

## [Overloading to\_s method](https://www.ruby-forum.com/t/overloading-to-s-method/178263)

<div class="topic-metadata">

**Author:** [@referas](https://www.ruby-forum.com/u/referas)\
**Replies:** 1\
**Last updated:** [November 1, 2009, 4:23pm UTC](https://www.ruby-forum.com/t/overloading-to-s-method/178263 "2009-11-01T16:23:12Z")

</div>

Hello, Programming is not new to me, but Ruby is. I am having problems with overloaded ‘to\_s’ method. Lets say we have a simple class with this method. When I use it, it prints what I have written, but it adds ‘nil’ …

---

## [Missed out on RubyConf registration? Don't fret!](https://www.ruby-forum.com/t/missed-out-on-rubyconf-registration-dont-fret/178258)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 0\
**Last updated:** [November 1, 2009, 7:44am UTC](https://www.ruby-forum.com/t/missed-out-on-rubyconf-registration-dont-fret/178258 "2009-11-01T07:44:26Z")

</div>

To help provide a bit of Ruby goodness for folks that couldn’t get into RubyConf, I’ve worked with the Qcon folks to arrange a Ruby track that Wednesday PLUS a reduced-price one-day pass: http://blog.headius.com/2009/…

---

## [Compile architecture-specific, portable ruby](https://www.ruby-forum.com/t/compile-architecture-specific-portable-ruby/178238)

<div class="topic-metadata">

**Author:** [@Sean\_OSDonnell](https://www.ruby-forum.com/u/Sean_OSDonnell)\
**Replies:** 4\
**Last updated:** [November 1, 2009, 1:56am UTC](https://www.ruby-forum.com/t/compile-architecture-specific-portable-ruby/178238 "2009-11-01T01:56:07Z")

</div>

Hello, I am trying to put together a compiled, standalone version of ruby that I can drop into a user directory from a portable drive. Think: classroom setting with twenty, un-networked OSX 10.4/PPC machines. I want …

---

## [IRC Teams (#221)](https://www.ruby-forum.com/t/irc-teams-221/177415)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 2\
**Last updated:** [November 1, 2009, 12:42am UTC](https://www.ruby-forum.com/t/irc-teams-221/177415 "2009-11-01T00:42:20Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this m…

---

## [URL Shenanigans (#220)](https://www.ruby-forum.com/t/url-shenanigans-220/175445)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 1\
**Last updated:** [November 1, 2009, 12:00am UTC](https://www.ruby-forum.com/t/url-shenanigans-220/175445 "2009-11-01T00:00:48Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this m…

---

## [\[ANN\] duby 0.0.1 Released](https://www.ruby-forum.com/t/ann-duby-0-0-1-released/178007)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 17\
**Last updated:** [October 31, 2009, 11:06pm UTC](https://www.ruby-forum.com/t/ann-duby-0-0-1-released/178007 "2009-10-31T23:06:53Z")

</div>

duby version 0.0.1 has been released! http://kenai.com/projects/duby Duby is a customizable programming language featuring static types, local type inference and a heavily Ruby-inspired syntax. Duby currently includ…

---

## [Interesting GC.start](https://www.ruby-forum.com/t/interesting-gc-start/178177)

<div class="topic-metadata">

**Author:** [@haoqi](https://www.ruby-forum.com/u/haoqi)\
**Replies:** 3\
**Last updated:** [October 31, 2009, 11:04pm UTC](https://www.ruby-forum.com/t/interesting-gc-start/178177 "2009-10-31T23:04:12Z")

</div>

irb: name='1’10241024\*100;nil # 100m name=rand GC.start $ ps -ef|grep irb ax 14081 13958 0 14:57 pts/2 00:00:00 irb $ top 14081 14081 ax 20 0 114m 112m 1960 S 0 11.3 0:00.66 irb 14081 ax …

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

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