# Ruby

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

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

---

## [Ruby 1.9.1 RC1 is released](https://www.ruby-forum.com/t/ruby-1-9-1-rc1-is-released/156593)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 18\
**Last updated:** [January 4, 2009, 2:57pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-rc1-is-released/156593 "2009-01-04T14:57:06Z")

</div>

Hi, folks Ruby 1.9.1 has been just released. This is a release candidate of Ruby 1.9.1, which will be the first stable version of Ruby 1.9 series. Try it early and have a experience of modern, faster, with clearer sy…

---

## [AddrInfo](https://www.ruby-forum.com/t/addrinfo/246520)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [January 4, 2009, 8:46am UTC](https://www.ruby-forum.com/t/addrinfo/246520 "2009-01-04T08:46:07Z")

</div>

$BDs0F$J$N$G$9$,!"(Bext/socket $B$G(B AddrInfo $B%/%i%9$r?7@\_$9$k$N$O$I$&$G$7$g$&$+!#(B AddrInfo $B$O4pK\\E\*$K$O(B getaddrinfo(3) $B$N(B struct addrinfo $B$HBP(B $B1~$9$k\>pJs$r$b$D$b$N$H$7$^$9!#(B $B$J$s$G$3$l$,M\_$7$…

---

## [Racc 1.4.6 release](https://www.ruby-forum.com/t/racc-1-4-6-release/156566)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 11\
**Last updated:** [January 4, 2009, 4:33am UTC](https://www.ruby-forum.com/t/racc-1-4-6-release/156566 "2009-01-04T04:33:59Z")

</div>

racc 1.4.6 has been released! http://i.loveruby.net/en/projects/racc/ http://racc.rubyforge.org/ Racc is a LALR(1) parser generator. It is written in Ruby itself, and generates Ruby program. Changes: 1.4.6 Bugfi…

---

## [Removing entries from a Java Hashtable does not work](https://www.ruby-forum.com/t/removing-entries-from-a-java-hashtable-does-not-work/156842)

<div class="topic-metadata">

**Author:** [@eipipuz](https://www.ruby-forum.com/u/eipipuz)\
**Replies:** 1\
**Last updated:** [January 3, 2009, 11:55pm UTC](https://www.ruby-forum.com/t/removing-entries-from-a-java-hashtable-does-not-work/156842 "2009-01-03T23:55:40Z")

</div>

Hello G.s, I have a sentence in ruby like this one: java\_hashtable.remove code But the code is not removed from the hashtable. Is it a jaby bug or am I doing something wrong? Thanks, GA To unsubscribe from this l…

---

## [\[Bug #978\] Range#step $B$H(B Integer#step $B$N?6Iq$$$N0c$$(B](https://www.ruby-forum.com/t/bug-978-range-step-b-h-b-integer-step-b-n-6iq-n0c-b/156840)

<div class="topic-metadata">

**Author:** [@tadayoshi\_funaba](https://www.ruby-forum.com/u/tadayoshi_funaba)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 11:13pm UTC](https://www.ruby-forum.com/t/bug-978-range-step-b-h-b-integer-step-b-n-6iq-n0c-b/156840 "2009-01-03T23:13:21Z")

</div>

Bug #978: Range#step e$B$He(B Integer#step e$B$N?6Iq$$$N0c$$e(B http://redmine.ruby-lang.org/issues/show/978 e$B5/I\<\<Te(B: tadayoshi funaba e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B0J2\<$N$h$&$J\>l9g$KN\>\<T$OEy2A…

---

## [Consent: a firewall DSL for ActionController](https://www.ruby-forum.com/t/consent-a-firewall-dsl-for-actioncontroller/156837)

<div class="topic-metadata">

**Author:** [@james-calivar](https://www.ruby-forum.com/u/james-calivar)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/consent-a-firewall-dsl-for-actioncontroller/156837 "2009-01-03T21:39:23Z")

</div>

Hey all, In response to some ideas from a friend, I’ve hacked up Consent, a plugin that provides pre-filtering of incoming requests using a concise DSL: It lets you specify rules that tell your app whether to accep…

---

## [What does 'Monkey Patching' exactly Mean in Ruby?](https://www.ruby-forum.com/t/what-does-monkey-patching-exactly-mean-in-ruby/156438)

<div class="topic-metadata">

**Author:** [@Yaser\_S](https://www.ruby-forum.com/u/Yaser_S)\
**Replies:** 35\
**Last updated:** [January 3, 2009, 8:53pm UTC](https://www.ruby-forum.com/t/what-does-monkey-patching-exactly-mean-in-ruby/156438 "2009-01-03T20:53:25Z")

</div>

According to Wikipedia, a monkey patch1 is: a way to extend or modify the runtime code of dynamic languages \[…\] without altering the original source code. The following statement from the same entry confused me: I…

---

## [\[Bug #972\] cannot make with GNU make](https://www.ruby-forum.com/t/bug-972-cannot-make-with-gnu-make/156809)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 1\
**Last updated:** [January 3, 2009, 2:27pm UTC](https://www.ruby-forum.com/t/bug-972-cannot-make-with-gnu-make/156809 "2009-01-03T14:27:30Z")

</div>

Bug #972: cannot make with GNU make http://redmine.ruby-lang.org/issues/show/972 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Immediate e$B%+%F%4%je(B: core r21280 e$B$N1F6A$Ge(Binsns.ince…

---

## [How to convert JavaObject to YAML format?](https://www.ruby-forum.com/t/how-to-convert-javaobject-to-yaml-format/156817)

<div class="topic-metadata">

**Author:** [@Hiroki\_K](https://www.ruby-forum.com/u/Hiroki_K)\
**Replies:** 0\
**Last updated:** [January 3, 2009, 1:47pm UTC](https://www.ruby-forum.com/t/how-to-convert-javaobject-to-yaml-format/156817 "2009-01-03T13:47:04Z")

</div>

Hello, I would like to store Java object to YAML format using JRuby. I’ll show you the code below. Java public class LearinigJRubyAndJavaIntegration { public static void main(String\[\] args) throws Exception{ BSFMana…

---

## [Require wackyness](https://www.ruby-forum.com/t/require-wackyness/156796)

<div class="topic-metadata">

**Author:** [@spobo](https://www.ruby-forum.com/u/spobo)\
**Replies:** 2\
**Last updated:** [January 3, 2009, 1:38pm UTC](https://www.ruby-forum.com/t/require-wackyness/156796 "2009-01-03T13:38:04Z")

</div>

Hi, First time poster here … picking up Ruby again after neglecting it for 2 years after some rails work. But, instead of Rails, this time I want to properly understand Ruby. Sadly though progress is slow … mainly d…

---

## [Module specific metric methods for Numeric](https://www.ruby-forum.com/t/module-specific-metric-methods-for-numeric/156816)

<div class="topic-metadata">

**Author:** [@bterkuile](https://www.ruby-forum.com/u/bterkuile)\
**Replies:** 1\
**Last updated:** [January 3, 2009, 12:22pm UTC](https://www.ruby-forum.com/t/module-specific-metric-methods-for-numeric/156816 "2009-01-03T12:22:26Z")

</div>

Hi, I love ruby for it flexibility and ability to adapt, but I encountered a problem which I don’t have the answer for. Different modules may use a different metric base. Sketchup for examples thinks that 4 actually …

---

## [Problems with Mutex and ConditionVariable under IronRuby](https://www.ruby-forum.com/t/problems-with-mutex-and-conditionvariable-under-ironruby/156755)

<div class="topic-metadata">

**Author:** [@murena](https://www.ruby-forum.com/u/murena)\
**Replies:** 4\
**Last updated:** [January 3, 2009, 12:17pm UTC](https://www.ruby-forum.com/t/problems-with-mutex-and-conditionvariable-under-ironruby/156755 "2009-01-03T12:17:24Z")

</div>

Hello, I was playing with threads under IronRuby but it seems like I have stumbled on problems with Mutex and ConditionVariable. At first I thought the problem was related to my code even if it actually worked flawle…

---

## [Win32ole and WMI question](https://www.ruby-forum.com/t/win32ole-and-wmi-question/156806)

<div class="topic-metadata">

**Author:** [@baz0860](https://www.ruby-forum.com/u/baz0860)\
**Replies:** 2\
**Last updated:** [January 3, 2009, 11:58am UTC](https://www.ruby-forum.com/t/win32ole-and-wmi-question/156806 "2009-01-03T11:58:26Z")

</div>

Hi, I am trying to get process information from Windows server. Using examples I have found on the web and in documentation I have come up with the following script. require ‘win32ole’ wmi = WIN32OLE.connect("winmg…

---

## [Gem cleanup screw up](https://www.ruby-forum.com/t/gem-cleanup-screw-up/156720)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 9\
**Last updated:** [January 3, 2009, 3:23am UTC](https://www.ruby-forum.com/t/gem-cleanup-screw-up/156720 "2009-01-03T03:23:32Z")

</div>

I was running gem cleanup today, which was long overdue when I accidentally hit CTRL-C in the wrong window. It killed the cleanup process and trying to run the command again results in errors about each gem that had …

---

## [Ruby -\> python](https://www.ruby-forum.com/t/ruby-python/156418)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 7\
**Last updated:** [January 2, 2009, 11:45pm UTC](https://www.ruby-forum.com/t/ruby-python/156418 "2009-01-02T23:45:21Z")

</div>

I was thinking the other day…wouldn’t it be nice to be able to take advantage of some python capabilities from within Ruby, like psyco, for example? i.e. any “bottleneck” inner loops can be converted to Python, run b…

---

## [1.8 to 1.9 compatibility](https://www.ruby-forum.com/t/1-8-to-1-9-compatibility/156789)

<div class="topic-metadata">

**Author:** [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Replies:** 2\
**Last updated:** [January 2, 2009, 11:38pm UTC](https://www.ruby-forum.com/t/1-8-to-1-9-compatibility/156789 "2009-01-02T23:38:13Z")

</div>

As I said in the former thread, I have given some thoughts on this. But I am not a guru and I would like many more opinions on this. 90% of the possible things are quite trivial or easy, like using enumerator, definin…

---

## [Jruby-openssl multiple versions available](https://www.ruby-forum.com/t/jruby-openssl-multiple-versions-available/156770)

<div class="topic-metadata">

**Author:** [@marc](https://www.ruby-forum.com/u/marc)\
**Replies:** 1\
**Last updated:** [January 2, 2009, 11:31pm UTC](https://www.ruby-forum.com/t/jruby-openssl-multiple-versions-available/156770 "2009-01-02T23:31:46Z")

</div>

Hi, I was just adding jruby-openssl to netbeans and noticed that the re are two versions available: jruby-openssl Version:0.3 JRuby-OpenSSL Version:0.1 – Cheers, Marc To unsubscribe from this list, please visit: …

---

## [Glassfish on jruby HEAD](https://www.ruby-forum.com/t/glassfish-on-jruby-head/156778)

<div class="topic-metadata">

**Author:** [@marc](https://www.ruby-forum.com/u/marc)\
**Replies:** 1\
**Last updated:** [January 2, 2009, 11:30pm UTC](https://www.ruby-forum.com/t/glassfish-on-jruby-head/156778 "2009-01-02T23:30:36Z")

</div>

Hi, Is glassfish expected to run on jruby head? In nb I can run jruby head rails projects on glassfish using the inbuilt jruby 1.1.4, but when I try glassfish on jruby head, I get: INFO: Jruby version is: 1.1.7 INFO…

---

## [JRoR (JRuby 1.1.6) app. cannot load rubygems](https://www.ruby-forum.com/t/jror-jruby-1-1-6-app-cannot-load-rubygems/156790)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 7\
**Last updated:** [January 2, 2009, 11:14pm UTC](https://www.ruby-forum.com/t/jror-jruby-1-1-6-app-cannot-load-rubygems/156790 "2009-01-02T23:14:48Z")

</div>

All, JRuby 1.1.6 Websphere 6.1 I have a Rails app. that is packaged as a WAR file using Goldspike 1.6.1. When I try to start this app., I get an error that Rubygems can’t be loaded: “Rails requires RubyGems \>= 0.9…

---

## [Code Review: rakecrossplatform](https://www.ruby-forum.com/t/code-review-rakecrossplatform/156678)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 4\
**Last updated:** [January 2, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/code-review-rakecrossplatform/156678 "2009-01-02T21:10:24Z")

</div>

tfpt review “/shelveset:rakecrossplatform;REDMOND\\jdeville” Comment : Fixes the imports to reference the files in a platform agnostic way.

---

## [Management lessons](https://www.ruby-forum.com/t/management-lessons/156783)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 9:02pm UTC](https://www.ruby-forum.com/t/management-lessons/156783 "2009-01-02T21:02:09Z")

</div>

Delhi Institute of Management & Services Dear friends, We are extremely happy to welcome you to the world of Management… We are in the process of preparing some 5 minutes revision Q & A type lessons for management st…

---

## [Rspec file organization](https://www.ruby-forum.com/t/rspec-file-organization/156717)

<div class="topic-metadata">

**Author:** [@hotjuneshen](https://www.ruby-forum.com/u/hotjuneshen)\
**Replies:** 2\
**Last updated:** [January 2, 2009, 8:40pm UTC](https://www.ruby-forum.com/t/rspec-file-organization/156717 "2009-01-02T20:40:06Z")

</div>

Hi, How should i best organise my custom matcher files, should stay in spec/matchers? And how should they be namespaced? Also where should i but custom example groups? module ProjectName module Spec module Matchers …

---

## [Testing Framework Usage](https://www.ruby-forum.com/t/testing-framework-usage/196870)

<div class="topic-metadata">

**Author:** [@wycats](https://www.ruby-forum.com/u/wycats)\
**Replies:** 0\
**Last updated:** [January 2, 2009, 8:26pm UTC](https://www.ruby-forum.com/t/testing-framework-usage/196870 "2009-01-02T20:26:07Z")

</div>

In the interest of collecting some demographic information on the community, Matt (Aimonetti, Rails evangelist) put together a poll of testing framework usage. Please vote at Twtpoll. Thanks!

---

## [Problem with gem, after upgrading to 1.3.1 on linux (ubuntu 8.04)](https://www.ruby-forum.com/t/problem-with-gem-after-upgrading-to-1-3-1-on-linux-ubuntu-8-04/156729)

<div class="topic-metadata">

**Author:** [@pabloq](https://www.ruby-forum.com/u/pabloq)\
**Replies:** 5\
**Last updated:** [January 2, 2009, 5:17pm UTC](https://www.ruby-forum.com/t/problem-with-gem-after-upgrading-to-1-3-1-on-linux-ubuntu-8-04/156729 "2009-01-02T17:17:58Z")

</div>

Ruby doesn’t see my installed gems after upgrading to 1.3.1 Please help!! ~# ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) \[i686-linux\] ~# gem -v 1.3.1 ~# gem env RubyGems Environment: RUBYGEMS VERSION: 1.3.1 RU…

---

## [Happy New Year Ruby Community!](https://www.ruby-forum.com/t/happy-new-year-ruby-community/156677)

<div class="topic-metadata">

**Author:** [@pabloq](https://www.ruby-forum.com/u/pabloq)\
**Replies:** 7\
**Last updated:** [January 2, 2009, 5:16pm UTC](https://www.ruby-forum.com/t/happy-new-year-ruby-community/156677 "2009-01-02T17:16:12Z")

</div>

Happy New Year Ruby Community! Maybe in some countries it’s new year already. I have almost 2 years being happy with ruby, so happy, and more than a year reviewing ruby talks, very happy to be rubyist!!! Happy new y…

---

## [RAA down](https://www.ruby-forum.com/t/raa-down/156706)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 1\
**Last updated:** [January 2, 2009, 3:58pm UTC](https://www.ruby-forum.com/t/raa-down/156706 "2009-01-02T15:58:14Z")

</div>

Hi, I noticed the RAA site has been down for a few days. Anyone have any idea what’s happening? http://raa.ruby-lang.org Thanks, Dan

---

## [Compiling ruby for XP64](https://www.ruby-forum.com/t/compiling-ruby-for-xp64/91163)

<div class="topic-metadata">

**Author:** [@Wael](https://www.ruby-forum.com/u/Wael)\
**Replies:** 2\
**Last updated:** [January 2, 2009, 3:11pm UTC](https://www.ruby-forum.com/t/compiling-ruby-for-xp64/91163 "2009-01-02T15:11:55Z")

</div>

Hi, I’m trying to compile ruby 1.8.6 for native 64bit XP OS. I’m using MS Platform SDK for Windows Server 2003 R2 and building with 64bit build environment. Any one had tried this… the reason is we would like to run …

---

## [Function to flush the variable](https://www.ruby-forum.com/t/function-to-flush-the-variable/156752)

<div class="topic-metadata">

**Author:** [@amitjhs](https://www.ruby-forum.com/u/amitjhs)\
**Replies:** 5\
**Last updated:** [January 2, 2009, 3:08pm UTC](https://www.ruby-forum.com/t/function-to-flush-the-variable/156752 "2009-01-02T15:08:23Z")

</div>

Hi, Is there any function to flush the value from a variable. I am facing problem while assiging a value to Ruby variable.

---

## [Context of self](https://www.ruby-forum.com/t/context-of-self/156749)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 1\
**Last updated:** [January 2, 2009, 11:51am UTC](https://www.ruby-forum.com/t/context-of-self/156749 "2009-01-02T11:51:51Z")

</div>

Hi I tried like class First def initialize puts ‘in First class’+self.inspect end end class Second \< First def initialize super puts ‘in second class’+self.inspect end end Second.new I got result as in Fir…

---

## [Help using ruby enumerator idioms](https://www.ruby-forum.com/t/help-using-ruby-enumerator-idioms/156700)

<div class="topic-metadata">

**Author:** [@mischa](https://www.ruby-forum.com/u/mischa)\
**Replies:** 2\
**Last updated:** [January 2, 2009, 9:34am UTC](https://www.ruby-forum.com/t/help-using-ruby-enumerator-idioms/156700 "2009-01-02T09:34:57Z")

</div>

Hi, In Ruby, when I see something like: h = \[\] x.each do … end h Usually means that I can refactor it to use map, inject, select, or reject. However, I am unsure how to do this for the code below: h = Hash…

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

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