# Ruby

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

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

---

## [Code Review: Ruby19Update](https://www.ruby-forum.com/t/code-review-ruby19update/191734)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [July 17, 2010, 3:18am UTC](https://www.ruby-forum.com/t/code-review-ruby19update/191734 "2010-07-17T03:18:08Z")

</div>

tfpt review “/shelveset:Ruby19Update;REDMOND\\tomat” Comment : Updates Ruby 1.9 to “Ruby 1.9.1-p378 RubyInstaller”. Tomas

---

## [Hpricot test for equivalence of two xml segments?](https://www.ruby-forum.com/t/hpricot-test-for-equivalence-of-two-xml-segments/191731)

<div class="topic-metadata">

**Author:** [@Xeno\_CSS\_Eskimo\_No](https://www.ruby-forum.com/u/Xeno_CSS_Eskimo_No)\
**Replies:** 5\
**Last updated:** [July 17, 2010, 3:15am UTC](https://www.ruby-forum.com/t/hpricot-test-for-equivalence-of-two-xml-segments/191731 "2010-07-17T03:15:47Z")

</div>

I’m looking through what documentation I can find for Hpricot (nokogirl wouldn’t install for me, and I just wand a quick an simple solution), and I cannot find a simple method to take two xml strings and find out if …

---

## [Adding "each" support for a range brought from excel](https://www.ruby-forum.com/t/adding-each-support-for-a-range-brought-from-excel/191672)

<div class="topic-metadata">

**Author:** [@michbukana](https://www.ruby-forum.com/u/michbukana)\
**Replies:** 3\
**Last updated:** [July 17, 2010, 2:31am UTC](https://www.ruby-forum.com/t/adding-each-support-for-a-range-brought-from-excel/191672 "2010-07-17T02:31:18Z")

</div>

Hi, I’m trying to do the following: load\_assembly “Microsoft.Office.Interop.Excel” include Microsoft::office::Interop app = Excel::ApplicationClass.new worksheet = app.workbooks.open(“samename.xlsx”.to\_clr\_string)…

---

## [Book problems and solution for windows 7](https://www.ruby-forum.com/t/book-problems-and-solution-for-windows-7/191735)

<div class="topic-metadata">

**Author:** [@ilyass\_ilyass](https://www.ruby-forum.com/u/ilyass_ilyass)\
**Replies:** 0\
**Last updated:** [July 17, 2010, 1:55am UTC](https://www.ruby-forum.com/t/book-problems-and-solution-for-windows-7/191735 "2010-07-17T01:55:37Z")

</div>

Book problems and solution for windows 7 This book takes you step by step to a new world. The world of Windows 7, even if the new system were not know how to use it. Explain everything to you in pictures. You do not n…

---

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

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [July 17, 2010, 1:19am UTC](https://www.ruby-forum.com/t/ann-rumai-3-3-0/191730 "2010-07-17T01:19:32Z")

</div>

Rumai Ruby interface to the wmii window manager http://snk.tuxfamily.org/lib/rumai/ Rumai is a pure \[1\]Ruby interface to the \[2\]wmii window manager. Its name is a portm…

---

## [Horo 1.0.0 Released](https://www.ruby-forum.com/t/horo-1-0-0-released/191732)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [July 17, 2010, 12:30am UTC](https://www.ruby-forum.com/t/horo-1-0-0-released/191732 "2010-07-17T00:30:09Z")

</div>

horo version 1.0.0 has been released! http://github.com/tenderlove/horo An RDoc template extracted from Ruby on Rails. Provides the same documetation style and format used for Ruby on Rails API documentation. Chang…

---

## [Recurse through array of arrays](https://www.ruby-forum.com/t/recurse-through-array-of-arrays/191701)

<div class="topic-metadata">

**Author:** [@tensaiji](https://www.ruby-forum.com/u/tensaiji)\
**Replies:** 4\
**Last updated:** [July 16, 2010, 9:46pm UTC](https://www.ruby-forum.com/t/recurse-through-array-of-arrays/191701 "2010-07-16T21:46:50Z")

</div>

Hi, I’ve written the method below to recurse through a non-binary tree of arbitrary depth. I’m still new to Ruby and was wondering if there were some Rubyism’s (or just general pointers) that might improve it? Each o…

---

## [Ruby 1.9.1 Array#combination kinda lazy](https://www.ruby-forum.com/t/ruby-1-9-1-array-combination-kinda-lazy/191654)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 5\
**Last updated:** [July 16, 2010, 8:50pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-array-combination-kinda-lazy/191654 "2010-07-16T20:50:38Z")

</div>

C:\>type tmp.rb count = 0 combo = nil (1…166).to\_a.combination(5).each do |c| count+= 1; combo = c end p count, combo C:\>ruby -v tmp.rb ruby 1.9.1p243 (2009-07-16 revision 24175) \[i386-mingw32\] 129462338 \[5, 34,…

---

## [If \_\_FILE\_\_ == $0 & ruby & rdebug & FXRuby](https://www.ruby-forum.com/t/if-file-0-ruby-rdebug-fxruby/191704)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 2\
**Last updated:** [July 16, 2010, 6:30pm UTC](https://www.ruby-forum.com/t/if-file-0-ruby-rdebug-fxruby/191704 "2010-07-16T18:30:09Z")

</div>

The following line acts differently under rdebug and ruby if FILE == $0 FXRuby has the line, above, in nearly all its sample code. Under rdebug, the value of $0 is, on my system, F:/InstantRails-2.0-win/ruby/bin/rdeb…

---

## [String#to\_ptr w/ Ruby 1.9's DL library is undefined](https://www.ruby-forum.com/t/string-to-ptr-w-ruby-1-9s-dl-library-is-undefined/191658)

<div class="topic-metadata">

**Author:** [@arjackson](https://www.ruby-forum.com/u/arjackson)\
**Replies:** 1\
**Last updated:** [July 16, 2010, 4:40pm UTC](https://www.ruby-forum.com/t/string-to-ptr-w-ruby-1-9s-dl-library-is-undefined/191658 "2010-07-16T16:40:24Z")

</div>

I’m working on porting up an extension from Ruby 1.8 to Ruby 1.9 and there is a method on String that gets added when using the DL library named to\_ptr in 1.8. In 1.9, because the DL library has changed somewhat, that…

---

## [Ruby for Windows Mobile (Win CE, CeGCC)](https://www.ruby-forum.com/t/ruby-for-windows-mobile-win-ce-cegcc/191628)

<div class="topic-metadata">

**Author:** [@axe1](https://www.ruby-forum.com/u/axe1)\
**Replies:** 3\
**Last updated:** [July 16, 2010, 4:35pm UTC](https://www.ruby-forum.com/t/ruby-for-windows-mobile-win-ce-cegcc/191628 "2010-07-16T16:35:22Z")

</div>

Hi, I’m spent countless time in searching working ruby port on Windows Mobile. I’m not a fan of this OS, but already have device with it and still want to try programming in ruby on it. Google kicked me to: Howto c…

---

## [Webgen 0.5.13 released](https://www.ruby-forum.com/t/webgen-0-5-13-released/191711)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 0\
**Last updated:** [July 16, 2010, 4:16pm UTC](https://www.ruby-forum.com/t/webgen-0-5-13-released/191711 "2010-07-16T16:16:03Z")

</div>

Hey everybody! webgen 0.5.13 has just been released! If you don’t know what webgen is, read the “What’s webgen?” section down below. This announcement is also available at http://webgen.rubyforge.org/news/release\_0\_5…

---

## [Help please with REXML](https://www.ruby-forum.com/t/help-please-with-rexml/191687)

<div class="topic-metadata">

**Author:** [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Replies:** 3\
**Last updated:** [July 16, 2010, 4:03pm UTC](https://www.ruby-forum.com/t/help-please-with-rexml/191687 "2010-07-16T16:03:45Z")

</div>

hello, I am trying to make a simple ruby script that can look at a set of xml files, and make a set of folders based on the content of the XML files. As it stands I can import the data with REXML, but when I run the s…

---

## [\[ANN\] Money 3.0.5](https://www.ruby-forum.com/t/ann-money-3-0-5/191707)

<div class="topic-metadata">

**Author:** [@semmons99](https://www.ruby-forum.com/u/semmons99)\
**Replies:** 0\
**Last updated:** [July 16, 2010, 3:18pm UTC](https://www.ruby-forum.com/t/ann-money-3-0-5/191707 "2010-07-16T15:18:43Z")

</div>

Money 3.0.5 Added Money#abs Updated Currency#subunit\_to\_unit documentation (it’s an integer not a string) Fixed issue when exchanging currencies with different :subunit\_to\_unit values Added ability to pass a block to…

---

## [Regexp: Incorrect behaviour of (\\d\\s\*){N,} and (\\d\\s\*?){N,}](https://www.ruby-forum.com/t/regexp-incorrect-behaviour-of-d-s-n-and-d-s-n/191685)

<div class="topic-metadata">

**Author:** [@trejkaz](https://www.ruby-forum.com/u/trejkaz)\
**Replies:** 1\
**Last updated:** [July 16, 2010, 2:13pm UTC](https://www.ruby-forum.com/t/regexp-incorrect-behaviour-of-d-s-n-and-d-s-n/191685 "2010-07-16T14:13:04Z")

</div>

Hi all. I (one of my users, actually) have found an interesting one. There are an enormous number of regular expression issues on JIRA so I’m not initially sure whether it’s known already or not. Expected behaviour …

---

## [Segmentation fault in interpreter doing simple MySQL](https://www.ruby-forum.com/t/segmentation-fault-in-interpreter-doing-simple-mysql/191680)

<div class="topic-metadata">

**Author:** [@jonraphaelson](https://www.ruby-forum.com/u/jonraphaelson)\
**Replies:** 1\
**Last updated:** [July 16, 2010, 12:18pm UTC](https://www.ruby-forum.com/t/segmentation-fault-in-interpreter-doing-simple-mysql/191680 "2010-07-16T12:18:53Z")

</div>

I am a relative ruby-newbie (hey that rhymes!) but I am a python expert so this error REALLY threw me. I am doing a VERY VERY simply SQL program that executes two queries in a row: require ‘mysql’ db = Mysql.connect…

---

## [Encode string in Ruby decode it in Javascript?](https://www.ruby-forum.com/t/encode-string-in-ruby-decode-it-in-javascript/191671)

<div class="topic-metadata">

**Author:** [@snouser](https://www.ruby-forum.com/u/snouser)\
**Replies:** 2\
**Last updated:** [July 16, 2010, 11:52am UTC](https://www.ruby-forum.com/t/encode-string-in-ruby-decode-it-in-javascript/191671 "2010-07-16T11:52:55Z")

</div>

As the title describe. I need to pass some data from the server side to the browser. But I cant figure out how to encode it on the server en decode using Javascript. Any ideas?

---

## [Sinatra + mumboe-soap4r + ruby1.9.1 problem](https://www.ruby-forum.com/t/sinatra-mumboe-soap4r-ruby1-9-1-problem/191691)

<div class="topic-metadata">

**Author:** [@spod](https://www.ruby-forum.com/u/spod)\
**Replies:** 0\
**Last updated:** [July 16, 2010, 10:14am UTC](https://www.ruby-forum.com/t/sinatra-mumboe-soap4r-ruby1-9-1-problem/191691 "2010-07-16T10:14:21Z")

</div>

Hi 2 all, i have following problem - simple ruby application with soap and sinatra require ‘rubygems’ require ‘sinatra’ gem ‘mumboe-soap4r’ require ‘soap/rpc/driver’ get ‘/’ do ‘just text’ end When i’m trying to…

---

## [Setting configuration until end of parent bash session](https://www.ruby-forum.com/t/setting-configuration-until-end-of-parent-bash-session/191663)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 5\
**Last updated:** [July 16, 2010, 5:26am UTC](https://www.ruby-forum.com/t/setting-configuration-until-end-of-parent-bash-session/191663 "2010-07-16T05:26:10Z")

</div>

Any advice on how a ruby script can set a config info that’s per parent process. In other words I want to be able to do something like: $ foo no setting Then… $ foo 10 Which will store 10 somehow. And when I run fo…

---

## [Logger's sync and flush returns NoMethod error](https://www.ruby-forum.com/t/loggers-sync-and-flush-returns-nomethod-error/191562)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 2\
**Last updated:** [July 16, 2010, 4:55am UTC](https://www.ruby-forum.com/t/loggers-sync-and-flush-returns-nomethod-error/191562 "2010-07-16T04:55:09Z")

</div>

Hi, Below is my code, which works fine in Ruby 1.8.6 (with Rails 2.3.5), except that sync and flush both return NoMethod. Have thos methods been eliminated? Thanks in Advance, Richard equire ‘rubygems’ require ‘a…

---

## [Farming automation](https://www.ruby-forum.com/t/farming-automation/191633)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [July 16, 2010, 4:51am UTC](https://www.ruby-forum.com/t/farming-automation/191633 "2010-07-16T04:51:49Z")

</div>

Hi, can we use parallel testing using few\[a farm of\] remote machines, without using remote desktop? For instance the following scenario: suppose that I have test1 automation suite and from my local machine I would …

---

## [Vlad 2.1.0 Released](https://www.ruby-forum.com/t/vlad-2-1-0-released/191677)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [July 16, 2010, 3:17am UTC](https://www.ruby-forum.com/t/vlad-2-1-0-released/191677 "2010-07-16T03:17:59Z")

</div>

vlad version 2.1.0 has been released! http://rubyhitsquad.com/ http://rubyforge.org/projects/hitsquad/ Vlad the Deployer is pragmatic application deployment automation, without mercy. Much like Capistrano, but with 1…

---

## [Rake-remote\_task 2.0.0 Released](https://www.ruby-forum.com/t/rake-remote-task-2-0-0-released/191676)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [July 16, 2010, 3:08am UTC](https://www.ruby-forum.com/t/rake-remote-task-2-0-0-released/191676 "2010-07-16T03:08:02Z")

</div>

rake-remote\_task version 2.0.0 has been released! http://rubyhitsquad.com/ http://rubyforge.org/projects/hitsquad/ Vlad the Deployer’s sexy brainchild is rake-remote\_task, extending Rake with remote task goodness. C…

---

## [Minitest-macruby 1.0.0 Released](https://www.ruby-forum.com/t/minitest-macruby-1-0-0-released/191675)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [July 16, 2010, 2:59am UTC](https://www.ruby-forum.com/t/minitest-macruby-1-0-0-released/191675 "2010-07-16T02:59:15Z")

</div>

minitest-macruby version 1.0.0 has been released! http://rubyforge.org/projects/bfts minitest-macruby provides extensions to minitest for macruby UI testing. It provides a framework to test GUI apps in a live instanc…

---

## [Code Review: RubyLibs](https://www.ruby-forum.com/t/code-review-rubylibs/191674)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [July 16, 2010, 2:15am UTC](https://www.ruby-forum.com/t/code-review-rubylibs/191674 "2010-07-16T02:15:21Z")

</div>

tfpt review “/shelveset:RubyLibs;REDMOND\\tomat” Comment : Multitargeting for assemblies loaded by scripts in Libs. codeplexcomment Tomas

---

## [Minitest 1.7.0 Released](https://www.ruby-forum.com/t/minitest-1-7-0-released/191673)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [July 16, 2010, 2:14am UTC](https://www.ruby-forum.com/t/minitest-1-7-0-released/191673 "2010-07-16T02:14:10Z")

</div>

minitest version 1.7.0 has been released! http://rubyforge.org/projects/bfts minitest/unit is a small and fast replacement for ruby’s huge and slow test/unit. This is meant to be clean and easy to use both as a regul…

---

## [Triggernig the debugger](https://www.ruby-forum.com/t/triggernig-the-debugger/191656)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 3\
**Last updated:** [July 15, 2010, 10:29pm UTC](https://www.ruby-forum.com/t/triggernig-the-debugger/191656 "2010-07-15T22:29:22Z")

</div>

In Rails I can use the debugger statement to trigger the debugger. How can I do that in rdebug? Is there a way other than setting breakpoints manually when the program starts?

---

## [Sample ruby program to talk to an exchange server](https://www.ruby-forum.com/t/sample-ruby-program-to-talk-to-an-exchange-server/191384)

<div class="topic-metadata">

**Author:** [@laguna53](https://www.ruby-forum.com/u/laguna53)\
**Replies:** 8\
**Last updated:** [July 15, 2010, 10:26pm UTC](https://www.ruby-forum.com/t/sample-ruby-program-to-talk-to-an-exchange-server/191384 "2010-07-15T22:26:27Z")

</div>

Hi, I’m looking for a sample programm to test the communication with an exchange server - connect, inquire data, add data, delete entry … I was asked to check these possibilities but have no ruby experience. Would ver…

---

## [HighLine freezes when using wrap\_at and page\_at](https://www.ruby-forum.com/t/highline-freezes-when-using-wrap-at-and-page-at/191595)

<div class="topic-metadata">

**Author:** [@LAMBEAU\_Bernard](https://www.ruby-forum.com/u/LAMBEAU_Bernard)\
**Replies:** 4\
**Last updated:** [July 15, 2010, 10:07pm UTC](https://www.ruby-forum.com/t/highline-freezes-when-using-wrap-at-and-page-at/191595 "2010-07-15T22:07:42Z")

</div>

Hi all, I’m experimenting a small problem when trying to use HighLine with wrap\_at/page\_at options… The script below leads to a deadlock under MacOS with all ruby installations I have (rvm) require 'rubygems' requi…

---

## [Xmpp4r and ejabberd](https://www.ruby-forum.com/t/xmpp4r-and-ejabberd/191618)

<div class="topic-metadata">

**Author:** [@siddharth](https://www.ruby-forum.com/u/siddharth)\
**Replies:** 1\
**Last updated:** [July 15, 2010, 9:27pm UTC](https://www.ruby-forum.com/t/xmpp4r-and-ejabberd/191618 "2010-07-15T21:27:25Z")

</div>

Im using xmpp4r and ejabberd and my server runs on EC2 on an elastic IP. My problem is I am unable to connect to the server and my requests timeout. On certain occasions the requests go through but the registrations d…

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

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