# Ruby

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

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

---

## [Ruby + FreeBSD = bandwidth killer?](https://www.ruby-forum.com/t/ruby-freebsd-bandwidth-killer/154184)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 4\
**Last updated:** [November 26, 2008, 9:28am UTC](https://www.ruby-forum.com/t/ruby-freebsd-bandwidth-killer/154184 "2008-11-26T09:28:17Z")

</div>

This is a bizarre situation. I have a program that makes heavy use of Hpricot. The program uses the Daemons gem to break apart into multiple processes all running essentially the same program, each working on a differ…

---

## [Reflection method name order](https://www.ruby-forum.com/t/reflection-method-name-order/154186)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 1\
**Last updated:** [November 26, 2008, 8:47am UTC](https://www.ruby-forum.com/t/reflection-method-name-order/154186 "2008-11-26T08:47:08Z")

</div>

Can I depend on .methods returning methods in the order they are written in the class source code? I would assume Unit::Test counts on that, and playing around with this test seems to indicate that order is retained, …

---

## [Hosts with just Ruby?](https://www.ruby-forum.com/t/hosts-with-just-ruby/154067)

<div class="topic-metadata">

**Author:** [@kylemathews](https://www.ruby-forum.com/u/kylemathews)\
**Replies:** 2\
**Last updated:** [November 26, 2008, 6:08am UTC](https://www.ruby-forum.com/t/hosts-with-just-ruby/154067 "2008-11-26T06:08:01Z")

</div>

I’m looking to host a simple, cheap, website, and since all hosts have PHP, i’ll probably end up using that. But, are there any hosts that allow for Ruby (not Rails). I would think that Ruby alone wouldn’t cost very …

---

## [\[Bug:1.8\] RSTRING in ext/gdbm/gdbm.c](https://www.ruby-forum.com/t/bug-1-8-rstring-in-ext-gdbm-gdbm-c/154087)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 2\
**Last updated:** [November 26, 2008, 5:37am UTC](https://www.ruby-forum.com/t/bug-1-8-rstring-in-ext-gdbm-gdbm-c/154087 "2008-11-26T05:37:37Z")

</div>

e$B@\>;3OB9-$G$9!#e(B \[ruby-core:20082\]e$B$K$R$C$+$+$C$?$N$G!"$H$j$"$($:e(B Index: object.c — object.c(revision 20352) +++ object.c(working copy) @@ -223,7 +223,7 @@ } clone = rb\_obj\_alloc(rb\_obj\_class(obj)); RBASI…

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/154177)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [November 26, 2008, 5:37am UTC](https://www.ruby-forum.com/t/unsubscribe/154177 "2008-11-26T05:37:02Z")

</div>

please remove removed\_email\_address@domain.invalid from email listing

---

## [My attr\_accessor](https://www.ruby-forum.com/t/my-attr-accessor/154053)

<div class="topic-metadata">

**Author:** [@cibercitizen1](https://www.ruby-forum.com/u/cibercitizen1)\
**Replies:** 3\
**Last updated:** [November 25, 2008, 11:05pm UTC](https://www.ruby-forum.com/t/my-attr-accessor/154053 "2008-11-25T23:05:40Z")

</div>

I tried to class Foo attr\_accessor :bar1, :bar2 def initialize( &bloc ) instance\_eval( &bloc ) end end and then f = Foo.new { bar1 = 12345 bar2 = 44444 } but this doesn’t work unless you write @bar1=12345 i…

---

## [Gruff and labeling](https://www.ruby-forum.com/t/gruff-and-labeling/154155)

<div class="topic-metadata">

**Author:** [@silentd3at4](https://www.ruby-forum.com/u/silentd3at4)\
**Replies:** 1\
**Last updated:** [November 25, 2008, 11:03pm UTC](https://www.ruby-forum.com/t/gruff-and-labeling/154155 "2008-11-25T23:03:22Z")

</div>

I have everything done my output goes to a graph everything is fine except now i need to put labels on the x axis for each decade. So currently Y-axis Says: population X-axis says: years and they Y-Axis has the years…

---

## [Pipe in cmd-line text but then reset STDIN for menu](https://www.ruby-forum.com/t/pipe-in-cmd-line-text-but-then-reset-stdin-for-menu/154078)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 2\
**Last updated:** [November 25, 2008, 10:26pm UTC](https://www.ruby-forum.com/t/pipe-in-cmd-line-text-but-then-reset-stdin-for-menu/154078 "2008-11-25T22:26:25Z")

</div>

Hello, I’m trying to make a customized pager utility that can process file-contents piped in from the command line, equally well as a list of provided file names. e.g. cat testfile | my\_util.rb or my\_util.rb t…

---

## [Ruby 1.9 binary on ruby-lang.org not built with zlib?](https://www.ruby-forum.com/t/ruby-1-9-binary-on-ruby-lang-org-not-built-with-zlib/154031)

<div class="topic-metadata">

**Author:** [@pod](https://www.ruby-forum.com/u/pod)\
**Replies:** 1\
**Last updated:** [November 25, 2008, 10:16pm UTC](https://www.ruby-forum.com/t/ruby-1-9-binary-on-ruby-lang-org-not-built-with-zlib/154031 "2008-11-25T22:16:43Z")

</div>

Hello Ruby fans. The binary 1.9 package that’s foudn on the ruby website doesn’t seem to either a) contain zlib.dll or b) have it statically linked in. This causes problems when trying to run gem. I personally solved…

---

## [Needed - ass kicking rubyist level 4.2](https://www.ruby-forum.com/t/needed-ass-kicking-rubyist-level-4-2/154072)

<div class="topic-metadata">

**Author:** [@ahoward](https://www.ruby-forum.com/u/ahoward)\
**Replies:** 6\
**Last updated:** [November 25, 2008, 8:12pm UTC](https://www.ruby-forum.com/t/needed-ass-kicking-rubyist-level-4-2/154072 "2008-11-25T20:12:51Z")

</div>

here’s the gig . startup . pays well and on time . gaining funding (in the current climate - whoot) . ruby, macs, linux, rails, bsd, mysql, merb, couchdb this’d be a contracting (hourly) situation, at least for a li…

---

## [\[Bug #793\](Closed) BigDecimal('Infinity').to\_r $B$,Nm$K$J$k(B](https://www.ruby-forum.com/t/bug-793-closed-bigdecimal-infinity-to-r-b-nm-k-j-k-b/154138)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 0\
**Last updated:** [November 25, 2008, 7:24pm UTC](https://www.ruby-forum.com/t/bug-793-closed-bigdecimal-infinity-to-r-b-nm-k-j-k-b/154138 "2008-11-25T19:24:37Z")

</div>

e$B%A%1%C%He(B #793 e$B$,99?7$5$l$^$7$?!#e(B (by Yukihiro M.) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B fixed by r20360. http://redmine.ruby-lang.org/issues/show/793

---

## [\[Bug #794\](Closed) BigDecimal $B$,(B Segmentation fault $B$GMn$k$3$H$,$"$k(B](https://www.ruby-forum.com/t/bug-794-closed-bigdecimal-b-b-segmentation-fault-b-gmn-k-3-h-k-b/154137)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 0\
**Last updated:** [November 25, 2008, 7:08pm UTC](https://www.ruby-forum.com/t/bug-794-closed-bigdecimal-b-b-segmentation-fault-b-gmn-k-3-h-k-b/154137 "2008-11-25T19:08:43Z")

</div>

e$B%A%1%C%He(B #794 e$B$,99?7$5$l$^$7$?!#e(B (by Yukihiro M.) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B Applied in changeset r20359. http://redmine.ruby-lang.org/issues…

---

## [Facets Series: Hash#rekey](https://www.ruby-forum.com/t/facets-series-hash-rekey/153959)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 1\
**Last updated:** [November 25, 2008, 5:04pm UTC](https://www.ruby-forum.com/t/facets-series-hash-rekey/153959 "2008-11-25T17:04:38Z")

</div>

With the release of Facets 2.5 coming any day now, I decided it was a good time to start a series of posts on the all the goodness within. It’s starts here: http://tigerops.org/blog/2008/10/hash.html Also, while I’m …

---

## [\[Bug #781\] Numeric#step $B$G(B step $B$H$7$F(B Infinity $B$r$D$+$&$H(B NaN $B$r@8@.$9$k$3$H$](https://www.ruby-forum.com/t/bug-781-numeric-step-b-g-b-step-b-h-7-f-b-infinity-b-r-d-h-b-nan-b-r-8-9-k-3-h/154118)

<div class="topic-metadata">

**Author:** [@tadayoshi\_funaba](https://www.ruby-forum.com/u/tadayoshi_funaba)\
**Replies:** 1\
**Last updated:** [November 25, 2008, 4:44pm UTC](https://www.ruby-forum.com/t/bug-781-numeric-step-b-g-b-step-b-h-7-f-b-infinity-b-r-d-h-b-nan-b-r-8-9-k-3-h/154118 "2008-11-25T16:44:04Z")

</div>

e$B%A%1%C%He(B #781 e$B$,99?7$5$l$^$7$?!#e(B (by tadayoshi funaba) e$BC1$K3NG’$G$9$,!“e(Bstep e$B$,IbF0\>.?tE@?t$@$H!”:G=i$+$iIbF0\>.?tE@?t$K$J$Ce(B e$B$F$$$F!"B\>$N\>l9g$H0c$&$h$&$K8+$($^$9!#$3$l$O$3$&$$$&$b$N$G$9$+!#e(B …

---

## [\[Bug #792\](Closed) Time#strftime $B$N(B %\[xXrR\] $B$J$I$GI};XDj$,8z$+$J$$(B](https://www.ruby-forum.com/t/bug-792-closed-time-strftime-b-n-b-xxrr-b-j-i-gi-xdj-8z-j-b/154122)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 0\
**Last updated:** [November 25, 2008, 4:37pm UTC](https://www.ruby-forum.com/t/bug-792-closed-time-strftime-b-n-b-xxrr-b-j-i-gi-xdj-8z-j-b/154122 "2008-11-25T16:37:32Z")

</div>

e$B%A%1%C%He(B #792 e$B$,99?7$5$l$^$7$?!#e(B (by Yukihiro M.) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B Applied in changeset r20357. http://redmine.ruby-lang.org/issues…

---

## ["closed stream" problem](https://www.ruby-forum.com/t/closed-stream-problem/154121)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 0\
**Last updated:** [November 25, 2008, 4:36pm UTC](https://www.ruby-forum.com/t/closed-stream-problem/154121 "2008-11-25T16:36:30Z")

</div>

Hi, Can someone please help me with this error? It gives an exception of a “closed stream.” What is that? I see that it’s failing where it’s supposed to ftp over a file. I’m being asked to send over .success and/or .…

---

## [\[Bug #794\] BigDecimal $B$,(B Segmentation fault $B$GMn$k$3$H$,$"$k(B](https://www.ruby-forum.com/t/bug-794-bigdecimal-b-b-segmentation-fault-b-gmn-k-3-h-k-b/154117)

<div class="topic-metadata">

**Author:** [@tadayoshi\_funaba](https://www.ruby-forum.com/u/tadayoshi_funaba)\
**Replies:** 0\
**Last updated:** [November 25, 2008, 4:01pm UTC](https://www.ruby-forum.com/t/bug-794-bigdecimal-b-b-segmentation-fault-b-gmn-k-3-h-k-b/154117 "2008-11-25T16:01:02Z")

</div>

Bug #794: BigDecimal e$B$,e(B Segmentation fault e$B$GMn$k$3$H$,$"$ke(B http://redmine.ruby-lang.org/issues/show/794 e$B5/I\<\<Te(B: tadayoshi funaba e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal $ ./ruby -r bigdecimal …

---

## [\[Bug #787\](Closed) Time#strftime $B$G(B %i $B$O(B "%i" $B$K$J$k$N$K!"(B%\[EO-\_\] $B$J$I$O(B "](https://www.ruby-forum.com/t/bug-787-closed-time-strftime-b-g-b-i-b-o-b-i-b-k-j-k-n-k-b-eo-b-j-i-o-b/154113)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 0\
**Last updated:** [November 25, 2008, 3:27pm UTC](https://www.ruby-forum.com/t/bug-787-closed-time-strftime-b-g-b-i-b-o-b-i-b-k-j-k-n-k-b-eo-b-j-i-o-b/154113 "2008-11-25T15:27:28Z")

</div>

e$B%A%1%C%He(B #787 e$B$,99?7$5$l$^$7$?!#e(B (by Yukihiro M.) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B Applied in changeset r20355. http://redmine.ruby-lang.org/issues…

---

## [\[Bug #792\] Time#strftime $B$N(B %\[xXrR\] $B$J$I$GI};XDj$,8z$+$J$$(B](https://www.ruby-forum.com/t/bug-792-time-strftime-b-n-b-xxrr-b-j-i-gi-xdj-8z-j-b/154112)

<div class="topic-metadata">

**Author:** [@tadayoshi\_funaba](https://www.ruby-forum.com/u/tadayoshi_funaba)\
**Replies:** 0\
**Last updated:** [November 25, 2008, 3:22pm UTC](https://www.ruby-forum.com/t/bug-792-time-strftime-b-n-b-xxrr-b-j-i-gi-xdj-8z-j-b/154112 "2008-11-25T15:22:11Z")

</div>

Bug #792: Time#strftime e$B$Ne(B %\[xXrR\] e$B$J$I$GI};XDj$,8z$+$J$$e(B http://redmine.ruby-lang.org/issues/show/792 e$B5/I\<\<Te(B: tadayoshi funaba e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal $ ./ruby -e “p Time.now.s…

---

## [Hartford Ruby Group November meeting: 11/24](https://www.ruby-forum.com/t/hartford-ruby-group-november-meeting-11-24/153531)

<div class="topic-metadata">

**Author:** [@Dan\_Bernier](https://www.ruby-forum.com/u/Dan_Bernier)\
**Replies:** 1\
**Last updated:** [November 25, 2008, 3:00pm UTC](https://www.ruby-forum.com/t/hartford-ruby-group-november-meeting-11-24/153531 "2008-11-25T15:00:26Z")

</div>

The November meeting is this Monday, 6-8 PM. Flinn Mueller (http://www.actsasflinn.com/) will be talking about rspec, and we’ll hopefully hear stories from Voices that Matter attendees. We’ll raffle off The Professio…

---

## [(OT) Ruby API file for Notepad++](https://www.ruby-forum.com/t/ot-ruby-api-file-for-notepad/154040)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 1\
**Last updated:** [November 25, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/ot-ruby-api-file-for-notepad/154040 "2008-11-25T14:55:45Z")

</div>

Hi, Has anyone written a Ruby API for Notepad++ that provides Intellisense and would like to share? Aidy

---

## [Getting single char from string -- Simpler solution?](https://www.ruby-forum.com/t/getting-single-char-from-string-simpler-solution/154107)

<div class="topic-metadata">

**Author:** [@sa125](https://www.ruby-forum.com/u/sa125)\
**Replies:** 3\
**Last updated:** [November 25, 2008, 2:48pm UTC](https://www.ruby-forum.com/t/getting-single-char-from-string-simpler-solution/154107 "2008-11-25T14:48:55Z")

</div>

Hi - I’m trying to get a single char from string, but doing it like this return the ascii key: irb(main):060:0\> “hello”\[0\] =\> 104 I know this could be accomplished like this: irb(main):063:0\> “hello”.split(’’)\[0\] …

---

## [Nokogiri problem on Mac OS X](https://www.ruby-forum.com/t/nokogiri-problem-on-mac-os-x/153841)

<div class="topic-metadata">

**Author:** [@Diogo\_Terror](https://www.ruby-forum.com/u/Diogo_Terror)\
**Replies:** 3\
**Last updated:** [November 25, 2008, 2:38pm UTC](https://www.ruby-forum.com/t/nokogiri-problem-on-mac-os-x/153841 "2008-11-25T14:38:43Z")

</div>

I’m trying to install Merb, first thing I got was an issue with sqlite3, but I fixed that by re-installing both the sqlite3 and datamapper. Now I’m having an issue with nokogiri. Here’s the problem: dyld: NSLinkModul…

---

## [Soap wsa:To](https://www.ruby-forum.com/t/soap-wsa-to/69372)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 3\
**Last updated:** [November 25, 2008, 1:32pm UTC](https://www.ruby-forum.com/t/soap-wsa-to/69372 "2008-11-25T13:32:16Z")

</div>

When I’m trying to use a webservice provided by a .NET server from a ruby client I get the following error when calling the method: Server was unable to process the request - The message must contain a wsa:To header. …

---

## [KirbyBase, Table Default Values not being assigned](https://www.ruby-forum.com/t/kirbybase-table-default-values-not-being-assigned/153341)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 3\
**Last updated:** [November 25, 2008, 12:48pm UTC](https://www.ruby-forum.com/t/kirbybase-table-default-values-not-being-assigned/153341 "2008-11-25T12:48:05Z")

</div>

Hi Ive been using KirbyBase and got it up and working and been fine with basic stuff such as inserting and selecting. I create my own record class as well to retrieve and pass data to the table. The problem is with us…

---

## [Libxml-ruby segfault on CentOS 5 (64 bit)](https://www.ruby-forum.com/t/libxml-ruby-segfault-on-centos-5-64-bit/153871)

<div class="topic-metadata">

**Author:** [@hoshbad](https://www.ruby-forum.com/u/hoshbad)\
**Replies:** 3\
**Last updated:** [November 25, 2008, 10:23am UTC](https://www.ruby-forum.com/t/libxml-ruby-segfault-on-centos-5-64-bit/153871 "2008-11-25T10:23:58Z")

</div>

Hello all, Wondering if anyone has had issues with libxml-ruby segfaulting on 64-bit CentOS 5. This problem is reproducible both using the yum installed version of Ruby (1.8.5) and Ruby 1.8.7-p72 (compiled from sourc…

---

## [Net/ssh for enable mode on cisco router](https://www.ruby-forum.com/t/net-ssh-for-enable-mode-on-cisco-router/153898)

<div class="topic-metadata">

**Author:** [@jackster](https://www.ruby-forum.com/u/jackster)\
**Replies:** 5\
**Last updated:** [November 25, 2008, 9:24am UTC](https://www.ruby-forum.com/t/net-ssh-for-enable-mode-on-cisco-router/153898 "2008-11-25T09:24:32Z")

</div>

I am having trouble getting into enable mode and running commands on a cisco router using ssh. The following code allows me to successfully login and run a command and display the output: require “rubygems” require “n…

---

## [Get Paid 100-500$ free one day by click ads](https://www.ruby-forum.com/t/get-paid-100-500-free-one-day-by-click-ads/154085)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [November 25, 2008, 7:45am UTC](https://www.ruby-forum.com/t/get-paid-100-500-free-one-day-by-click-ads/154085 "2008-11-25T07:45:51Z")

</div>

Get Paid 100-500$ free one day by click ads http://getcashfree.cn/ the follow is the company 1, sandraclicks http://www.sandraclicks.com/?ref=binge2008binge 2,.buxout 3,smithbux https://www.smithbux.com/?r=bin…

---

## [Ruby Logo](https://www.ruby-forum.com/t/ruby-logo/153938)

<div class="topic-metadata">

**Author:** [@tunickelz](https://www.ruby-forum.com/u/tunickelz)\
**Replies:** 7\
**Last updated:** [November 25, 2008, 7:35am UTC](https://www.ruby-forum.com/t/ruby-logo/153938 "2008-11-25T07:35:55Z")

</div>

I changed the color a bit on the Ruby logo, and I think it looks better (and if I may say so, fits with Why’s (Poignant) Guide to Ruby better as well).

---

## [Permission problem under WinXP](https://www.ruby-forum.com/t/permission-problem-under-winxp/154080)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 4\
**Last updated:** [November 25, 2008, 6:25am UTC](https://www.ruby-forum.com/t/permission-problem-under-winxp/154080 "2008-11-25T06:25:43Z")

</div>

Hi All, I generated a Ruby on Rails app, which among other things, had to import content from a bunch of CSV files from time to time. When I generated the app, I had a typo: I used cvs instead of csv. When I star…

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

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