# Ruby

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

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

---

## [RackInitializationException when deploying to Tomcat](https://www.ruby-forum.com/t/rackinitializationexception-when-deploying-to-tomcat/189902)

<div class="topic-metadata">

**Author:** [@f2andy](https://www.ruby-forum.com/u/f2andy)\
**Replies:** 3\
**Last updated:** [June 10, 2010, 2:09pm UTC](https://www.ruby-forum.com/t/rackinitializationexception-when-deploying-to-tomcat/189902 "2010-06-10T14:09:25Z")

</div>

I have just tried to update a live project, and I get this error in the log: SEVERE: Exception caught org.jruby.rack.RackInitializationException: undefined method \`add\_builtin\_type’ for YAML:Module Going back to the…

---

## [How to implement fork cocept in ruby](https://www.ruby-forum.com/t/how-to-implement-fork-cocept-in-ruby/189944)

<div class="topic-metadata">

**Author:** [@lucky1234](https://www.ruby-forum.com/u/lucky1234)\
**Replies:** 2\
**Last updated:** [June 10, 2010, 12:00pm UTC](https://www.ruby-forum.com/t/how-to-implement-fork-cocept-in-ruby/189944 "2010-06-10T12:00:21Z")

</div>

Hi, I need to implement fork concept in my application. I want to do the task1 and task2 at a time. need to start task1 and and task2 at a time but task1 will complete within seconds .but task2 will will take t…

---

## [\[Bug #2435\] webrick/config.rb$B$K(Btypo](https://www.ruby-forum.com/t/bug-2435-webrick-config-rb-b-k-btypo/179807)

<div class="topic-metadata">

**Author:** [@Sho\_H](https://www.ruby-forum.com/u/Sho_H)\
**Replies:** 1\
**Last updated:** [June 10, 2010, 9:45am UTC](https://www.ruby-forum.com/t/bug-2435-webrick-config-rb-b-k-btypo/179807 "2010-06-10T09:45:43Z")

</div>

Bug #2435: webrick/config.rbe$B$Ke(Btypo http://redmine.ruby-lang.org/issues/show/2435 e$B5/I\<\<Te(B: Sho H. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Low ruby -v: ruby 1.9.2dev (2009-12-04 trunk 25993) \[i686-linux\] e$BF…

---

## [\[Bug #2605\] test/iconv/test\_option.rb fails](https://www.ruby-forum.com/t/bug-2605-test-iconv-test-option-rb-fails/181587)

<div class="topic-metadata">

**Author:** [@Takahiro\_K](https://www.ruby-forum.com/u/Takahiro_K)\
**Replies:** 2\
**Last updated:** [June 10, 2010, 9:45am UTC](https://www.ruby-forum.com/t/bug-2605-test-iconv-test-option-rb-fails/181587 "2010-06-10T09:45:43Z")

</div>

Bug #2605: test/iconv/test\_option.rb fails http://redmine.ruby-lang.org/issues/show/2605 e$B5/I\<\<Te(B: Takahiro K. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Low e$B%+%F%4%je(B: ext ruby -v: ruby 1.8.7 (2010-01-10 patchl…

---

## [\[Backport #3280\] BigMath::log is very slow](https://www.ruby-forum.com/t/backport-3280-bigmath-log-is-very-slow/188461)

<div class="topic-metadata">

**Author:** [@Kenta\_M](https://www.ruby-forum.com/u/Kenta_M)\
**Replies:** 3\
**Last updated:** [June 10, 2010, 8:34am UTC](https://www.ruby-forum.com/t/backport-3280-bigmath-log-is-very-slow/188461 "2010-06-10T08:34:17Z")

</div>

Backport #3280: BigMath::log is very slow http://redmine.ruby-lang.org/issues/show/3280 e$B5/I\<\<Te(B: Kenta M. e$B%9%F!\<%?%9e(B: Assigned, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Shyouhei U., e$B%+%F%4%je(B: lib, Target v…

---

## [\[Bug #2794\] Aborted (core dumped) BUG on Ruby/DL](https://www.ruby-forum.com/t/bug-2794-aborted-core-dumped-bug-on-ruby-dl/184179)

<div class="topic-metadata">

**Author:** [@Takao\_NISHI](https://www.ruby-forum.com/u/Takao_NISHI)\
**Replies:** 9\
**Last updated:** [June 10, 2010, 8:06am UTC](https://www.ruby-forum.com/t/bug-2794-aborted-core-dumped-bug-on-ruby-dl/184179 "2010-06-10T08:06:12Z")

</div>

Bug #2794: Aborted (core dumped) BUG on Ruby/DL http://redmine.ruby-lang.org/issues/show/2794 e$B5/I\<\<Te(B: Takao NISHI e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.8.6 (2007-09-24 patchlevel 111) \[i4…

---

## [Interrupting the evaluation of a ruby script](https://www.ruby-forum.com/t/interrupting-the-evaluation-of-a-ruby-script/189322)

<div class="topic-metadata">

**Author:** [@emmanuel](https://www.ruby-forum.com/u/emmanuel)\
**Replies:** 11\
**Last updated:** [June 10, 2010, 7:38am UTC](https://www.ruby-forum.com/t/interrupting-the-evaluation-of-a-ruby-script/189322 "2010-06-10T07:38:41Z")

</div>

This is my problem : Let’s say I have a ruby script which first takes as an input a ruby script (that could be anything, and that I don’t control) and evals it using the eval ruby command and proceeds to some computat…

---

## [.rb security](https://www.ruby-forum.com/t/rb-security/189336)

<div class="topic-metadata">

**Author:** [@egonzalez](https://www.ruby-forum.com/u/egonzalez)\
**Replies:** 4\
**Last updated:** [June 10, 2010, 7:37am UTC](https://www.ruby-forum.com/t/rb-security/189336 "2010-06-10T07:37:31Z")

</div>

Hi All, Wondering if possible to compile a ruby script to byte code that can be executed in command line just as a .rb Similar to that of .pyc for a .py Is this possible in Ruby. Thanks, Ed

---

## [\[ANN\] bitescript 0.0.6](https://www.ruby-forum.com/t/ann-bitescript-0-0-6/189892)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 2\
**Last updated:** [June 10, 2010, 6:37am UTC](https://www.ruby-forum.com/t/ann-bitescript-0-0-6/189892 "2010-06-10T06:37:48Z")

</div>

bitescript 0.0.6 is released: === 0.0.6 / 2010-06-09 Move to a class mirror API rather than loading and walking real classes Bug fixes for annotations Allow forward references to labels for easier branch logic About…

---

## [(newbie) Array \> Element Assignment \> nil \> Documentation](https://www.ruby-forum.com/t/newbie-array-element-assignment-nil-documentation/189875)

<div class="topic-metadata">

**Author:** [@potatopeelings](https://www.ruby-forum.com/u/potatopeelings)\
**Replies:** 2\
**Last updated:** [June 10, 2010, 6:10am UTC](https://www.ruby-forum.com/t/newbie-array-element-assignment-nil-documentation/189875 "2010-06-10T06:10:57Z")

</div>

Ruby version : 1.9.1.376 OS : Windows I’m checking class Array - RDoc Documentation (Array element assignment) which says …If nil is used in the second and third form, deletes elements from self… with the example …

---

## [First Gem -- What can I model after?](https://www.ruby-forum.com/t/first-gem-what-can-i-model-after/189913)

<div class="topic-metadata">

**Author:** [@ziggles](https://www.ruby-forum.com/u/ziggles)\
**Replies:** 4\
**Last updated:** [June 10, 2010, 5:50am UTC](https://www.ruby-forum.com/t/first-gem-what-can-i-model-after/189913 "2010-06-10T05:50:58Z")

</div>

Hi guys, I’m working to create my first gem which will be a super simple wrap of an API i find useful. I was wondering if someone could point me @ an existing gem that is considered to be structured/coded well? I’m …

---

## [Weird action of 'nokogiri' library on Snow Leopard](https://www.ruby-forum.com/t/weird-action-of-nokogiri-library-on-snow-leopard/182997)

<div class="topic-metadata">

**Author:** [@junyoung](https://www.ruby-forum.com/u/junyoung)\
**Replies:** 6\
**Last updated:** [June 10, 2010, 2:37am UTC](https://www.ruby-forum.com/t/weird-action-of-nokogiri-library-on-snow-leopard/182997 "2010-06-10T02:37:53Z")

</div>

cut the introduction… here is my situation on the snow leopard. $ cat d.rb require ‘nokogiri’ $ ruby d.rb d.rb:1:in \`require’: no such file to load – nokogiri (LoadError) from d.rb:1 $ irb require ‘nokogiri’ =\> …

---

## [How can I use Ruby with MS Excel?](https://www.ruby-forum.com/t/how-can-i-use-ruby-with-ms-excel/189835)

<div class="topic-metadata">

**Author:** [@leveille](https://www.ruby-forum.com/u/leveille)\
**Replies:** 6\
**Last updated:** [June 10, 2010, 2:10am UTC](https://www.ruby-forum.com/t/how-can-i-use-ruby-with-ms-excel/189835 "2010-06-10T02:10:19Z")

</div>

As much as I hate to say it, Microsoft Excel is here to stay and will continue to be the most popular tool among engineers and scientists. When I say engineers, I mean mechanical, civil, environmental, chemical engine…

---

## [Blog](https://www.ruby-forum.com/t/blog/189920)

<div class="topic-metadata">

**Author:** [@teknopartz](https://www.ruby-forum.com/u/teknopartz)\
**Replies:** 1\
**Last updated:** [June 10, 2010, 12:29am UTC](https://www.ruby-forum.com/t/blog/189920 "2010-06-10T00:29:37Z")

</div>

We are trying to add a blog to our Ruby Site. The blog has been completed. How hard is it to add this to the site? Does anyone have a step-by-step process to follow? Thanks you! -Jeremy

---

## [\[Bug #2953\] nkf segfaults with --numchar-input](https://www.ruby-forum.com/t/bug-2953-nkf-segfaults-with-numchar-input/185079)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 4\
**Last updated:** [June 9, 2010, 11:58pm UTC](https://www.ruby-forum.com/t/bug-2953-nkf-segfaults-with-numchar-input/185079 "2010-06-09T23:58:00Z")

</div>

Bug #2953: nkf segfaults with --numchar-input http://redmine.ruby-lang.org/issues/show/2953 e$B5/I\<\<Te(B: Nobuyoshi N. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: ext ruby -v: 1.8.8dev (2010-02-24 r…

---

## [Bones 3.4.6](https://www.ruby-forum.com/t/bones-3-4-6/189917)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 0\
**Last updated:** [June 9, 2010, 10:20pm UTC](https://www.ruby-forum.com/t/bones-3-4-6/189917 "2010-06-09T22:20:51Z")

</div>

bones version 3.4.6 by Tim P. bones | RubyGems.org | your community gem host == DESCRIPTION Mr Bones is a handy tool that creates new Ruby projects from a code skeleton. The skeleton contains some starter code and a…

---

## [Socket programming in Ruby](https://www.ruby-forum.com/t/socket-programming-in-ruby/189915)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 1\
**Last updated:** [June 9, 2010, 10:07pm UTC](https://www.ruby-forum.com/t/socket-programming-in-ruby/189915 "2010-06-09T22:07:53Z")

</div>

What are the requirements for the IP address passed to TCPSocket.new? Example… require ‘socket’ =\> true s = TCPSocket.new ‘127.0.0.1’, 6500 Errno::ECONNREFUSED: Connection refused - connect(2) from (irb):2:in i…

---

## [Duby 0.0.3 released](https://www.ruby-forum.com/t/duby-0-0-3-released/189916)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 0\
**Last updated:** [June 9, 2010, 9:31pm UTC](https://www.ruby-forum.com/t/duby-0-0-3-released/189916 "2010-06-09T21:31:40Z")

</div>

=== 0.0.3 / 2010-06-09 Even more language features! invokedynamic support (sort of) Using mirror types to avoid class initialization Other stuff README.txt: = duby GitHub - headius/duby: The Duby Programming Langua…

---

## [Very simple programming exercises](https://www.ruby-forum.com/t/very-simple-programming-exercises/189752)

<div class="topic-metadata">

**Author:** [@luckydev](https://www.ruby-forum.com/u/luckydev)\
**Replies:** 9\
**Last updated:** [June 9, 2010, 9:25pm UTC](https://www.ruby-forum.com/t/very-simple-programming-exercises/189752 "2010-06-09T21:25:49Z")

</div>

Hi, I am reading ruby from the book “Programming ruby” and that book lacks programming exercises. I want to work out some problems in ruby. Please point me towards a good resource on the net or it can be a book also. …

---

## [Strace\_me 1.0 Released](https://www.ruby-forum.com/t/strace-me-1-0-released/189798)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 1\
**Last updated:** [June 9, 2010, 8:36pm UTC](https://www.ruby-forum.com/t/strace-me-1-0-released/189798 "2010-06-09T20:36:03Z")

</div>

http://seattlerb.rubyforge.org/strace\_me A wrapper around strace(1) that allows you to perform targetted tracing of a block. strace\_me allows you to track down problems without wading through gobs of ruby startup o…

---

## [Defining struct in a class](https://www.ruby-forum.com/t/defining-struct-in-a-class/189800)

<div class="topic-metadata">

**Author:** [@wfspoet](https://www.ruby-forum.com/u/wfspoet)\
**Replies:** 7\
**Last updated:** [June 9, 2010, 6:20pm UTC](https://www.ruby-forum.com/t/defining-struct-in-a-class/189800 "2010-06-09T18:20:50Z")

</div>

How can I properly define a struct in a class? If I have class Cards Card = Struct.new(:suit, :number) @cardsOnHand=\[\] @cardsOnHand.push(Card.new("S","5")) end This will give me an error message saying the push is…

---

## [Classpath not being picked up?](https://www.ruby-forum.com/t/classpath-not-being-picked-up/189889)

<div class="topic-metadata">

**Author:** [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Replies:** 1\
**Last updated:** [June 9, 2010, 5:08pm UTC](https://www.ruby-forum.com/t/classpath-not-being-picked-up/189889 "2010-06-09T17:08:50Z")

</div>

I’m having trouble trying to define the classpath for a JRuby script, and I can’t figure out what’s going wrong. Here is the script: require ‘java’ puts “CLASSPATH = #{$CLASSPATH}” $CLASSPATH \<\< ‘.’ puts “CLASSPATH …

---

## [Html parsing with Hpricot](https://www.ruby-forum.com/t/html-parsing-with-hpricot/189894)

<div class="topic-metadata">

**Author:** [@gregm](https://www.ruby-forum.com/u/gregm)\
**Replies:** 2\
**Last updated:** [June 9, 2010, 4:57pm UTC](https://www.ruby-forum.com/t/html-parsing-with-hpricot/189894 "2010-06-09T16:57:43Z")

</div>

Hi, I need to parse a wonderful html page full of tables everywhere! Obviously I am using Hpricot to parse my html, and this what I’ve done so far. But now I stuck :S page.search("#profile \> table \> tr")\[1\].at(“td”)…

---

## [Jruby and JavaServiceWrapper](https://www.ruby-forum.com/t/jruby-and-javaservicewrapper/189663)

<div class="topic-metadata">

**Author:** [@joeonrails](https://www.ruby-forum.com/u/joeonrails)\
**Replies:** 11\
**Last updated:** [June 9, 2010, 4:06pm UTC](https://www.ruby-forum.com/t/jruby-and-javaservicewrapper/189663 "2010-06-09T16:06:47Z")

</div>

I’m getting this error when attempting to start the service in windows: Exception in thread “main” src/rover/client.rb:57:in \`start’: for method WrapperManager.start expected \[class org.tanukisoftware.wrapper.WrapperL…

---

## [Ssleay32.dll, postgresql, extension problem](https://www.ruby-forum.com/t/ssleay32-dll-postgresql-extension-problem/128654)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 8\
**Last updated:** [June 9, 2010, 3:55pm UTC](https://www.ruby-forum.com/t/ssleay32-dll-postgresql-extension-problem/128654 "2010-06-09T15:55:39Z")

</div>

Hi all, The PostgreSQL 8.3 release ships with its own ssleay32.dll. However, when building with VC++ 6 using the one-click installer, I need to use the ssleay32.dll that Curt ships under c:/ruby/bin. I’ve been toying…

---

## [Bitescript 0.0.6](https://www.ruby-forum.com/t/bitescript-0-0-6/189891)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 0\
**Last updated:** [June 9, 2010, 3:31pm UTC](https://www.ruby-forum.com/t/bitescript-0-0-6/189891 "2010-06-09T15:31:38Z")

</div>

bitescript 0.0.6 is released: === 0.0.6 / 2010-06-09 Move to a class mirror API rather than loading and walking real classes Bug fixes for annotations Allow forward references to labels for easier branch logic About…

---

## [Source for ruby-html-template](https://www.ruby-forum.com/t/source-for-ruby-html-template/189879)

<div class="topic-metadata">

**Author:** [@Grimble](https://www.ruby-forum.com/u/Grimble)\
**Replies:** 0\
**Last updated:** [June 9, 2010, 12:10pm UTC](https://www.ruby-forum.com/t/source-for-ruby-html-template/189879 "2010-06-09T12:10:50Z")

</div>

I’m re-installing all my Ruby software, gems, etc but can’t find ruby-html-template. The previous location, ftp://ftp.pbone.net/mirror/packman.iu-bremen.de/suse/10.2/i586/ruby-html-template-0.16-0.pm.2.i586.rpm no lon…

---

## [Railroad in netbeans](https://www.ruby-forum.com/t/railroad-in-netbeans/189878)

<div class="topic-metadata">

**Author:** [@pradheep](https://www.ruby-forum.com/u/pradheep)\
**Replies:** 1\
**Last updated:** [June 9, 2010, 12:02pm UTC](https://www.ruby-forum.com/t/railroad-in-netbeans/189878 "2010-06-09T12:02:38Z")

</div>

how to run the railsroad in Netbeans Please help me asap

---

## [Call for Papers for 2010 Workshop on Scheme and Functional Programming](https://www.ruby-forum.com/t/call-for-papers-for-2010-workshop-on-scheme-and-functional-programming/189869)

<div class="topic-metadata">

**Author:** [@mrcfab3](https://www.ruby-forum.com/u/mrcfab3)\
**Replies:** 0\
**Last updated:** [June 9, 2010, 8:46am UTC](https://www.ruby-forum.com/t/call-for-papers-for-2010-workshop-on-scheme-and-functional-programming/189869 "2010-06-09T08:46:31Z")

</div>

Please note that the deadline for submitting a paper to the Scheme workshop is 6 days from now… I encourage all authors in their last minute efforts to submit a paper! Please visit the workshop website at http://www…

---

## [Jruby timeouts not reliable?](https://www.ruby-forum.com/t/jruby-timeouts-not-reliable/189811)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [June 9, 2010, 8:32am UTC](https://www.ruby-forum.com/t/jruby-timeouts-not-reliable/189811 "2010-06-09T08:32:28Z")

</div>

I know that in ruby (due to green threads), timeout.rb is a mess when dealing with system calls, but I thought (until now) that in jruby did not exist this problem. I’m gonna use ffi to be able to use native code: sl…

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

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