# Ruby

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

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

---

## [RDoc duplicate entries](https://www.ruby-forum.com/t/rdoc-duplicate-entries/145876)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 0\
**Last updated:** [August 14, 2008, 6:14pm UTC](https://www.ruby-forum.com/t/rdoc-duplicate-entries/145876 "2008-08-14T18:14:28Z")

</div>

This has happened to me before, and (sigh) I can’t recall what it was –or if I ever actually figured out. When I run RDOC: rdoc --op=‘doc/rdoc’ --inline-source --template=‘jamis’ – main=‘README’ CHANGES README Metad…

---

## [Redeploying WAR when user-generated files are present](https://www.ruby-forum.com/t/redeploying-war-when-user-generated-files-are-present/145431)

<div class="topic-metadata">

**Author:** [@Myron\_M](https://www.ruby-forum.com/u/Myron_M)\
**Replies:** 3\
**Last updated:** [August 14, 2008, 6:03pm UTC](https://www.ruby-forum.com/t/redeploying-war-when-user-generated-files-are-present/145431 "2008-08-14T18:03:19Z")

</div>

Hello, My JRuby on Rails application generates lots of files based on user input. These go in a subdirectory under my public directory during development, and under the same subdirectory at the root level of the WAR…

---

## [Ruby without Rails](https://www.ruby-forum.com/t/ruby-without-rails/145872)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [August 14, 2008, 5:53pm UTC](https://www.ruby-forum.com/t/ruby-without-rails/145872 "2008-08-14T17:53:16Z")

</div>

Hello! I have a Rails application, and now I’m trying to make a cgi-script out of Rails, but it should operate with Rails database and models. Problem 1. Next script doesn’t seem to work everywhere: require ‘rubygem…

---

## [Simple\_captcha](https://www.ruby-forum.com/t/simple-captcha/145874)

<div class="topic-metadata">

**Author:** [@sharkie](https://www.ruby-forum.com/u/sharkie)\
**Replies:** 0\
**Last updated:** [August 14, 2008, 5:43pm UTC](https://www.ruby-forum.com/t/simple-captcha/145874 "2008-08-14T17:43:50Z")

</div>

Is there a way to hack simple\_captcha to work with JRuby? It needs RMagick, and it seems that Rmagick4j won’t cut it.

---

## [My computer is running slow?](https://www.ruby-forum.com/t/my-computer-is-running-slow/145873)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [August 14, 2008, 5:41pm UTC](https://www.ruby-forum.com/t/my-computer-is-running-slow/145873 "2008-08-14T17:41:02Z")

</div>

Below are steps for Microsoft Windows that should help speed up the computer or determine why the computer is running slow. … Log on : http://www.tipss4u.bravehost.com

---

## [\[ANN\] JRuby OpenSSL 0.3 released](https://www.ruby-forum.com/t/ann-jruby-openssl-0-3-released/145835)

<div class="topic-metadata">

**Author:** [@Ola\_B](https://www.ruby-forum.com/u/Ola_B)\
**Replies:** 1\
**Last updated:** [August 14, 2008, 5:28pm UTC](https://www.ruby-forum.com/t/ann-jruby-openssl-0-3-released/145835 "2008-08-14T17:28:43Z")

</div>

Version 0.3 of JRuby OpenSSL has been released. This version includes numerous large bug fixes, compatibility and general improvements. PKCS7 is now supported, Net::SSH works, and SSLSockets are usable. To install: j…

---

## [Wsdl2ruby.rb and "certificate verify failed"](https://www.ruby-forum.com/t/wsdl2ruby-rb-and-certificate-verify-failed/145870)

<div class="topic-metadata">

**Author:** [@rubynate](https://www.ruby-forum.com/u/rubynate)\
**Replies:** 0\
**Last updated:** [August 14, 2008, 5:20pm UTC](https://www.ruby-forum.com/t/wsdl2ruby-rb-and-certificate-verify-failed/145870 "2008-08-14T17:20:41Z")

</div>

I installed the most recent httpclient from http://dev.ctor.org/http-access2/wiki#Download. I used wsdl2ruby.rb to generate ruby classes for accessing a particular wsdl. I was hoping that httpclient would take …

---

## [Ruby printing to Cgi Error Log](https://www.ruby-forum.com/t/ruby-printing-to-cgi-error-log/145862)

<div class="topic-metadata">

**Author:** [@lynchnco](https://www.ruby-forum.com/u/lynchnco)\
**Replies:** 1\
**Last updated:** [August 14, 2008, 4:59pm UTC](https://www.ruby-forum.com/t/ruby-printing-to-cgi-error-log/145862 "2008-08-14T16:59:25Z")

</div>

Hi guys, Just a simple question that I can’t seem to find anywhere on google. is there a ruby equivalent for PHP’s error\_log()? I’m writing a webpage, and it makes it a lot easier to debug if I could just write to th…

---

## [At\_exit kernal method](https://www.ruby-forum.com/t/at-exit-kernal-method/145861)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 0\
**Last updated:** [August 14, 2008, 4:31pm UTC](https://www.ruby-forum.com/t/at-exit-kernal-method/145861 "2008-08-14T16:31:52Z")

</div>

Hi, Am I correct in saying that if I specify the at\_exit method, will it be the last method that is invoked before the ruby process closes? Aidy

---

## [How to do this?](https://www.ruby-forum.com/t/how-to-do-this/145762)

<div class="topic-metadata">

**Author:** [@Casimir](https://www.ruby-forum.com/u/Casimir)\
**Replies:** 3\
**Last updated:** [August 14, 2008, 3:45pm UTC](https://www.ruby-forum.com/t/how-to-do-this/145762 "2008-08-14T15:45:56Z")

</div>

Dear sirs, I am planning a simple geometry generation library. XYZ points, primitive geometry such as triangles and guides that can generate more geometry. I feel somehow retarted, as usual, so I hope to hear some wi…

---

## [Noob looking for a place to start](https://www.ruby-forum.com/t/noob-looking-for-a-place-to-start/145841)

<div class="topic-metadata">

**Author:** [@Carey\_Payette](https://www.ruby-forum.com/u/Carey_Payette)\
**Replies:** 0\
**Last updated:** [August 14, 2008, 1:54pm UTC](https://www.ruby-forum.com/t/noob-looking-for-a-place-to-start/145841 "2008-08-14T13:54:35Z")

</div>

Hi all, I’m new to contributing to IronRuby and am looking for a place to start. Can some of you veterans point me in the right direction where I won’t be stepping on anyones toes? I’m still learning the ropes with th…

---

## [Multithreading in ruby](https://www.ruby-forum.com/t/multithreading-in-ruby/145808)

<div class="topic-metadata">

**Author:** [@kajamohaideen\_2003](https://www.ruby-forum.com/u/kajamohaideen_2003)\
**Replies:** 5\
**Last updated:** [August 14, 2008, 12:33pm UTC](https://www.ruby-forum.com/t/multithreading-in-ruby/145808 "2008-08-14T12:33:00Z")

</div>

We people are new team for ruby. we trying to pput multithreading in our code. how is it possible? we want to read a message from queue and process that message parellaly and finally insert the message to the DB. Can …

---

## [Rmmseg-cpp 0.2.6 released](https://www.ruby-forum.com/t/rmmseg-cpp-0-2-6-released/145829)

<div class="topic-metadata">

**Author:** [@Zhang\_Chiyuan](https://www.ruby-forum.com/u/Zhang_Chiyuan)\
**Replies:** 0\
**Last updated:** [August 14, 2008, 10:37am UTC](https://www.ruby-forum.com/t/rmmseg-cpp-0-2-6-released/145829 "2008-08-14T10:37:35Z")

</div>

rmmseg-cpp version 0.2.6 by pluskid http://rmmseg-cpp.rubyforge.org == DESCRIPTION rmmseg-cpp is a high performance Chinese word segmentation utility for Ruby. It features full “Ferret”:http://ferret.davebalmain.com…

---

## [New at parsexcel](https://www.ruby-forum.com/t/new-at-parsexcel/145781)

<div class="topic-metadata">

**Author:** [@joep](https://www.ruby-forum.com/u/joep)\
**Replies:** 1\
**Last updated:** [August 14, 2008, 10:16am UTC](https://www.ruby-forum.com/t/new-at-parsexcel/145781 "2008-08-14T10:16:40Z")

</div>

I’m trying to use the parseexcel gem (0.5.2). I have an excel sheet with 2 columns & 5 rows: 1,2,3,4,5 and a,b,c,d,e irb(main):001:0\> require ‘parseexcel’ default formats are encoded in ISO-8859-1 =\> true irb(main):…

---

## [Want to know about threads](https://www.ruby-forum.com/t/want-to-know-about-threads/196782)

<div class="topic-metadata">

**Author:** [@kajamohaideen\_2003](https://www.ruby-forum.com/u/kajamohaideen_2003)\
**Replies:** 0\
**Last updated:** [August 14, 2008, 9:21am UTC](https://www.ruby-forum.com/t/want-to-know-about-threads/196782 "2008-08-14T09:21:09Z")

</div>

Sir/Madam we want to process 7000 to 10000 message and store it to the Database perminute. we are trying through threads. can you please help me how we do? Regards Kaja Mohaidee.A Trichy

---

## [Potentially issues with "system" command (Nuby)](https://www.ruby-forum.com/t/potentially-issues-with-system-command-nuby/145775)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 9\
**Last updated:** [August 14, 2008, 9:04am UTC](https://www.ruby-forum.com/t/potentially-issues-with-system-command-nuby/145775 "2008-08-14T09:04:23Z")

</div>

This question is a little complicated, so I’ll try to describe the underlying issue in detail. I’m using a Ruby script as a “glue” to link several engineering codes together. To run each individual code, we utilize a…

---

## [Kajamohaideen](https://www.ruby-forum.com/t/kajamohaideen/145814)

<div class="topic-metadata">

**Author:** [@kajamohaideen\_2003](https://www.ruby-forum.com/u/kajamohaideen_2003)\
**Replies:** 0\
**Last updated:** [August 14, 2008, 8:49am UTC](https://www.ruby-forum.com/t/kajamohaideen/145814 "2008-08-14T08:49:44Z")

</div>

Sir/Madam we want to process 7000 to 10000 message and store it to the Database perminute. we are trying through threads. can you please help me how we do? Regards Kaja Mohaidee.A Trichy

---

## [To chech the url is valid when using Net::HTTP.get\_response(](https://www.ruby-forum.com/t/to-chech-the-url-is-valid-when-using-net-http-get-response/145812)

<div class="topic-metadata">

**Author:** [@manoah](https://www.ruby-forum.com/u/manoah)\
**Replies:** 0\
**Last updated:** [August 14, 2008, 8:26am UTC](https://www.ruby-forum.com/t/to-chech-the-url-is-valid-when-using-net-http-get-response/145812 "2008-08-14T08:26:03Z")

</div>

I am using Net::HTTP.get\_response( URI.parse( url ) ) to get the reponse from a website. I have to test it with invalid url. How can i handle it if an ivalid url is provided and to give and error message. def method …

---

## [Odd behaviour of custom "inspect" method](https://www.ruby-forum.com/t/odd-behaviour-of-custom-inspect-method/145789)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 3\
**Last updated:** [August 14, 2008, 8:00am UTC](https://www.ruby-forum.com/t/odd-behaviour-of-custom-inspect-method/145789 "2008-08-14T08:00:33Z")

</div>

Can anyone explain this for me? john@liberty:~/Work/Coding/Xronos/test$ cat testpadding.rb class Padding def inspect ‘.’ \* 4 end end john@liberty:~/Work/Coding/Xronos/test$ irb -r testpadding.rb a = Padding.new …

---

## [Rb\_yield $B$N9bB.HG(B](https://www.ruby-forum.com/t/rb-yield-b-n9bb-hg-b/136377)

<div class="topic-metadata">

**Author:** [@wanabe](https://www.ruby-forum.com/u/wanabe)\
**Replies:** 3\
**Last updated:** [August 14, 2008, 7:16am UTC](https://www.ruby-forum.com/t/rb-yield-b-n9bb-hg-b/136377 "2008-08-14T07:16:40Z")

</div>

e$B%o%J%Y$H?=$7$^$9!#e(B rb\_yield e$B$rO"B3$G8F$S=P$9$H$-$K!"@Q$s$@%U%l!\<%\`$r;H$$$^$o$94X?t$r=q$-$^$7$?!#e(B e$B;n83E\*$Ke(B Fixnum#times e$B$K$@$1AH$\_9~$s$G$$$^$9$,!"$\[$+$K$be(B Array#each, Range#each e$B$J$I$G;H$($k…

---

## [Are square brackets not allowed in a URI?](https://www.ruby-forum.com/t/are-square-brackets-not-allowed-in-a-uri/145805)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 2\
**Last updated:** [August 14, 2008, 6:36am UTC](https://www.ruby-forum.com/t/are-square-brackets-not-allowed-in-a-uri/145805 "2008-08-14T06:36:56Z")

</div>

I could swear that this URL works: http://www.teamliquid.net/tlpd/players/189\_YellOw\[ArnC\] ...but parsing this with URI throws an exception claiming that this is invalid. I don’t know exactly what URI’s are but Mec…

---

## [Meow 2.0.0 Released](https://www.ruby-forum.com/t/meow-2-0-0-released/145806)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [August 14, 2008, 6:26am UTC](https://www.ruby-forum.com/t/meow-2-0-0-released/145806 "2008-08-14T06:26:24Z")

</div>

meow version 2.0.0 has been released! http://meow.rubyforge.org/ Send Growl notifications via Ruby. Changes: 2.0.0 1 Major enhancement Run and stop methods have been removed (Thanks David Billskog!) 3 Bugfix…

---

## [Case statement and ranges](https://www.ruby-forum.com/t/case-statement-and-ranges/145794)

<div class="topic-metadata">

**Author:** [@miniskirt](https://www.ruby-forum.com/u/miniskirt)\
**Replies:** 10\
**Last updated:** [August 14, 2008, 5:57am UTC](https://www.ruby-forum.com/t/case-statement-and-ranges/145794 "2008-08-14T05:57:44Z")

</div>

Hey, I want to do something like that: case amount when 25…50: 42 when 51…66: 78 when 90…123: 99 end which works of course. Now what I would like to have some other cases like when amount is lower that 25, but wi…

---

## ["wrong number of arguments" What? I must be thick or somethi](https://www.ruby-forum.com/t/wrong-number-of-arguments-what-i-must-be-thick-or-somethi/124897)

<div class="topic-metadata">

**Author:** [@ole](https://www.ruby-forum.com/u/ole)\
**Replies:** 9\
**Last updated:** [August 14, 2008, 5:53am UTC](https://www.ruby-forum.com/t/wrong-number-of-arguments-what-i-must-be-thick-or-somethi/124897 "2008-08-14T05:53:19Z")

</div>

class PermutationIterator def initalize(data\_set, nested = nil) @data\_set = data\_set @nested = nested || NilObject.new @key = 0 @fresh = true end end a = PermutationIterator.new \[1, 2, 3\] Will yield: permutatio…

---

## [Ruby 1.9: What to Expect by Sam Ruby @ OSCON 2008 Slide Deck Adapted S6/S9 (Single-Web Page) Version](https://www.ruby-forum.com/t/ruby-1-9-what-to-expect-by-sam-ruby-oscon-2008-slide-deck-adapted-s6-s9-single-web-page-version/145625)

<div class="topic-metadata">

**Author:** [@gerald\_b](https://www.ruby-forum.com/u/gerald_b)\
**Replies:** 14\
**Last updated:** [August 14, 2008, 4:19am UTC](https://www.ruby-forum.com/t/ruby-1-9-what-to-expect-by-sam-ruby-oscon-2008-slide-deck-adapted-s6-s9-single-web-page-version/145625 "2008-08-14T04:19:28Z")

</div>

Hello, I’ve created a S6/S9 version of Sam Ruby’s OSCON 2008 slide deck titled “Ruby 1.9: What to Expect (What’s Changed? What’s New?)” that offers a single-web page version that in addition to offering a full-screen…

---

## [Jruby Application distribution](https://www.ruby-forum.com/t/jruby-application-distribution/145743)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [August 14, 2008, 4:02am UTC](https://www.ruby-forum.com/t/jruby-application-distribution/145743 "2008-08-14T04:02:30Z")

</div>

Hi All Apologies if this is a FAQ but I’ve not been able to find it. I am considering writing an app that would run on many different platforms, Linux x86, mainframe linux, AIX and Windows are likely. The Java runtim…

---

## [Rdoc hoe dependency](https://www.ruby-forum.com/t/rdoc-hoe-dependency/145429)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 3\
**Last updated:** [August 14, 2008, 2:31am UTC](https://www.ruby-forum.com/t/rdoc-hoe-dependency/145429 "2008-08-14T02:31:12Z")

</div>

For the benefit of us nubies, maybe rdoc should also update hoe if it finds it at lower version (cause otherwise it should not install since it would not run anyway). just a suggestion. eg botp@bgmisits:/usr/local/sr…

---

## [Comparing TCP sockets](https://www.ruby-forum.com/t/comparing-tcp-sockets/145788)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 2\
**Last updated:** [August 14, 2008, 2:23am UTC](https://www.ruby-forum.com/t/comparing-tcp-sockets/145788 "2008-08-14T02:23:36Z")

</div>

Hi, imagine I receive a TCP connection and I store the TCPSocket in a variable “io\_1”: io\_1 = io If I do “io\_1.peeraddr” I can see the remote address. If latter the connection is closed by the peer and I do “io\_1.pee…

---

## [Script for wrapping and unwrapping text?](https://www.ruby-forum.com/t/script-for-wrapping-and-unwrapping-text/145764)

<div class="topic-metadata">

**Author:** [@dcarneiro](https://www.ruby-forum.com/u/dcarneiro)\
**Replies:** 2\
**Last updated:** [August 14, 2008, 1:11am UTC](https://www.ruby-forum.com/t/script-for-wrapping-and-unwrapping-text/145764 "2008-08-14T01:11:38Z")

</div>

I’m interested in storing, say, wiki pages as flat files that can be edited with Vim or Emacs and also processed with line-based unix text tools and version control systems like Git. All these tools work much better w…

---

## [After a long delay, r128 is out](https://www.ruby-forum.com/t/after-a-long-delay-r128-is-out/145698)

<div class="topic-metadata">

**Author:** [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Replies:** 4\
**Last updated:** [August 14, 2008, 12:47am UTC](https://www.ruby-forum.com/t/after-a-long-delay-r128-is-out/145698 "2008-08-14T00:47:39Z")

</div>

Hi Everyone, We were stalled on a bunch of improvements that I wanted to make for external devs (mostly related to removal of the SIGNED requirement for external layouts). That’s been done now, and modulo some hiccups…

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

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