# Ruby

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

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

---

## [Win32api breaks gems on mono](https://www.ruby-forum.com/t/win32api-breaks-gems-on-mono/176633)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 5:29pm UTC](https://www.ruby-forum.com/t/win32api-breaks-gems-on-mono/176633 "2009-10-03T17:29:53Z")

</div>

Hi The new win32api additions don’t work on another OS than windows. This breaks rubygems and most likely rightly so. +ivan@ivan-mbp:~/Downloads/ironruby-2be42fd Â» igem list IronRuby.Libraries:0:in GetFunction': Lo…

---

## [Exception from open-uri](https://www.ruby-forum.com/t/exception-from-open-uri/176616)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 4\
**Last updated:** [October 3, 2009, 2:02pm UTC](https://www.ruby-forum.com/t/exception-from-open-uri/176616 "2009-10-03T14:02:41Z")

</div>

e$B1sF#$G$9!#e(B open-uri e$B$r;H$C$FDj4|E\*$Ke(B Web e$B%Z!\<%8$r\<hF@$9$k%W%m%0%i%\`$rAv$i$;$Fe(B e$B$$$k$H!"\<B$K$5$^$6$^$JNc30$,Ej$2$i$l$&$k$3$H$K5$$,$D$-$^$7$?!#e(B e$B:#$N$H$3$m7P83$7$?$3$H$,$"$k$N$O0J2\<$Ne(B 7 e$B$…

---

## [Core dump with marshal](https://www.ruby-forum.com/t/core-dump-with-marshal/176625)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 12:57pm UTC](https://www.ruby-forum.com/t/core-dump-with-marshal/176625 "2009-10-03T12:57:42Z")

</div>

e$B0J2\<$N$h$&$K$9$k$He(B SEGV e$B$7$^$9!#e(B 1.9 e$B$Ge(B Marshal.dump: class C def marshal\_dump $block.call(:marshal\_dump) end def dump\_each(&block) $block = block Marshal.dump(self) end end o = C.new e = o…

---

## [\[Bug:1.9\] Ripper.new("proc{|;y|}").parse needs more than 100Mbytes](https://www.ruby-forum.com/t/bug-1-9-ripper-new-proc-y-parse-needs-more-than-100mbytes/176621)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 10:09am UTC](https://www.ruby-forum.com/t/bug-1-9-ripper-new-proc-y-parse-needs-more-than-100mbytes/176621 "2009-10-03T10:09:40Z")

</div>

e$B0J2\<$N$h$&$K!"%"%I%l%96u4V$re(B 100Mbytes e$B$K@)8B$7$?\>u67$Ge(B Ripper.new(“proc{|;y|}”).parse e$B$,e(B NoMemoryError e$B$K$J$j$^$9!#e(B % limit addressspace 100m % ./ruby -rripper -ve ‘Ripper.new(“proc{|;y|}”).p…

---

## [\[ANN\] Rumai 3.1.0](https://www.ruby-forum.com/t/ann-rumai-3-1-0/176618)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 9:11am UTC](https://www.ruby-forum.com/t/ann-rumai-3-1-0/176618 "2009-10-03T09:11:11Z")

</div>

Rumai 3.1.0 Ruby interface to the wmii window manager http://snk.tuxfamily.org/lib/rumai/ Rumai is a \[1\]Ruby interface to the \[2\]wmii window manager. Version 3.1.0 (2009-1…

---

## [\[ANN\] gold gem](https://www.ruby-forum.com/t/ann-gold-gem/176617)

<div class="topic-metadata">

**Author:** [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 8:37am UTC](https://www.ruby-forum.com/t/ann-gold-gem/176617 "2009-10-03T08:37:42Z")

</div>

Hi there ! I am happy to announce the first gem release of the ‘gold’ tool: ~~ Gold is a simple executable that helps git teamwork by wrapping git commands. ~~ http://zenadmin.org/en/community/module574.html The maj…

---

## [Rolling String Buffer needed](https://www.ruby-forum.com/t/rolling-string-buffer-needed/176585)

<div class="topic-metadata">

**Author:** [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Replies:** 5\
**Last updated:** [October 3, 2009, 5:35am UTC](https://www.ruby-forum.com/t/rolling-string-buffer-needed/176585 "2009-10-03T05:35:10Z")

</div>

I have constant ascii data streaming in, each message terminated with \\n, currently I look for something specific and throw away the other stuff and then look for something specific and throw away the other stuff…etc …

---

## [FasterCSV - varying headers](https://www.ruby-forum.com/t/fastercsv-varying-headers/176497)

<div class="topic-metadata">

**Author:** [@bungoman](https://www.ruby-forum.com/u/bungoman)\
**Replies:** 5\
**Last updated:** [October 3, 2009, 4:45am UTC](https://www.ruby-forum.com/t/fastercsv-varying-headers/176497 "2009-10-03T04:45:11Z")

</div>

Hello, Quick warning: I am very much a ruby newbie and am extremely new to programming in general. I’m attempting to build a little program that operates on a large csv file (potentially 100,000+ lines), but the cha…

---

## [Unicorn 0.93.0 - Rack HTTP server](https://www.ruby-forum.com/t/unicorn-0-93-0-rack-http-server/176605)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 1\
**Last updated:** [October 3, 2009, 3:26am UTC](https://www.ruby-forum.com/t/unicorn-0-93-0-rack-http-server/176605 "2009-10-03T03:26:25Z")

</div>

Unicorn is a HTTP server for Rack applications designed to take advantage of features in Unix/Unix-like kernels and only serve fast clients on low-latency, high-bandwidth connections. More small fixes and documentatio…

---

## [Debugging in Ruby](https://www.ruby-forum.com/t/debugging-in-ruby/176536)

<div class="topic-metadata">

**Author:** [@yousef\_1987](https://www.ruby-forum.com/u/yousef_1987)\
**Replies:** 2\
**Last updated:** [October 3, 2009, 2:46am UTC](https://www.ruby-forum.com/t/debugging-in-ruby/176536 "2009-10-03T02:46:02Z")

</div>

hi everybody I a new in Ruby P.ming , I want to know what are the benefits of using Debugging technique. by create breakpoint …

---

## [JRuby 1.4.0RC1 Released](https://www.ruby-forum.com/t/jruby-1-4-0rc1-released/176612)

<div class="topic-metadata">

**Author:** [@Thomas\_E\_Enebo](https://www.ruby-forum.com/u/Thomas_E_Enebo)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 1:38am UTC](https://www.ruby-forum.com/t/jruby-1-4-0rc1-released/176612 "2009-10-03T01:38:43Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.4.0RC1 Homepage: http://www.jruby.org/ Download: Downloads — JRuby.org JRuby 1.4.0 Release Candidate 1 ends a long release cycle in which we resolved …

---

## [\[ANN\] JRuby 1.4.0RC1 Released](https://www.ruby-forum.com/t/ann-jruby-1-4-0rc1-released/176613)

<div class="topic-metadata">

**Author:** [@Thomas\_E\_Enebo](https://www.ruby-forum.com/u/Thomas_E_Enebo)\
**Replies:** 0\
**Last updated:** [October 3, 2009, 1:35am UTC](https://www.ruby-forum.com/t/ann-jruby-1-4-0rc1-released/176613 "2009-10-03T01:35:48Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.4.0RC1 Homepage: http://www.jruby.org/ Download: Downloads — JRuby.org JRuby 1.4.0 Release Candidate 1 ends a long release cycle in which we resolved …

---

## [Localmemcache-0.4.3: Improving Iteration Speed & Bugfixes](https://www.ruby-forum.com/t/localmemcache-0-4-3-improving-iteration-speed-bugfixes/176604)

<div class="topic-metadata">

**Author:** [@Sven\_CSKoehler](https://www.ruby-forum.com/u/Sven_CSKoehler)\
**Replies:** 0\
**Last updated:** [October 2, 2009, 11:44pm UTC](https://www.ruby-forum.com/t/localmemcache-0-4-3-improving-iteration-speed-bugfixes/176604 "2009-10-02T23:44:00Z")

</div>

Localmemcache 0.4.3 brings the following improvements Fixes/bugs reported by Paul Mineiro (thanks!): iteration speedup: each\_pair is now a lot faster when dealing with a large dictionary. Eg: For 400k elements it’s …

---

## [Port forwarding with net/ssh](https://www.ruby-forum.com/t/port-forwarding-with-net-ssh/176597)

<div class="topic-metadata">

**Author:** [@azraelnewtype](https://www.ruby-forum.com/u/azraelnewtype)\
**Replies:** 1\
**Last updated:** [October 2, 2009, 10:43pm UTC](https://www.ruby-forum.com/t/port-forwarding-with-net-ssh/176597 "2009-10-02T22:43:06Z")

</div>

I’ve created a simple script to setup local port forwarding using net/ssh, but I can’t quite get it to work. My main script is initializing a websphere JMX over SOAP through a firewall. This ssh command works, I can …

---

## [Loading environment in script started with StartupScriptLauncher and jruby-rack 0.9.5](https://www.ruby-forum.com/t/loading-environment-in-script-started-with-startupscriptlauncher-and-jruby-rack-0-9-5/176550)

<div class="topic-metadata">

**Author:** [@jreiss](https://www.ruby-forum.com/u/jreiss)\
**Replies:** 2\
**Last updated:** [October 2, 2009, 9:41pm UTC](https://www.ruby-forum.com/t/loading-environment-in-script-started-with-startupscriptlauncher-and-jruby-rack-0-9-5/176550 "2009-10-02T21:41:02Z")

</div>

Hello, I am trying to run a script at rails startup from a war file using the StartupScriptLauncher listener class written by Nick Seiger: I have seen a couple of examples of its use on the web. Both use the follow…

---

## [\[ANN\] deeby 1.0.0 Released](https://www.ruby-forum.com/t/ann-deeby-1-0-0-released/176600)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [October 2, 2009, 9:18pm UTC](https://www.ruby-forum.com/t/ann-deeby-1-0-0-released/176600 "2009-10-02T21:18:48Z")

</div>

deeby version 1.0.0 has been released! http://github.com/jbarnette/deeby Tasks to switch your Rails database configuration for a single Rake run. Useful when you’re targeting more than one database engine. I use thi…

---

## [Possible ScriptEngine and parsing bug when converting block to a parameter](https://www.ruby-forum.com/t/possible-scriptengine-and-parsing-bug-when-converting-block-to-a-parameter/176598)

<div class="topic-metadata">

**Author:** [@dotty](https://www.ruby-forum.com/u/dotty)\
**Replies:** 2\
**Last updated:** [October 2, 2009, 9:17pm UTC](https://www.ruby-forum.com/t/possible-scriptengine-and-parsing-bug-when-converting-block-to-a-parameter/176598 "2009-10-02T21:17:37Z")

</div>

I was getting an error trying to use ScriptEngine to require ‘win32ole’ (Actually, I need this from C#, below example given because its easier to show in IronRuby): IronRuby.create\_engine.execute\_file(‘Libs\\win32ol…

---

## [Control of Priority Queue Order? And size limits on queues?](https://www.ruby-forum.com/t/control-of-priority-queue-order-and-size-limits-on-queues/176464)

<div class="topic-metadata">

**Author:** [@masonkessinger](https://www.ruby-forum.com/u/masonkessinger)\
**Replies:** 5\
**Last updated:** [October 2, 2009, 8:03pm UTC](https://www.ruby-forum.com/t/control-of-priority-queue-order-and-size-limits-on-queues/176464 "2009-10-02T20:03:51Z")

</div>

I’ve successfully used the Priority Queue to sort ascending items for solving the 8-puzzle problem. I noticed that the Priority Queue method had a unique way of sorting items with matching keys. It puts the newest …

---

## [Using Warbler for Multiple deploys?](https://www.ruby-forum.com/t/using-warbler-for-multiple-deploys/176578)

<div class="topic-metadata">

**Author:** [@homerlex](https://www.ruby-forum.com/u/homerlex)\
**Replies:** 4\
**Last updated:** [October 2, 2009, 7:19pm UTC](https://www.ruby-forum.com/t/using-warbler-for-multiple-deploys/176578 "2009-10-02T19:19:41Z")

</div>

I am using Warbler to create my Rails app war from within Netbeans. I currently have a static web.xml in my config that gets included in the war. I’d like to be able to have different web.xml files for different envi…

---

## [Suggest a game development tool?](https://www.ruby-forum.com/t/suggest-a-game-development-tool/176552)

<div class="topic-metadata">

**Author:** [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Replies:** 8\
**Last updated:** [October 2, 2009, 5:56pm UTC](https://www.ruby-forum.com/t/suggest-a-game-development-tool/176552 "2009-10-02T17:56:20Z")

</div>

I’d like to make a 2D RPG in the style of FF5 and it’s ilk. What tool do you suggest using? Trying to get rubygame to work on my mac? Or the other rudl/ruby+sdl tools, that just dont seem to want to work under Snow Le…

---

## [Socket error handling... Net http](https://www.ruby-forum.com/t/socket-error-handling-net-http/176557)

<div class="topic-metadata">

**Author:** [@i8igmac](https://www.ruby-forum.com/u/i8igmac)\
**Replies:** 5\
**Last updated:** [October 2, 2009, 5:49pm UTC](https://www.ruby-forum.com/t/socket-error-handling-net-http/176557 "2009-10-02T17:49:39Z")

</div>

loop { res = Net::HTTP.get\_response(URI.parse(‘http://bigmac.t35.com/text.txt’)) print res.body sleep 3 } this loop brakes when i get the (SocketError)… i get errors because of bad connection to my wireless networ…

---

## [IronRuby on NetBeans](https://www.ruby-forum.com/t/ironruby-on-netbeans/176570)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 3\
**Last updated:** [October 2, 2009, 5:45pm UTC](https://www.ruby-forum.com/t/ironruby-on-netbeans/176570 "2009-10-02T17:45:05Z")

</div>

Hi friends, I was trying to use IronRuby as a Ruby platform in NetBeans but without any success. It keeps telling me that the interpreter doesn’t seem to be a valid Ruby interpreter. This is what I have tried witho…

---

## [Monitors on data structures](https://www.ruby-forum.com/t/monitors-on-data-structures/176470)

<div class="topic-metadata">

**Author:** [@russellf](https://www.ruby-forum.com/u/russellf)\
**Replies:** 6\
**Last updated:** [October 2, 2009, 5:08pm UTC](https://www.ruby-forum.com/t/monitors-on-data-structures/176470 "2009-10-02T17:08:10Z")

</div>

Hi I am trying to use monitors for the first time in ruby. I am familiar with the concept but am having some problems making things work. Background: I have a program that uses nmap-parser to parse large nmap scans…

---

## [Config.datadir during testing](https://www.ruby-forum.com/t/config-datadir-during-testing/176537)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [October 2, 2009, 3:02pm UTC](https://www.ruby-forum.com/t/config-datadir-during-testing/176537 "2009-10-02T15:02:18Z")

</div>

How do I deal with Config.datadir during testing? I don’t want it to point to where the Gem will be, once it has been installed, but to the ”data” directory in my current work directory. I figured that I’d override C…

---

## [How do you do this](https://www.ruby-forum.com/t/how-do-you-do-this/176514)

<div class="topic-metadata">

**Author:** [@georgeuoa](https://www.ruby-forum.com/u/georgeuoa)\
**Replies:** 19\
**Last updated:** [October 2, 2009, 2:00pm UTC](https://www.ruby-forum.com/t/how-do-you-do-this/176514 "2009-10-02T14:00:50Z")

</div>

Given an array of strings e.g. x = \[“abc”,“abcde” “def”,“xyzwj”\] and of different lengths, how can you efficiently create new arrays of strings which are of the same length. for example the above array can be transfor…

---

## [Rubygems: System variables I'm missing?](https://www.ruby-forum.com/t/rubygems-system-variables-im-missing/176522)

<div class="topic-metadata">

**Author:** [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Replies:** 2\
**Last updated:** [October 2, 2009, 9:05am UTC](https://www.ruby-forum.com/t/rubygems-system-variables-im-missing/176522 "2009-10-02T09:05:46Z")

</div>

Hello! I have irb/gem/ruby1.9 installed in /opt/local/bin. Recently I tried to install ‘wirble’… /opt/local/bin/gem1.9 install wirble I got a message abuot not having write access to /opt/…/gems or something along t…

---

## [\#2009 File.open memory leak](https://www.ruby-forum.com/t/2009-file-open-memory-leak/176442)

<div class="topic-metadata">

**Author:** [@SSSBSHS\_SSSSS5SRSmS](https://www.ruby-forum.com/u/SSSBSHS_SSSSS5SRSmS)\
**Replies:** 2\
**Last updated:** [October 2, 2009, 7:46am UTC](https://www.ruby-forum.com/t/2009-file-open-memory-leak/176442 "2009-10-02T07:46:45Z")

</div>

e$B$H$\_$?$G$9!#e(B e$B1Q8l$O%@%a$J$N$Ge(B ruby-dev e$B$G!De(B http://redmine.ruby-lang.org/issues/show/2009 e$B$Ne(B File.open memory leak e$B$G$9$,!"860x$Oe(B r21435 e$B$Ne(B gc.c e$B$N\<!$NJQ99$@$H;W$$$^$9!#e(B @@ …

---

## [Howto: load YAML and preserve the key order?](https://www.ruby-forum.com/t/howto-load-yaml-and-preserve-the-key-order/176562)

<div class="topic-metadata">

**Author:** [@bwv549](https://www.ruby-forum.com/u/bwv549)\
**Replies:** 0\
**Last updated:** [October 2, 2009, 6:20am UTC](https://www.ruby-forum.com/t/howto-load-yaml-and-preserve-the-key-order/176562 "2009-10-02T06:20:42Z")

</div>

the orderedhash gem does a really nice job at allowing you to print yaml with ordered keys. quick example to show what I’m talking about require ‘orderedhash’ h = OrderedHash.new h\[3\] = 8 h\[9\] = 10 h.to\_yaml # w…

---

## [Rb\_origenviron](https://www.ruby-forum.com/t/rb-origenviron/176483)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 3\
**Last updated:** [October 2, 2009, 6:07am UTC](https://www.ruby-forum.com/t/rb-origenviron/176483 "2009-10-02T06:07:14Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B eval.ce$B$NCf$Ke(Brb\_origenvirone$B$H$$$&%0%m!\<%P%kJQ?t$,$"$j$^$9$,!“e(B ruby\_init()e$B$GCM$r@\_Dj$7$F$$$k$\[$+$O0l@Z;HMQ$5$l$F$\*$i$:!”$^$?!“e(B e$B%X%C%@$G8x3+$b$5$l$F$$…

---

## [TimeAnHalf](https://www.ruby-forum.com/t/timeanhalf/176559)

<div class="topic-metadata">

**Author:** [@Waruna\_Withanachchi](https://www.ruby-forum.com/u/Waruna_Withanachchi)\
**Replies:** 0\
**Last updated:** [October 2, 2009, 5:35am UTC](https://www.ruby-forum.com/t/timeanhalf/176559 "2009-10-02T05:35:37Z")

</div>

get it done in Time An Half visit

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

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