# Ruby

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

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

---

## [\[Feature #2471\] want to choose a GC algorithm](https://www.ruby-forum.com/t/feature-2471-want-to-choose-a-gc-algorithm/180030)

<div class="topic-metadata">

**Author:** [@SSwanabe](https://www.ruby-forum.com/u/SSwanabe)\
**Replies:** 7\
**Last updated:** [March 31, 2010, 5:02pm UTC](https://www.ruby-forum.com/t/feature-2471-want-to-choose-a-gc-algorithm/180030 "2010-03-31T17:02:29Z")

</div>

Feature #2471: want to choose a GC algorithm http://redmine.ruby-lang.org/issues/show/2471 e$B5/I\<\<Te(B: \_ wanabe e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: core, Target version: 1.9.2 GC e$B$N%"%…

---

## [Oracle Windows Connect](https://www.ruby-forum.com/t/oracle-windows-connect/185943)

<div class="topic-metadata">

**Author:** [@wjrogers](https://www.ruby-forum.com/u/wjrogers)\
**Replies:** 10\
**Last updated:** [March 31, 2010, 4:40pm UTC](https://www.ruby-forum.com/t/oracle-windows-connect/185943 "2010-03-31T16:40:22Z")

</div>

Hello all, I’m a newbie using Windows. I’m trying to connect to Oracle to get started. I made it thru a Proxy problem where none of my gems were loading. Now I’m trying to to connect via Oracle. I get the following …

---

## [\[Feature #3036\] String#encode(to, from, opt) $B$N(B opt\[:replace\] $B$K(B Hash](https://www.ruby-forum.com/t/feature-3036-string-encode-to-from-opt-b-n-b-opt-replace-b-k-b-hash/186100)

<div class="topic-metadata">

**Author:** [@Yui\_NARUSE](https://www.ruby-forum.com/u/Yui_NARUSE)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 4:34pm UTC](https://www.ruby-forum.com/t/feature-3036-string-encode-to-from-opt-b-n-b-opt-replace-b-k-b-hash/186100 "2010-03-31T16:34:23Z")

</div>

e$B%A%1%C%He(B #3036 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE) Target version 1.9.2e$B$K%;%C%He(B e$BH?BP$,$J$$$N$G!“e(B1.9.2 e$B$Ne(B feature e$B$H$7$FG’$a$i$l$?$H$\_$J$7$^$9!#e(B e$B$J$\*!”\<BAu$rD|$a$?\>l9g$d!"e(B4e$B…

---

## [Why getting error for this code fragment](https://www.ruby-forum.com/t/why-getting-error-for-this-code-fragment/186059)

<div class="topic-metadata">

**Author:** [@amishera](https://www.ruby-forum.com/u/amishera)\
**Replies:** 3\
**Last updated:** [March 31, 2010, 12:23pm UTC](https://www.ruby-forum.com/t/why-getting-error-for-this-code-fragment/186059 "2010-03-31T12:23:14Z")

</div>

5 class Movie\_Info 6 attr\_accessor :runtime, :language, :sound, :color 7 def to\_str 38 puts (runtime==nil?‘nil’:runtime)+’&&&’+(language==nil?‘nil’:language)+’&&&’+(color==nil?‘nil’:co…

---

## [Error in Starling on Windows](https://www.ruby-forum.com/t/error-in-starling-on-windows/186064)

<div class="topic-metadata">

**Author:** [@Kyung\_won\_C](https://www.ruby-forum.com/u/Kyung_won_C)\
**Replies:** 1\
**Last updated:** [March 31, 2010, 10:43am UTC](https://www.ruby-forum.com/t/error-in-starling-on-windows/186064 "2010-03-31T10:43:07Z")

</div>

Windows7 d:\> ruby -v ruby 1.8.6 (2008-08-11 patchlevel 287) \[i386-mswin32\] d:\> starling --version Starling 0.10.0 d:\> gem search eventmachine eventmachine (0.12.10) Errno::EBADF: Bad file descriptor - /var/spool…

---

## [Advice on macruby and graphics](https://www.ruby-forum.com/t/advice-on-macruby-and-graphics/185945)

<div class="topic-metadata">

**Author:** [@damnpenguins](https://www.ruby-forum.com/u/damnpenguins)\
**Replies:** 6\
**Last updated:** [March 31, 2010, 10:35am UTC](https://www.ruby-forum.com/t/advice-on-macruby-and-graphics/185945 "2010-03-31T10:35:12Z")

</div>

Hi there Everyone, I’ve spent the last year or so away from ruby. That being said, I wouldn’t say I was a ruby guru at the height of my knowledge anyway! I’m interested in building a macruby desktop app for backtesti…

---

## [Want to convert this php code to ruby](https://www.ruby-forum.com/t/want-to-convert-this-php-code-to-ruby/186008)

<div class="topic-metadata">

**Author:** [@hunt](https://www.ruby-forum.com/u/hunt)\
**Replies:** 2\
**Last updated:** [March 31, 2010, 10:15am UTC](https://www.ruby-forum.com/t/want-to-convert-this-php-code-to-ruby/186008 "2010-03-31T10:15:36Z")

</div>

function tooltip($el,$content,$options=array()) { if ( substr($content,0,1)!=’$’) $content = “’$content’”; if($options) { return $this-\>Javascript-\>codeBlock($this-\>output(sprintf($this-\>tooltip\[‘fancy’\],$el,$content…

---

## [Silverlight Problem](https://www.ruby-forum.com/t/silverlight-problem/185218)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 1\
**Last updated:** [March 31, 2010, 9:48am UTC](https://www.ruby-forum.com/t/silverlight-problem/185218 "2010-03-31T09:48:40Z")

</div>

Hi there, I’m trying to create an IronRuby-driven Silverlight project. I’m using the sl tool and Chiron as the server. When trying to view the out-of-the-box template, I get an exception: Unhandled Error in Silverli…

---

## [Chiron on linux](https://www.ruby-forum.com/t/chiron-on-linux/184845)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 3\
**Last updated:** [March 31, 2010, 9:19am UTC](https://www.ruby-forum.com/t/chiron-on-linux/184845 "2010-03-31T09:19:59Z")

</div>

Hi the chiron /b command works on mac and windows but AFAIK it doesn’t on linux based systems. On debian and ubuntu systems often there is a package xdg-open installed which provides the same functionality as start o…

---

## [Consuming DynamicObjects in IronRuby](https://www.ruby-forum.com/t/consuming-dynamicobjects-in-ironruby/184461)

<div class="topic-metadata">

**Author:** [@rlwinter](https://www.ruby-forum.com/u/rlwinter)\
**Replies:** 9\
**Last updated:** [March 31, 2010, 8:37am UTC](https://www.ruby-forum.com/t/consuming-dynamicobjects-in-ironruby/184461 "2010-03-31T08:37:15Z")

</div>

Ironruby-core mailing list removed\_email\_address@domain.invalid http://rubyforge.org/mailman/listinfo/ironruby-core

---

## [A sure way to crash JRuby with Nokogiri, on Windows](https://www.ruby-forum.com/t/a-sure-way-to-crash-jruby-with-nokogiri-on-windows/185862)

<div class="topic-metadata">

**Author:** [@luchp](https://www.ruby-forum.com/u/luchp)\
**Replies:** 3\
**Last updated:** [March 31, 2010, 8:36am UTC](https://www.ruby-forum.com/t/a-sure-way-to-crash-jruby-with-nokogiri-on-windows/185862 "2010-03-31T08:36:40Z")

</div>

Greetings, I’m sending this to Ruby-talk because I’m really not sure if the problem is in JRuby, Nokogiri or FFI. So, Using JRuby 1.4.0 (standard or complete) and Nokogiri-java 1.4.1, on Windows, try this: require “…

---

## [Block or record MSN/AIM conversations](https://www.ruby-forum.com/t/block-or-record-msn-aim-conversations/185917)

<div class="topic-metadata">

**Author:** [@rihana](https://www.ruby-forum.com/u/rihana)\
**Replies:** 3\
**Last updated:** [March 31, 2010, 8:19am UTC](https://www.ruby-forum.com/t/block-or-record-msn-aim-conversations/185917 "2010-03-31T08:19:57Z")

</div>

Do you know any good software to block msn or other chat tools,many employees have wasted many time to chatting with other people during the working time

---

## [IronRuby.Rack how to debug?](https://www.ruby-forum.com/t/ironruby-rack-how-to-debug/185126)

<div class="topic-metadata">

**Author:** [@xjivan](https://www.ruby-forum.com/u/xjivan)\
**Replies:** 5\
**Last updated:** [March 31, 2010, 7:40am UTC](https://www.ruby-forum.com/t/ironruby-rack-how-to-debug/185126 "2010-03-31T07:40:28Z")

</div>

Hi IronRuby.Rack isn’t passing the windows credentials through, but uses the credentials from the app pool so using a user + password in database.yml did change the error message. development: mode: ADONET adapte…

---

## [\[Feature #2673\] the length for an enumerator generated by Array#permutation and Array#combination](https://www.ruby-forum.com/t/feature-2673-the-length-for-an-enumerator-generated-by-array-permutation-and-array-combination/182437)

<div class="topic-metadata">

**Author:** [@Kenta\_M](https://www.ruby-forum.com/u/Kenta_M)\
**Replies:** 13\
**Last updated:** [March 31, 2010, 6:33am UTC](https://www.ruby-forum.com/t/feature-2673-the-length-for-an-enumerator-generated-by-array-permutation-and-array-combination/182437 "2010-03-31T06:33:11Z")

</div>

Feature #2673: the length for an enumerator generated by Array#permutation and Array#combination http://redmine.ruby-lang.org/issues/show/2673 e$B5/I\<\<Te(B: Kenta M. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%…

---

## [Looking for a ruby resource](https://www.ruby-forum.com/t/looking-for-a-ruby-resource/186046)

<div class="topic-metadata">

**Author:** [@kayote](https://www.ruby-forum.com/u/kayote)\
**Replies:** 3\
**Last updated:** [March 31, 2010, 6:05am UTC](https://www.ruby-forum.com/t/looking-for-a-ruby-resource/186046 "2010-03-31T06:05:01Z")

</div>

Guys, Would someone point me to a book or preferably online resource where I can find all the definitions and using of ruby object/properties/methods? Basically, Im thinking of something similar to the following refe…

---

## [Graph 1.2.0 Released](https://www.ruby-forum.com/t/graph-1-2-0-released/186066)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 5:51am UTC](https://www.ruby-forum.com/t/graph-1-2-0-released/186066 "2010-03-31T05:51:39Z")

</div>

graph version 1.2.0 has been released! http://rubyforge.org/projects/seattlerb Graph is a type of hash that outputs in graphviz’s dot format. It comes with a command-line interface that is easily pluggable. It ships…

---

## [Rdoc\_osx\_dictionary 1.3.1 Released](https://www.ruby-forum.com/t/rdoc-osx-dictionary-1-3-1-released/186065)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 5:26am UTC](https://www.ruby-forum.com/t/rdoc-osx-dictionary-1-3-1-released/186065 "2010-03-31T05:26:35Z")

</div>

rdoc\_osx\_dictionary version 1.3.1 has been released! http://rubyforge.org/projects/seattlerb rdoc via Apple’s Dictionary.app. Automatically builds and installs an Apple Dictionary with all rdoc nicely formatted. Ins…

---

## [Rubygems-sing 1.2.1 Released](https://www.ruby-forum.com/t/rubygems-sing-1-2-1-released/186063)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 4:38am UTC](https://www.ruby-forum.com/t/rubygems-sing-1-2-1-released/186063 "2010-03-31T04:38:35Z")

</div>

rubygems-sing version 1.2.1 has been released! http://rubyforge.org/projects/seattlerb “Sings” a gem’s implementation. Changes: 1.2.1 / 2010-03-30 1 bug fix: Fixed a missing require. Breaks on rubygems 1.3.6

---

## [Revert 1.9 \\w limitation to ASCII](https://www.ruby-forum.com/t/revert-1-9-w-limitation-to-ascii/186022)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 3\
**Last updated:** [March 31, 2010, 3:12am UTC](https://www.ruby-forum.com/t/revert-1-9-w-limitation-to-ascii/186022 "2010-03-31T03:12:35Z")

</div>

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B \\de$B$,e(B\[0-9\]e$B$KJQ99$5$l$?$H$-$K!“F1;~$Ke(B \\w e$B$be(BASCIIe$B$NHO0O$K8BDj$5e(B e$B$l$^$7$?$,!”$3$l$Oe(B 1.8 e$B$H$NBg$-$JHs8\_49@-$K$J$j$=$&$G$9!#e(BEUC e$B$de(BSJISe$B$K$$$$F$O…

---

## [Install rmagick-2.12.2 for Ruby on Windows-Xp](https://www.ruby-forum.com/t/install-rmagick-2-12-2-for-ruby-on-windows-xp/186039)

<div class="topic-metadata">

**Author:** [@gorkimaximum](https://www.ruby-forum.com/u/gorkimaximum)\
**Replies:** 1\
**Last updated:** [March 31, 2010, 1:50am UTC](https://www.ruby-forum.com/t/install-rmagick-2-12-2-for-ruby-on-windows-xp/186039 "2010-03-31T01:50:39Z")

</div>

Hello, After a lot of time triying, i could finally install rmagick-2.12.2 gem in ruby-1.8.7 on Windows-Xp. If ImageMagic is installed in c:/ImageMagic, the secret to install the gem is the --with-opt-dir: gem insta…

---

## [Why doesn't Array#product return Enumerator?](https://www.ruby-forum.com/t/why-doesnt-array-product-return-enumerator/175209)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 7\
**Last updated:** [March 31, 2010, 12:09am UTC](https://www.ruby-forum.com/t/why-doesnt-array-product-return-enumerator/175209 "2010-03-31T00:09:58Z")

</div>

e$B1sF#$G$9!#e(B Array#product e$B$Oe(B Enumerator e$B$G$J$/G\[Ns$rJV$7$^$9$,!“2?$+M}M3$,e(B e$B$”$C$F$N$3$H$G$7$g$&$+!#e(B Array#permutation e$B$de(B combination e$B$N$h$&$Ke(B Enumerator e$B$rJV$7$?J}$,e(B e$B\<+A3…

---

## [ZenTest 4.3.1 Released](https://www.ruby-forum.com/t/zentest-4-3-1-released/186055)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [March 30, 2010, 11:16pm UTC](https://www.ruby-forum.com/t/zentest-4-3-1-released/186055 "2010-03-30T23:16:07Z")

</div>

ZenTest version 4.3.1 has been released! http://www.zenspider.com/ZSS/Products/ZenTest/ http://rubyforge.org/projects/zentest/ removed\_email\_address@domain.invalid ZenTest provides 4 different tools: zentest, unit\_dif…

---

## [Keiju, please check tickets assigned to you](https://www.ruby-forum.com/t/keiju-please-check-tickets-assigned-to-you/185338)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 14\
**Last updated:** [March 30, 2010, 10:16pm UTC](https://www.ruby-forum.com/t/keiju-please-check-tickets-assigned-to-you/185338 "2010-03-30T22:16:25Z")

</div>

e$B$$$7$D$+$5$se(B \[ruby-core:28667\] e$B$G$b8@$$$^$7$?$,!"C4Ev$K$J$C$F$$$k%A%1%C%H$KJV;v$r$7$Fe(B e$B$/$@$5$$!#$\*4j$$$7$^$9!#e(B e$BFC$K$$$7$D$+$5$s$rFM$C$D$$$F$$$k$N$O!";\_$^$C$F$$$k%A%1%C%H$,B?$$5$$,$9$ke(B (e$B?t$…

---

## [Net/ssh and ruby 1.9.1](https://www.ruby-forum.com/t/net-ssh-and-ruby-1-9-1/185970)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [March 30, 2010, 8:29pm UTC](https://www.ruby-forum.com/t/net-ssh-and-ruby-1-9-1/185970 "2010-03-30T20:29:24Z")

</div>

Hey All, I’m trying to use net/ssh under ruby 1.9.1p243 (2009-07-16 revision 24175) \[i386-mingw32\]. When I try to do a simple “require ‘net/ssh’” I get the below stack trace (uninitialized constant DL::Importable (N…

---

## [Require and include?](https://www.ruby-forum.com/t/require-and-include/186028)

<div class="topic-metadata">

**Author:** [@rantingrick](https://www.ruby-forum.com/u/rantingrick)\
**Replies:** 7\
**Last updated:** [March 30, 2010, 6:29pm UTC](https://www.ruby-forum.com/t/require-and-include/186028 "2010-03-30T18:29:35Z")

</div>

Hello, I am having trouble understanding the difference between require and include. Also i need to know how to import a certain function or class into my current namespace. Now before i go any further i should expla…

---

## [SmartImage 0.0.2: a sane cross-platform image compositing and thumbnail library](https://www.ruby-forum.com/t/smartimage-0-0-2-a-sane-cross-platform-image-compositing-and-thumbnail-library/186024)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 2\
**Last updated:** [March 30, 2010, 6:20pm UTC](https://www.ruby-forum.com/t/smartimage-0-0-2-a-sane-cross-platform-image-compositing-and-thumbnail-library/186024 "2010-03-30T18:20:01Z")

</div>

SmartImage is a new, powerful, cross-platform Ruby library for compositing images and making thumbnails: gem install smartimage The above command should work on MRI (or any other platform that can load the RMagick C …

---

## [Ruby Summer of Code!](https://www.ruby-forum.com/t/ruby-summer-of-code/185768)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 7\
**Last updated:** [March 30, 2010, 5:41pm UTC](https://www.ruby-forum.com/t/ruby-summer-of-code/185768 "2010-03-30T17:41:18Z")

</div>

As you may have heard, the “Rails” organization was not accepted for the Google Summer of Code this year (which seems to have gotten extremely Python-heavy, or at least heavy with Google’s favorite projects). So what …

---

## [Coercing nil/obj to false/true](https://www.ruby-forum.com/t/coercing-nil-obj-to-false-true/185991)

<div class="topic-metadata">

**Author:** [@steveybaby](https://www.ruby-forum.com/u/steveybaby)\
**Replies:** 4\
**Last updated:** [March 30, 2010, 5:34pm UTC](https://www.ruby-forum.com/t/coercing-nil-obj-to-false-true/185991 "2010-03-30T17:34:21Z")

</div>

I know this probably comes up a lot, but I could not Google the exact question as I’m formulating it. Is there a way to avoid this idiom? def is\_there\_one(whatever) !some\_call\_to\_lib\_that\_returns\_object\_or\_nil(whatev…

---

## [Install magickwand 0.2.0 and rmagick 2.12.2](https://www.ruby-forum.com/t/install-magickwand-0-2-0-and-rmagick-2-12-2/186025)

<div class="topic-metadata">

**Author:** [@gorkimaximum](https://www.ruby-forum.com/u/gorkimaximum)\
**Replies:** 0\
**Last updated:** [March 30, 2010, 5:01pm UTC](https://www.ruby-forum.com/t/install-magickwand-0-2-0-and-rmagick-2-12-2/186025 "2010-03-30T17:01:11Z")

</div>

My question is: Can i install magickwand-0.2.0 and rmagick-2.12.2 in ruby-1.8.7-p249 on Windows-Xp.? I have correctly installed ImageMaqick (I can install either the binary version for Windows 5.6.5 or 5.6.6 without …

---

## [How to get the row size of the html's table?](https://www.ruby-forum.com/t/how-to-get-the-row-size-of-the-htmls-table/186018)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 1\
**Last updated:** [March 30, 2010, 4:58pm UTC](https://www.ruby-forum.com/t/how-to-get-the-row-size-of-the-htmls-table/186018 "2010-03-30T16:58:37Z")

</div>

in vb, we can use webbrowaer to get tables row. for example, webbrowser1.document.getElementsByTagName(“table”)(0).rows.length then we can get the row size of html’table 1 if i have a html file(/home/name/test.html)…

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

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