# Ruby

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

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

---

## [\[ANN\] Mongrel 0.3.13.2 -- RailsConf 2006 Release](https://www.ruby-forum.com/t/ann-mongrel-0-3-13-2-railsconf-2006-release/64415)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 0\
**Last updated:** [June 25, 2006, 4:48pm UTC](https://www.ruby-forum.com/t/ann-mongrel-0-3-13-2-railsconf-2006-release/64415 "2006-06-25T16:48:14Z")

</div>

Hello folks, Another release going out based on the very limited work done at RailsConf. Despite all the fun and the talks I did manage to squeeze in some more defensive maneuvers for everyone’s favorite canine ninja…

---

## [Ruby goodies?](https://www.ruby-forum.com/t/ruby-goodies/96010)

<div class="topic-metadata">

**Author:** [@roggan](https://www.ruby-forum.com/u/roggan)\
**Replies:** 10\
**Last updated:** [June 25, 2006, 10:31am UTC](https://www.ruby-forum.com/t/ruby-goodies/96010 "2006-06-25T10:31:42Z")

</div>

Im a C# programmer and Im totally new to Ruby. What would you guys say is the main benefits of Ruby over C#? C# has closures and is getting lambdas in C#3 So in what scenarios should I absolutely go for Ruby instead o…

---

## [Ripper core dump with arg\_paren](https://www.ruby-forum.com/t/ripper-core-dump-with-arg-paren/64399)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [June 25, 2006, 9:52am UTC](https://www.ruby-forum.com/t/ripper-core-dump-with-arg-paren/64399 "2006-06-25T09:52:40Z")

</div>

boron e$B$GMn$A$F$k$N$O$3$l$G$9$+$M$’!#e(B % ./ruby -rripper -ve ’ class C \< Ripper def on\_arg\_paren(\*a) p a end end p C.new(“new()”).parse’ ruby 1.9.0 (2006-06-24) \[i686-linux\] zsh: segmentation fault ./ruby -rr…

---

## [Weird Net::HTTP error](https://www.ruby-forum.com/t/weird-net-http-error/64388)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 4\
**Last updated:** [June 25, 2006, 9:09am UTC](https://www.ruby-forum.com/t/weird-net-http-error/64388 "2006-06-25T09:09:07Z")

</div>

You can copy and paste this in irb, but…this is a really strange problem. If ssh into my server in Oregon and paste the following code in irb it works just fine. If I ssh in one of my servers in Boston and paste the s…

---

## [Ruby 1.8.5 preview1 Segmentation fault on Cygwin](https://www.ruby-forum.com/t/ruby-1-8-5-preview1-segmentation-fault-on-cygwin/64386)

<div class="topic-metadata">

**Author:** [@Kouhei\_Y](https://www.ruby-forum.com/u/Kouhei_Y)\
**Replies:** 0\
**Last updated:** [June 25, 2006, 7:18am UTC](https://www.ruby-forum.com/t/ruby-1-8-5-preview1-segmentation-fault-on-cygwin/64386 "2006-06-25T07:18:48Z")

</div>

\[ruby-dev:28082\] e$B$HF1$8Js9p$K$J$j$^$9$,!"e(B 1.8.5 preview1 e$B$,e(B cygwin e$B\>e$Ge(B make test-all e$B$,e(B Segmentation fault e$B$K$J$j$^$9!#e(B e$B$?$@!"A02s$Oe(B \[ruby-dev:28091\] e$B$K$\*$$$Fe(B e$B$5$i$K!"e(…

---

## [Zlib not found no matter what I do](https://www.ruby-forum.com/t/zlib-not-found-no-matter-what-i-do/63908)

<div class="topic-metadata">

**Author:** [@lanny](https://www.ruby-forum.com/u/lanny)\
**Replies:** 11\
**Last updated:** [June 24, 2006, 11:26pm UTC](https://www.ruby-forum.com/t/zlib-not-found-no-matter-what-i-do/63908 "2006-06-24T23:26:31Z")

</div>

I have read all the posts and google output on zlib which rubygem install (and any require) cannot find. I have rerun ext/zlib rs6000:/huge/ruby-1.8.4/ext/zlib\>ruby extconf.rb checking for deflateReset() in -lz… yes …

---

## [Deploying ruby daemon processes (capistrano?)](https://www.ruby-forum.com/t/deploying-ruby-daemon-processes-capistrano/64307)

<div class="topic-metadata">

**Author:** [@scorintha](https://www.ruby-forum.com/u/scorintha)\
**Replies:** 1\
**Last updated:** [June 24, 2006, 11:04pm UTC](https://www.ruby-forum.com/t/deploying-ruby-daemon-processes-capistrano/64307 "2006-06-24T23:04:58Z")

</div>

I have a ruby job that is to run as a daemon on a bunch of machines (basically in /etc/init.d somewhere). It seems like Capistrano provides the correct framework for deploying something like this â?? but it is very ra…

---

## [Ascii representation of unicode string?](https://www.ruby-forum.com/t/ascii-representation-of-unicode-string/64189)

<div class="topic-metadata">

**Author:** [@darren\_kirby](https://www.ruby-forum.com/u/darren_kirby)\
**Replies:** 11\
**Last updated:** [June 24, 2006, 10:37pm UTC](https://www.ruby-forum.com/t/ascii-representation-of-unicode-string/64189 "2006-06-24T22:37:32Z")

</div>

Hello all. I am unpacking some unicode strings from a binary file. I have a string like: “W\\000M\\000/\\000T\\000r\\000a\\000c\\000k\\000N\\000u\\000m\\000b\\000e\\000r\\000\\000\\000\\003” and I need to turn it into: “WM/TrackNumb…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/96068)

<div class="topic-metadata">

**Author:** [@Benjohn\_B](https://www.ruby-forum.com/u/Benjohn_B)\
**Replies:** 2\
**Last updated:** [June 24, 2006, 10:15pm UTC](https://www.ruby-forum.com/t/no-subject/96068 "2006-06-24T22:15:53Z")

</div>

\#!/usr/bin/ruby module Pascal module\_function def next\_row® \[1\] + (0…r.size-1).map{|i|r\[i\]+r\[i+1\]} + \[1\] end def pyramid(n) n==1 ? \[\[1\]\] : (p=pyramid(n-1)) \<\< next\_row(p\[-1\]) end def pyramid\_string§ number\_spac…

---

## [Best openssl module?](https://www.ruby-forum.com/t/best-openssl-module/64320)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 4\
**Last updated:** [June 24, 2006, 9:10pm UTC](https://www.ruby-forum.com/t/best-openssl-module/64320 "2006-06-24T21:10:50Z")

</div>

I’m looking for a ruby openssl module that implements most of the openssl crypto library, including public/private key management/encryption as well as the x509 certificate functionality. Basically everything you need…

---

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

<div class="topic-metadata">

**Author:** [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Replies:** 10\
**Last updated:** [June 24, 2006, 9:04pm UTC](https://www.ruby-forum.com/t/how-to-do-this-debugging/95920 "2006-06-24T21:04:22Z")

</div>

People, I usually pipe my data file through my ruby script with: cat parsefile | t1.rb but some obscure problems have been tricky to find - if I use: ruby -r debug t1.rb how do I pipe the parsefile in ? Thanks, P…

---

## [Short But Unique (#83)](https://www.ruby-forum.com/t/short-but-unique-83/96015)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 2\
**Last updated:** [June 24, 2006, 8:39pm UTC](https://www.ruby-forum.com/t/short-but-unique-83/96015 "2006-06-24T20:39:42Z")

</div>

This is a pretty real world problem many applications struggle with. I dare say it’s hard to get right, which is probably why so many applications don’t even try. We had a few adventurous solvers though and they go…

---

## [Mongrel 0.3.13.2 Pre-Release -- RailsConf](https://www.ruby-forum.com/t/mongrel-0-3-13-2-pre-release-railsconf/64359)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 2\
**Last updated:** [June 24, 2006, 7:22pm UTC](https://www.ruby-forum.com/t/mongrel-0-3-13-2-pre-release-railsconf/64359 "2006-06-24T19:22:57Z")

</div>

Hey Folks, I’ve been meeting lots of great folks at RailsConf and in my spare time hacking up this latest pre-release of Mongrel. It features the following new goodies: Change to user:group is done after the socket…

---

## [How odd is Ruby code allowed to be?](https://www.ruby-forum.com/t/how-odd-is-ruby-code-allowed-to-be/64200)

<div class="topic-metadata">

**Author:** [@roggan](https://www.ruby-forum.com/u/roggan)\
**Replies:** 6\
**Last updated:** [June 24, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/how-odd-is-ruby-code-allowed-to-be/64200 "2006-06-24T19:08:10Z")

</div>

Ok, strange question maybe. Anyway, Im new to Ruby and I decided to make a small Aop lib just to learn all the nice things about ruby… so in my lib I can define an aspect like this: class MyAspect \< Aspect apply\_…

---

## [Ruby, Unicode - ever?](https://www.ruby-forum.com/t/ruby-unicode-ever/51963)

<div class="topic-metadata">

**Author:** [@dseverin](https://www.ruby-forum.com/u/dseverin)\
**Replies:** 20\
**Last updated:** [June 24, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/ruby-unicode-ever/51963 "2006-06-24T18:06:16Z")

</div>

Well, as I could search the web so far, since about 2001 or even early, once in a while appears question: why ruby does not support Unicode??? Why can’t ruby use at least ICU libs? (current state of UTF8 in Ruby, even…

---

## [Fork process with DRb client](https://www.ruby-forum.com/t/fork-process-with-drb-client/64234)

<div class="topic-metadata">

**Author:** [@hanholl](https://www.ruby-forum.com/u/hanholl)\
**Replies:** 3\
**Last updated:** [June 24, 2006, 4:28pm UTC](https://www.ruby-forum.com/t/fork-process-with-drb-client/64234 "2006-06-24T16:28:44Z")

</div>

Hello, If I fork a (Linux) process with a DRb client, both parent and child will communicate with the DRb server using the same Unix Domain sockets. With predictable, nasty results. Is there a way for the child to so…

---

## [GC problem by rb\_ary\_new4(x, 0)](https://www.ruby-forum.com/t/gc-problem-by-rb-ary-new4-x-0/64342)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 1\
**Last updated:** [June 24, 2006, 4:19pm UTC](https://www.ruby-forum.com/t/gc-problem-by-rb-ary-new4-x-0/64342 "2006-06-24T16:19:15Z")

</div>

boron e$B$G$b5/$-$F$$$^$9$,!"\<j85$G$be(B SEGV e$B$9$k$N$GD4$Y$F$\_$^$7$?!#e(B http://www.rubyist.net/~akr/chkbuild/debian-sarge/ruby-trunk/log/20060624T002949.txt.gz e$B$I$&$b!“e(Brb\_ary\_new4(i, 0) e$B$G3NJ\]$7$?$N$r=i4…

---

## [ERROR NoMethodError](https://www.ruby-forum.com/t/error-nomethoderror/64340)

<div class="topic-metadata">

**Author:** [@arunvoip](https://www.ruby-forum.com/u/arunvoip)\
**Replies:** 0\
**Last updated:** [June 24, 2006, 2:38pm UTC](https://www.ruby-forum.com/t/error-nomethoderror/64340 "2006-06-24T14:38:17Z")

</div>

Hi All, I’m trying to configure my ragi but its giving me a really hard time can some one help me. thank in advance. 2006-06-24 08:34:20\] INFO WEBrick 1.3.1 \[2006-06-24 08:34:20\] INFO ruby 1.8.4 (2005-12-24) \[i686…

---

## [Prop = x =\> y](https://www.ruby-forum.com/t/prop-x-y/96059)

<div class="topic-metadata">

**Author:** [@roggan](https://www.ruby-forum.com/u/roggan)\
**Replies:** 4\
**Last updated:** [June 24, 2006, 2:04pm UTC](https://www.ruby-forum.com/t/prop-x-y/96059 "2006-06-24T14:04:02Z")

</div>

Why cant I do things like: my\_prop = :foo =\> :bar when its possible to do: my\_meth :foo =\> :bar ?? ive tried with my\_prop = (:foo =\> :bar) to but no luck… //Roger

---

## [Simple post to IIS Server using net/http](https://www.ruby-forum.com/t/simple-post-to-iis-server-using-net-http/64156)

<div class="topic-metadata">

**Author:** [@ealdaz](https://www.ruby-forum.com/u/ealdaz)\
**Replies:** 6\
**Last updated:** [June 24, 2006, 1:38pm UTC](https://www.ruby-forum.com/t/simple-post-to-iis-server-using-net-http/64156 "2006-06-24T13:38:44Z")

</div>

Dear All I have a simple application that starts by sending a post to an IIS Server with user name and password information. Incredibly it works fine when the ruby application is run in windows, but when run from lin…

---

## [Mysql-ruby + ruby-mysql + activerecord == confusion](https://www.ruby-forum.com/t/mysql-ruby-ruby-mysql-activerecord-confusion/64296)

<div class="topic-metadata">

**Author:** [@ror-user](https://www.ruby-forum.com/u/ror-user)\
**Replies:** 3\
**Last updated:** [June 24, 2006, 10:38am UTC](https://www.ruby-forum.com/t/mysql-ruby-ruby-mysql-activerecord-confusion/64296 "2006-06-24T10:38:09Z")

</div>

Hi guys, I am having some difficulties with mysql :slight\_smile: I have rails working and activerecord works, and I can create webapps that display and update databases just fine. However, I am not using rails. I jus…

---

## [Windows gurus i beseech you](https://www.ruby-forum.com/t/windows-gurus-i-beseech-you/57252)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 11\
**Last updated:** [June 24, 2006, 8:27am UTC](https://www.ruby-forum.com/t/windows-gurus-i-beseech-you/57252 "2006-06-24T08:27:44Z")

</div>

so i need to compile a bunch of stuff on windows. some third party stuff and ruby extensions to those third party libs. everything i do must be compatible with the one-click installer, here’s what i’m thinking might …

---

## [Carats are irreplaceable? (String#tr quandry)](https://www.ruby-forum.com/t/carats-are-irreplaceable-string-tr-quandry/64323)

<div class="topic-metadata">

**Author:** [@makenai](https://www.ruby-forum.com/u/makenai)\
**Replies:** 2\
**Last updated:** [June 24, 2006, 7:03am UTC](https://www.ruby-forum.com/t/carats-are-irreplaceable-string-tr-quandry/64323 "2006-06-24T07:03:08Z")

</div>

Hi all, I ran into a little problem with String#tr today. I wanted to do something like: str = ‘kame^hame^ha^’ str.tr(’^’,’-’) But I got back an error about having a nil character class (\[^\]). According to the docs…

---

## [X screen capture](https://www.ruby-forum.com/t/x-screen-capture/64310)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [June 24, 2006, 6:31am UTC](https://www.ruby-forum.com/t/x-screen-capture/64310 "2006-06-24T06:31:53Z")

</div>

Hi, I started rewriting a screen capture application of mine in ruby in order to test some ruby bindings for the Enlightenment Foundation Libraries). In the c version, I use Imlib2 to grab screen data, but it doesn’t…

---

## [Re: gets, etc (was RE: Newbie Questions)](https://www.ruby-forum.com/t/re-gets-etc-was-re-newbie-questions/64322)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 0\
**Last updated:** [June 24, 2006, 6:27am UTC](https://www.ruby-forum.com/t/re-gets-etc-was-re-newbie-questions/64322 "2006-06-24T06:27:57Z")

</div>

Nobu wrote: Double Ctrl-D sends a text without a newline. \> maybe, we can we have #gets2 or #input (for lack of better a \> word) that automatically chops newline if there is one, \> orthogonal to #puts putting one if th…

---

## [Hide methods from debugger?](https://www.ruby-forum.com/t/hide-methods-from-debugger/96055)

<div class="topic-metadata">

**Author:** [@roggan](https://www.ruby-forum.com/u/roggan)\
**Replies:** 0\
**Last updated:** [June 24, 2006, 2:34am UTC](https://www.ruby-forum.com/t/hide-methods-from-debugger/96055 "2006-06-24T02:34:19Z")

</div>

Is it possible to hide methods from the debugger. in .NET there is a \[DebuggerHidden\] attribute that can be applied to methods so that the debugger just ignores that method and let the user continue debugging in any m…

---

## [What is good design? (Was: ruby-lang.org redesign?)](https://www.ruby-forum.com/t/what-is-good-design-was-ruby-lang-org-redesign/64308)

<div class="topic-metadata">

**Author:** [@Josef\_SJuppS\_SCHUGT](https://www.ruby-forum.com/u/Josef_SJuppS_SCHUGT)\
**Replies:** 0\
**Last updated:** [June 24, 2006, 1:37am UTC](https://www.ruby-forum.com/t/what-is-good-design-was-ruby-lang-org-redesign/64308 "2006-06-24T01:37:20Z")

</div>

Hi! At Wed, 21 Jun 2006 01:37:03 +0900, Kyrre N. wrote: Please, DO NOT PUBLISH THE NEW RUBY WEBSITE! PLEASE DON’T — I REPEAT PLEASE DON’T, AGAIN, PLEASE DON’T! The website is a joke to the trained eye. Please let …

---

## [Pp with array](https://www.ruby-forum.com/t/pp-with-array/96014)

<div class="topic-metadata">

**Author:** [@Nebata](https://www.ruby-forum.com/u/Nebata)\
**Replies:** 4\
**Last updated:** [June 24, 2006, 1:09am UTC](https://www.ruby-forum.com/t/pp-with-array/96014 "2006-06-24T01:09:45Z")

</div>

e$B$M$P$?$G$9!#e(B pp ( pretty print ) e$B$NF0:n$N%P%0Js9p$G$9!#e(B require ‘pp’ a=\[\[0, 1, 2, 3, 4\], \[1, 2, 3, 4, 5\], \[2, 3, 4, 5, 6\], \[3, 4, 5, 6, 7\]\] e$BK\>$\`7k2L$O!"e(B pp a =\> \[\[0, 1, 2, 3, 4\], \[1, 2, 3, 4, 5\], \[…

---

## [Method attributes in ruby?](https://www.ruby-forum.com/t/method-attributes-in-ruby/64292)

<div class="topic-metadata">

**Author:** [@roggan](https://www.ruby-forum.com/u/roggan)\
**Replies:** 2\
**Last updated:** [June 24, 2006, 12:08am UTC](https://www.ruby-forum.com/t/method-attributes-in-ruby/64292 "2006-06-24T00:08:41Z")

</div>

Is there any standard way of creating c# like attributes for ruby? eg in c# \[RequireTransaction\] public void MyMethod() … which can later be examined via reflection and see what attribs are available on each method…

---

## [Trying to make a Digest Auth extension for Net::HTTP](https://www.ruby-forum.com/t/trying-to-make-a-digest-auth-extension-for-net-http/64288)

<div class="topic-metadata">

**Author:** [@Ben\_Schaffhausen](https://www.ruby-forum.com/u/Ben_Schaffhausen)\
**Replies:** 2\
**Last updated:** [June 23, 2006, 11:19pm UTC](https://www.ruby-forum.com/t/trying-to-make-a-digest-auth-extension-for-net-http/64288 "2006-06-23T23:19:24Z")

</div>

Hello, I’ve been trying to implement (client-side) Digest Authentication capabilities to Net:HTTP (as stated in RFC2617) and am having trouble modifying the headers before I send the request to the server. So far I’…

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

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