# Ruby

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

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

---

## [Hpricot 0.8](https://www.ruby-forum.com/t/hpricot-0-8/164463)

<div class="topic-metadata">

**Author:** [@S\_why](https://www.ruby-forum.com/u/S_why)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 6:04pm UTC](https://www.ruby-forum.com/t/hpricot-0-8/164463 "2009-04-01T18:04:46Z")

</div>

Incident to one urgent bug and many good speed/memory improvements, here’s a new release of Hpricot, a little and flexible HTML parser. gem install hpricot --source http://code.whytheluckystiff.net Should appear on Ru…

---

## [Shoes 'method\_missing' error](https://www.ruby-forum.com/t/shoes-method-missing-error/164434)

<div class="topic-metadata">

**Author:** [@onanga](https://www.ruby-forum.com/u/onanga)\
**Replies:** 4\
**Last updated:** [April 1, 2009, 5:58pm UTC](https://www.ruby-forum.com/t/shoes-method-missing-error/164434 "2009-04-01T17:58:18Z")

</div>

Hello all ! I’m new to the ruby community and therefore to Shoes (which is really nice easy to use). I tried out a little making a form, and everything went nicely for edit\_line, list\_box, edit\_box, button, but I met…

---

## [\[patch\] agdlr: Fix hosting api unit test](https://www.ruby-forum.com/t/patch-agdlr-fix-hosting-api-unit-test/164461)

<div class="topic-metadata">

**Author:** [@Jb\_Evain](https://www.ruby-forum.com/u/Jb_Evain)\
**Replies:** 1\
**Last updated:** [April 1, 2009, 5:53pm UTC](https://www.ruby-forum.com/t/patch-agdlr-fix-hosting-api-unit-test/164461 "2009-04-01T17:53:02Z")

</div>

Hey, Here’s a patch against a test which currently asserts on an internal implementation detail. This fix makes it cross-platform. Thanks,

---

## [How to do coding to check mail delivered or not](https://www.ruby-forum.com/t/how-to-do-coding-to-check-mail-delivered-or-not/164445)

<div class="topic-metadata">

**Author:** [@anshali](https://www.ruby-forum.com/u/anshali)\
**Replies:** 6\
**Last updated:** [April 1, 2009, 4:25pm UTC](https://www.ruby-forum.com/t/how-to-do-coding-to-check-mail-delivered-or-not/164445 "2009-04-01T16:25:27Z")

</div>

Hi All, Plz tell me how this problem will solved. “when mail is send,how we are going to check that mail is delivered or not” Thanks

---

## [Xml-simp](https://www.ruby-forum.com/t/xml-simp/164383)

<div class="topic-metadata">

**Author:** [@vetrivel](https://www.ruby-forum.com/u/vetrivel)\
**Replies:** 3\
**Last updated:** [April 1, 2009, 2:50pm UTC](https://www.ruby-forum.com/t/xml-simp/164383 "2009-04-01T14:50:50Z")

</div>

I have dowunloaded the xml-simple-1.0.12.gem . I used xml-simple to requie . require ‘xml-simple’ But it doesn’t work Then I have given like this It works, require ‘xmlsimple’ My question is that, How do i know i…

---

## [Suggest me useful Daily Build Platforms](https://www.ruby-forum.com/t/suggest-me-useful-daily-build-platforms/164431)

<div class="topic-metadata">

**Author:** [@Jun\_YSKim](https://www.ruby-forum.com/u/Jun_YSKim)\
**Replies:** 1\
**Last updated:** [April 1, 2009, 2:46pm UTC](https://www.ruby-forum.com/t/suggest-me-useful-daily-build-platforms/164431 "2009-04-01T14:46:09Z")

</div>

Hi, all. I have plan to test own module based on several different modules (hpux, aix, windows. linux, solaris). For the easy management, Now I am using daily build scripts to build sources on each platforms. and rep…

---

## [Problem with .war File on Glassfish](https://www.ruby-forum.com/t/problem-with-war-file-on-glassfish/164441)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 2:29pm UTC](https://www.ruby-forum.com/t/problem-with-war-file-on-glassfish/164441 "2009-04-01T14:29:05Z")

</div>

Hello! I have a problem with a war-file generated by warbler. My Glassfishv3-Server throws the following exception when I try to access the deployed webapp: \[#|2009-04-01T14:25:16.717+0200|SEVERE|glassfish|javax.ente…

---

## [\[Bug #1337\] mkmf.rb$B$,@8@.$7$?(BMakefile$B$G(Bmake -j N install$B$K\<:GT$9$k\>l9g$,$"$k(B](https://www.ruby-forum.com/t/bug-1337-mkmf-rb-b-8-7-bmakefile-b-g-bmake-j-n-install-b-k-gt-9-k-l9g-k-b/164335)

<div class="topic-metadata">

**Author:** [@Takuto\_Matsuu](https://www.ruby-forum.com/u/Takuto_Matsuu)\
**Replies:** 1\
**Last updated:** [April 1, 2009, 12:47pm UTC](https://www.ruby-forum.com/t/bug-1337-mkmf-rb-b-8-7-bmakefile-b-g-bmake-j-n-install-b-k-gt-9-k-l9g-k-b/164335 "2009-04-01T12:47:39Z")

</div>

Bug #1337: mkmf.rbe$B$,@8@.$7$?e(BMakefilee$B$Ge(Bmake -j N installe$B$K\<:GT$9$k\>l9g$,$"$ke(B http://redmine.ruby-lang.org/issues/show/1337 e$B5/I\<\<Te(B: Takuto Matsuu e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ru…

---

## [Re: Confused - trying to run the specs](https://www.ruby-forum.com/t/re-confused-trying-to-run-the-specs/163863)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 1\
**Last updated:** [April 1, 2009, 12:44pm UTC](https://www.ruby-forum.com/t/re-confused-trying-to-run-the-specs/163863 "2009-04-01T12:44:42Z")

</div>

I have this fixed in my Git fork. I’ll be pulling it in this week. In the mean time, change Merlin/External/Languages/IronRuby/mspec/default.mspec to set :target, “/path/to/Merlin/Main/bin/debug/ir.exe”. Sorry for th…

---

## [Jruby and JAAS](https://www.ruby-forum.com/t/jruby-and-jaas/164436)

<div class="topic-metadata">

**Author:** [@Andres\_K](https://www.ruby-forum.com/u/Andres_K)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 12:04pm UTC](https://www.ruby-forum.com/t/jruby-and-jaas/164436 "2009-04-01T12:04:40Z")

</div>

Hi, I’m currently working on a jruby project which will run in a Glassfish environment. We might need to do some (external) authentication using JAAS. I can’t seem to find much on Jruby and JAAS on google. Does anyone …

---

## [Wt::Ruby 0.9.1 release](https://www.ruby-forum.com/t/wt-ruby-0-9-1-release/164359)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [April 1, 2009, 11:35am UTC](https://www.ruby-forum.com/t/wt-ruby-0-9-1-release/164359 "2009-04-01T11:35:54Z")

</div>

Wt::Ruby version 0.9.1 has been released! http://wiki.github.com/rdale/wtruby Code Wiki Tutorial http://wiki.github.com/rdale/wtruby/tutorial http://rubyforge.org/projects/wtruby/ Downloads Help forum Ruby …

---

## [\[Bug #1338\] Kernel#select crashes when many files are opened](https://www.ruby-forum.com/t/bug-1338-kernel-select-crashes-when-many-files-are-opened/164338)

<div class="topic-metadata">

**Author:** [@Kengo\_Matsuyama](https://www.ruby-forum.com/u/Kengo_Matsuyama)\
**Replies:** 1\
**Last updated:** [April 1, 2009, 6:58am UTC](https://www.ruby-forum.com/t/bug-1338-kernel-select-crashes-when-many-files-are-opened/164338 "2009-04-01T06:58:13Z")

</div>

Bug #1338: Kernel#select crashes when many files are opened http://redmine.ruby-lang.org/issues/show/1338 e$B5/I\<\<Te(B: Kengo Matsuyama e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.9.2dev (2009-03-31 …

---

## [Hoe 1.12.1 Released](https://www.ruby-forum.com/t/hoe-1-12-1-released/164413)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 5:52am UTC](https://www.ruby-forum.com/t/hoe-1-12-1-released/164413 "2009-04-01T05:52:11Z")

</div>

hoe version 1.12.1 has been released! http://rubyforge.org/projects/seattlerb/ http://seattlerb.rubyforge.org/hoe/ removed\_email\_address@domain.invalid Hoe is a simple rake/rubygems helper for project Rakefiles. It g…

---

## [Closing SSH connections](https://www.ruby-forum.com/t/closing-ssh-connections/164328)

<div class="topic-metadata">

**Author:** [@skiz](https://www.ruby-forum.com/u/skiz)\
**Replies:** 3\
**Last updated:** [April 1, 2009, 5:31am UTC](https://www.ruby-forum.com/t/closing-ssh-connections/164328 "2009-04-01T05:31:44Z")

</div>

Hi, I am using net-ssh 2.0.4 (newer versions are incompatible with JRuby) to SSH into a server. The problem I am experiencing is that the connection only closes when the JVM is shutdown. So even though I close the…

---

## [Graph 1.0.0 Released](https://www.ruby-forum.com/t/graph-1-0-0-released/164410)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 2:55am UTC](https://www.ruby-forum.com/t/graph-1-0-0-released/164410 "2009-04-01T02:55:36Z")

</div>

graph version 1.0.0 has been released! http://rubyforge.org/projects/seattlerb Graph is a type of hash that outputs in graphviz’s dot format. It comes with a command-line interface that is easily pluggable. It ships…

---

## [Hoe 1.12.0 Released](https://www.ruby-forum.com/t/hoe-1-12-0-released/164409)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [April 1, 2009, 2:50am UTC](https://www.ruby-forum.com/t/hoe-1-12-0-released/164409 "2009-04-01T02:50:20Z")

</div>

hoe version 1.12.0 has been released! http://rubyforge.org/projects/seattlerb/ http://seattlerb.rubyforge.org/hoe/ removed\_email\_address@domain.invalid Hoe is a simple rake/rubygems helper for project Rakefiles. It g…

---

## [Why does mathn kill this method?](https://www.ruby-forum.com/t/why-does-mathn-kill-this-method/164404)

<div class="topic-metadata">

**Author:** [@steenslag](https://www.ruby-forum.com/u/steenslag)\
**Replies:** 3\
**Last updated:** [April 1, 2009, 1:16am UTC](https://www.ruby-forum.com/t/why-does-mathn-kill-this-method/164404 "2009-04-01T01:16:08Z")

</div>

Really stumped here. def sum\_digits(n) sum = 0 while n\>0 sum += n % 10 n /= 10 end sum end STDOUT.sync=true puts sum\_digits(12) #=\> 3 require ‘mathn’ puts sum\_digits(12) # hangs What am I doing wrong?

---

## [Rubygems Problems](https://www.ruby-forum.com/t/rubygems-problems/164312)

<div class="topic-metadata">

**Author:** [@roxah](https://www.ruby-forum.com/u/roxah)\
**Replies:** 8\
**Last updated:** [April 1, 2009, 1:00am UTC](https://www.ruby-forum.com/t/rubygems-problems/164312 "2009-04-01T01:00:59Z")

</div>

Hello all, Is anyone else having problems with Rubygems? I’m running Ubuntu 8.10 with Ruby version 1.8.7 (2008-08-11 patchlevel 72) \[i486-linux\]. I have Rubygems 1.3.1 installed from source, and when I run gem -v I …

---

## [Detect on which OS jruby is running](https://www.ruby-forum.com/t/detect-on-which-os-jruby-is-running/164396)

<div class="topic-metadata">

**Author:** [@gendag](https://www.ruby-forum.com/u/gendag)\
**Replies:** 4\
**Last updated:** [March 31, 2009, 11:33pm UTC](https://www.ruby-forum.com/t/detect-on-which-os-jruby-is-running/164396 "2009-03-31T23:33:46Z")

</div>

Hi all, I’d like to know if there is a safe and standard way to detect on which OS jruby is running. The RUBY\_PLATFORM constant doesn’t seem to be very useful in this case. Thanks in advance. Andrea To unsubscribe…

---

## [JRuby and ruby-gstreamer](https://www.ruby-forum.com/t/jruby-and-ruby-gstreamer/164399)

<div class="topic-metadata">

**Author:** [@cvincent](https://www.ruby-forum.com/u/cvincent)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 11:12pm UTC](https://www.ruby-forum.com/t/jruby-and-ruby-gstreamer/164399 "2009-03-31T23:12:04Z")

</div>

Hi, I would like to know if it is possible to write an application in JRuby and use the Ruby bindings for gstreamer in JRuby or should I use the Java bindings for gstreamer instead ? Thanks, Chris

---

## [Parsing HTML tables](https://www.ruby-forum.com/t/parsing-html-tables/164391)

<div class="topic-metadata">

**Author:** [@ertai](https://www.ruby-forum.com/u/ertai)\
**Replies:** 2\
**Last updated:** [March 31, 2009, 10:35pm UTC](https://www.ruby-forum.com/t/parsing-html-tables/164391 "2009-03-31T22:35:57Z")

</div>

Hi everybody, I’m searching for a way to write a beautidull code which parse an HTML table. In fact, the table is dynamic. It always have three columns but have randoms lines. In each “line” ( ) I want to extract th…

---

## [SocketError under JRuby but not MRI](https://www.ruby-forum.com/t/socketerror-under-jruby-but-not-mri/164393)

<div class="topic-metadata">

**Author:** [@supasta](https://www.ruby-forum.com/u/supasta)\
**Replies:** 5\
**Last updated:** [March 31, 2009, 10:32pm UTC](https://www.ruby-forum.com/t/socketerror-under-jruby-but-not-mri/164393 "2009-03-31T22:32:15Z")

</div>

I’ve been tracking down an issue with a JRuby on Rails application I’m running (JRuby = 1.2.0, Rails = 2.2.2), and the difference seems to be JRuby. I’ve modified the built-in spawner (vendor/rails/railties/lib/comma…

---

## [Tab characters in database.yml breaks mongrel](https://www.ruby-forum.com/t/tab-characters-in-database-yml-breaks-mongrel/164395)

<div class="topic-metadata">

**Author:** [@DjangoFan](https://www.ruby-forum.com/u/DjangoFan)\
**Replies:** 1\
**Last updated:** [March 31, 2009, 9:31pm UTC](https://www.ruby-forum.com/t/tab-characters-in-database-yml-breaks-mongrel/164395 "2009-03-31T21:31:12Z")

</div>

i dont have a bug tracking user account and so ill post this here quick: tab characters in database.yml breaks mongrel production: adapter: sqlserver encoding: utf8 mode: ODBC database: Warrants dsn:…

---

## [Jruby and JAAS](https://www.ruby-forum.com/t/jruby-and-jaas/164392)

<div class="topic-metadata">

**Author:** [@AndrSSSSs\_Koetsier](https://www.ruby-forum.com/u/AndrSSSSs_Koetsier)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 9:04pm UTC](https://www.ruby-forum.com/t/jruby-and-jaas/164392 "2009-03-31T21:04:47Z")

</div>

Hi, I’m currently working on a jruby project which will run in a Glassfish environment. We might need to do some (external) authentication using JAAS. I can’t seem to find much on Jruby and JAAS on google. Does anyone …

---

## [How to get list of all processes and the kill by name](https://www.ruby-forum.com/t/how-to-get-list-of-all-processes-and-the-kill-by-name/164317)

<div class="topic-metadata">

**Author:** [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Replies:** 3\
**Last updated:** [March 31, 2009, 8:31pm UTC](https://www.ruby-forum.com/t/how-to-get-list-of-all-processes-and-the-kill-by-name/164317 "2009-03-31T20:31:52Z")

</div>

I am working on a scraper that blows up if an instance of Firefox is already running (launched via Firewatir) so I want to put in code that first checks for any existing Firefox processes and issues a kill to their PI…

---

## [Euro currency symbol](https://www.ruby-forum.com/t/euro-currency-symbol/164307)

<div class="topic-metadata">

**Author:** [@dawillis](https://www.ruby-forum.com/u/dawillis)\
**Replies:** 4\
**Last updated:** [March 31, 2009, 6:12pm UTC](https://www.ruby-forum.com/t/euro-currency-symbol/164307 "2009-03-31T18:12:33Z")

</div>

Hmm, I seem to be having a bit of a time representing the Euro sign in Ruby. ruby -v ruby 1.8.6 (2008-03-03 patchlevel 114) \[universal-darwin9.0\] (same results on a linux box, 1.8.5 with Ruby) symbol: â‚¬ Decimal:…

---

## [Array read to seperate items](https://www.ruby-forum.com/t/array-read-to-seperate-items/164376)

<div class="topic-metadata">

**Author:** [@sclarke](https://www.ruby-forum.com/u/sclarke)\
**Replies:** 3\
**Last updated:** [March 31, 2009, 6:11pm UTC](https://www.ruby-forum.com/t/array-read-to-seperate-items/164376 "2009-03-31T18:11:23Z")

</div>

Hi all, This might be a stupid question. I have an array which gets data added to in a loop like so: a b c d e f a b c d e f I am aware calling join("\\n")on this array will separate each line of the array…

---

## [OpenSSL verify certificate from own CA](https://www.ruby-forum.com/t/openssl-verify-certificate-from-own-ca/164366)

<div class="topic-metadata">

**Author:** [@beer](https://www.ruby-forum.com/u/beer)\
**Replies:** 0\
**Last updated:** [March 31, 2009, 3:50pm UTC](https://www.ruby-forum.com/t/openssl-verify-certificate-from-own-ca/164366 "2009-03-31T15:50:46Z")

</div>

Hello all and thanks for your time reading this. I need to verify certificates issued by my own CA, for which I have a certificate. How can I do the equivalent to openssl’s openssl verify -CAfile \<cafile.pem\> \<certifi…

---

## [\[Bug #1328\] "p eval('0' + '+0.1'\*n)" $B$N5sF0(B](https://www.ruby-forum.com/t/bug-1328-p-eval-0-0-1-n-b-n5sf0-b/164204)

<div class="topic-metadata">

**Author:** [@Kenta\_M](https://www.ruby-forum.com/u/Kenta_M)\
**Replies:** 2\
**Last updated:** [March 31, 2009, 3:45pm UTC](https://www.ruby-forum.com/t/bug-1328-p-eval-0-0-1-n-b-n5sf0-b/164204 "2009-03-31T15:45:11Z")

</div>

Bug #1328: “p eval(‘0’ + ‘+0.1’\*n)” e$B$N5sF0e(B http://redmine.ruby-lang.org/issues/show/1328 e$B5/I\<\<Te(B: Kenta M. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: core, Target version: 1.9.2 ruby -v:…

---

## [Which methods does "puts" invoke?](https://www.ruby-forum.com/t/which-methods-does-puts-invoke/164290)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 6\
**Last updated:** [March 31, 2009, 11:03am UTC](https://www.ruby-forum.com/t/which-methods-does-puts-invoke/164290 "2009-03-31T11:03:12Z")

</div>

Hi, if I redefine “to\_s” or “inspect” methods in String class I still get the original output when doing: puts string Which String@method is invoked when executing “puts”? Thanks.

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

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