# Ruby

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

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

---

## [SOAP::SOAPBase64 (byte array) to Image (JPG/GIF)](https://www.ruby-forum.com/t/soap-soapbase64-byte-array-to-image-jpg-gif/140488)

<div class="topic-metadata">

**Author:** [@shambolic](https://www.ruby-forum.com/u/shambolic)\
**Replies:** 0\
**Last updated:** [June 14, 2008, 9:48pm UTC](https://www.ruby-forum.com/t/soap-soapbase64-byte-array-to-image-jpg-gif/140488 "2008-06-14T21:48:12Z")

</div>

Hello, Attempting to convert and expand on an old Java project. It pulls from a SOAP project created from a WSDL using wsdl2ruby. The portion I am having troubles with involves converting a “byte array” of image dat…

---

## [Sqlite 3 error](https://www.ruby-forum.com/t/sqlite-3-error/140482)

<div class="topic-metadata">

**Author:** [@graphicmist](https://www.ruby-forum.com/u/graphicmist)\
**Replies:** 1\
**Last updated:** [June 14, 2008, 9:09pm UTC](https://www.ruby-forum.com/t/sqlite-3-error/140482 "2008-06-14T21:09:59Z")

</div>

I typed the following in my browser http://localhost:3000/My\_test and the following error occurred. MissingSourceFile in My testController#index no such file to load – sqlite3 RAILS\_ROOT: C:/rails/cookbook Applicati…

---

## [Ruby-DTrace 0.2.5 released, with USDT probe support](https://www.ruby-forum.com/t/ruby-dtrace-0-2-5-released-with-usdt-probe-support/140484)

<div class="topic-metadata">

**Author:** [@sumwutdum](https://www.ruby-forum.com/u/sumwutdum)\
**Replies:** 0\
**Last updated:** [June 14, 2008, 8:39pm UTC](https://www.ruby-forum.com/t/ruby-dtrace-0-2-5-released-with-usdt-probe-support/140484 "2008-06-14T20:39:22Z")

</div>

Ruby-DTrace version 0.2.5 has been released! == DESCRIPTION Ruby-DTrace is Ruby bindings for DTrace, which allows you to add DTrace probes to your Ruby programs, and to write D-based programs with Ruby. == ANNOUNCEM…

---

## [Modules, Overloading, and some Confusion](https://www.ruby-forum.com/t/modules-overloading-and-some-confusion/140463)

<div class="topic-metadata">

**Author:** [@kodama](https://www.ruby-forum.com/u/kodama)\
**Replies:** 7\
**Last updated:** [June 14, 2008, 8:16pm UTC](https://www.ruby-forum.com/t/modules-overloading-and-some-confusion/140463 "2008-06-14T20:16:28Z")

</div>

Hello Rubyists, Here’s something I’ve been pondering lately and was hoping to get a good response from someone out in the community. It’s about having two modules which both implement a method with the same name, and …

---

## [ResultSet#to\_a is not idempotent](https://www.ruby-forum.com/t/resultset-to-a-is-not-idempotent/140478)

<div class="topic-metadata">

**Author:** [@Joel\_VanderWerf](https://www.ruby-forum.com/u/Joel_VanderWerf)\
**Replies:** 0\
**Last updated:** [June 14, 2008, 7:22pm UTC](https://www.ruby-forum.com/t/resultset-to-a-is-not-idempotent/140478 "2008-06-14T19:22:00Z")

</div>

I asked this on the rubyforge sqlite list, but it’s very quiet there, so I’ll risk asking it here… Calling #to\_a on a ResultSet seems to clear the result, so that the next time #to\_a returns an empty array. Is this in…

---

## [Fire event when the value of a variable is changed](https://www.ruby-forum.com/t/fire-event-when-the-value-of-a-variable-is-changed/140440)

<div class="topic-metadata">

**Author:** [@addame](https://www.ruby-forum.com/u/addame)\
**Replies:** 6\
**Last updated:** [June 14, 2008, 6:37pm UTC](https://www.ruby-forum.com/t/fire-event-when-the-value-of-a-variable-is-changed/140440 "2008-06-14T18:37:06Z")

</div>

hi ! what is the best way to execute a given method each time the value of a given variable is changed. I have told that if the value of the variable is changed via a sitter, it’s possible to use a method chaining. H…

---

## [Raise and rescue](https://www.ruby-forum.com/t/raise-and-rescue/140431)

<div class="topic-metadata">

**Author:** [@nicpon](https://www.ruby-forum.com/u/nicpon)\
**Replies:** 12\
**Last updated:** [June 14, 2008, 3:58pm UTC](https://www.ruby-forum.com/t/raise-and-rescue/140431 "2008-06-14T15:58:59Z")

</div>

Is is possible to raise an exception then rescue it and then go back to whereever it was raised and continue with execution? For example, class Test end begin code line 1 code line 2 code line 3 code line 4 cod…

---

## [Mono build trouble](https://www.ruby-forum.com/t/mono-build-trouble/140465)

<div class="topic-metadata">

**Author:** [@Sanghyeon\_S](https://www.ruby-forum.com/u/Sanghyeon_S)\
**Replies:** 0\
**Last updated:** [June 14, 2008, 2:01pm UTC](https://www.ruby-forum.com/t/mono-build-trouble/140465 "2008-06-14T14:01:51Z")

</div>

First, thank you for getting the new revision out. SVN r114 introduced a change to context.rb. Instead of using /recurse:\*.cs, it now gets the list of C# files to compile from \*.csproj files using REXML. Unfortunately…

---

## [ParseTree 2.2.0 Released](https://www.ruby-forum.com/t/parsetree-2-2-0-released/140027)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 5\
**Last updated:** [June 14, 2008, 12:44pm UTC](https://www.ruby-forum.com/t/parsetree-2-2-0-released/140027 "2008-06-14T12:44:25Z")

</div>

ParseTree version 2.2.0 has been released! http://rubyforge.org/projects/parsetree/ http://www.zenspider.com/ZSS/Products/ParseTree/ removed\_email\_address@domain.invalid ParseTree is a C extension (using RubyInline) t…

---

## [Trunk: mswin32: nmake realclean $B;~$KBgNL$N%U%!%$%k$,;D$k(B](https://www.ruby-forum.com/t/trunk-mswin32-nmake-realclean-b-kbgnl-n-u-k-d-k-b/226011)

<div class="topic-metadata">

**Author:** [@pegacorn](https://www.ruby-forum.com/u/pegacorn)\
**Replies:** 0\
**Last updated:** [June 14, 2008, 9:25am UTC](https://www.ruby-forum.com/t/trunk-mswin32-nmake-realclean-b-kbgnl-n-u-k-d-k-b/226011 "2008-06-14T09:25:11Z")

</div>

pegacorn ã§ã™ã€‚ ä»¥å‰ã‹ã‚‰æ°—ã«ãªã£ã¦ã„ãŸã‚“ã§ã™ãŒã€mswin32 ç‰ˆã§ nmake realclean ã—ãŸæ™‚ã« ã€ŒæŒ‡å®šã•ã‚ŒãŸãƒ‘ã‚¹ãŒè¦‹ã¤ã‹ã‚Šã¾ã›ã‚“ã€‚ã€ã¨ã„ã†è­¦å‘ŠãŒå‡ºã¦ã€ å‰Šé™¤ã•ã‚Œãªã„ãƒ•ã‚¡…

---

## [SSE2$BHG(B strlen](https://www.ruby-forum.com/t/sse2-bhg-b-strlen/140190)

<div class="topic-metadata">

**Author:** [@NARUSES\_Yui](https://www.ruby-forum.com/u/NARUSES_Yui)\
**Replies:** 11\
**Last updated:** [June 14, 2008, 9:09am UTC](https://www.ruby-forum.com/t/sse2-bhg-b-strlen/140190 "2008-06-14T09:09:21Z")

</div>

e$B@.@%$G$9!#e(B e$B%5%$%%&%:$N8w@.$5$s$N=j$Ke(B SSE2 e$B$rMQ$$$?e(B strlen e$B$,:$C$F$$$k$N$G$9$,!"e(B e$B$3$l$r\<h$j9~$\_$^$;$s$+!#e(B http://labs.cybozu.co.jp/blog/mitsunari/ SSE2 e$B$Oe(B CPU e$B0MB8$,!&!&!&$H$\*;W…

---

## [Library for Parsing Excel](https://www.ruby-forum.com/t/library-for-parsing-excel/140453)

<div class="topic-metadata">

**Author:** [@PartogiS\_Joshua](https://www.ruby-forum.com/u/PartogiS_Joshua)\
**Replies:** 1\
**Last updated:** [June 14, 2008, 8:20am UTC](https://www.ruby-forum.com/t/library-for-parsing-excel/140453 "2008-06-14T08:20:14Z")

</div>

Dear all, Can anyone recommend me a good library for parsing excel file like POI or JExcel for Ruby? Many thanks IMPORTANT NOTICE: The information in this email (and any attachments) is confidential. If you are no…

---

## [Proc](https://www.ruby-forum.com/t/proc/140374)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 2\
**Last updated:** [June 14, 2008, 6:33am UTC](https://www.ruby-forum.com/t/proc/140374 "2008-06-14T06:33:58Z")

</div>

Hi I am learning Ruby and I got the following code from a book. str=’#{name} is my name, and #{nation} is my nation’ bind=proc do name,nation=“Stephan”,“Ireland” binding end.call s2=eval(’"’+str+’"’,bind) puts s2…

---

## [Strange issue with Process.times](https://www.ruby-forum.com/t/strange-issue-with-process-times/140448)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 6\
**Last updated:** [June 14, 2008, 5:59am UTC](https://www.ruby-forum.com/t/strange-issue-with-process-times/140448 "2008-06-14T05:59:50Z")

</div>

Check this out… Process.times =\> # require ‘test’ =\> true Process.times \[hangs\] As soon as you require a file (test.rb above was blank) you get stuck in an infinite loop on UpdateAndExecute. Spec…

---

## [Passing a script context around](https://www.ruby-forum.com/t/passing-a-script-context-around/140447)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 0\
**Last updated:** [June 14, 2008, 4:26am UTC](https://www.ruby-forum.com/t/passing-a-script-context-around/140447 "2008-06-14T04:26:53Z")

</div>

Hi For the dynamic script control I wrote I want to be able to share the runtime environment that IronRuby has got. Is that possible with the ir command ? My WPF application has got a bunch of assembly references and…

---

## [Compile Ruby source into Java class with AntBuilder](https://www.ruby-forum.com/t/compile-ruby-source-into-java-class-with-antbuilder/140409)

<div class="topic-metadata">

**Author:** [@PartogiS\_Joshua](https://www.ruby-forum.com/u/PartogiS_Joshua)\
**Replies:** 1\
**Last updated:** [June 14, 2008, 4:11am UTC](https://www.ruby-forum.com/t/compile-ruby-source-into-java-class-with-antbuilder/140409 "2008-06-14T04:11:06Z")

</div>

Dear all, Is it possible to compile Ruby source into java class with AntBuilder? And also build a war file with it? Has anyone done this before and give me a hint on how to do it? Thanks in advance IMPORTANT NOTICE…

---

## [\[ANN\] Fast JRuby Debugger 0.1.11](https://www.ruby-forum.com/t/ann-fast-jruby-debugger-0-1-11/140402)

<div class="topic-metadata">

**Author:** [@mkrauskopf](https://www.ruby-forum.com/u/mkrauskopf)\
**Replies:** 2\
**Last updated:** [June 14, 2008, 4:09am UTC](https://www.ruby-forum.com/t/ann-fast-jruby-debugger-0-1-11/140402 "2008-06-14T04:09:56Z")

</div>

Hi all, Friday the 13th, the good time for new release :wink: Mainly it brings (almost) all the features of new version of ruby-debug 0.10.1 and there were a lot of them done by Rocky B. and ruby-debug team. Check th…

---

## [Trouble using ssh gem in OSX; can't load the library](https://www.ruby-forum.com/t/trouble-using-ssh-gem-in-osx-cant-load-the-library/140445)

<div class="topic-metadata">

**Author:** [@nomad](https://www.ruby-forum.com/u/nomad)\
**Replies:** 2\
**Last updated:** [June 14, 2008, 3:45am UTC](https://www.ruby-forum.com/t/trouble-using-ssh-gem-in-osx-cant-load-the-library/140445 "2008-06-14T03:45:09Z")

</div>

Bare with me here as I am very new to all of this. I’m trying to write a simple script with the SSH gem and when I run it in the terminal I get this message. ./ssh\_restart.rb:3:in \`require’: no such file to load – net…

---

## [Rdoc breaks on some types of links](https://www.ruby-forum.com/t/rdoc-breaks-on-some-types-of-links/137543)

<div class="topic-metadata">

**Author:** [@Joel\_VanderWerf](https://www.ruby-forum.com/u/Joel_VanderWerf)\
**Replies:** 4\
**Last updated:** [June 14, 2008, 2:59am UTC](https://www.ruby-forum.com/t/rdoc-breaks-on-some-types-of-links/137543 "2008-06-14T02:59:40Z")

</div>

Not sure exactly which link is causing this, but it seems like bug in rdoc (and it wasn’t a problem in earlier versions): /usr/local/lib/ruby/gems/1.8/gems/rdoc-2.0.0/lib/rdoc/markup/to\_html.rb:50:in gen\_url': uniniti…

---

## [Print Numbers Vertically](https://www.ruby-forum.com/t/print-numbers-vertically/140438)

<div class="topic-metadata">

**Author:** [@chrisfinne](https://www.ruby-forum.com/u/chrisfinne)\
**Replies:** 3\
**Last updated:** [June 14, 2008, 1:35am UTC](https://www.ruby-forum.com/t/print-numbers-vertically/140438 "2008-06-14T01:35:46Z")

</div>

Hello, I am trying to figure out how I can print an array of numbers vertically. For example a = \[ 1, 24, 546, 1000, 32, 256 \] output (spaces optional) : 1 2 5 1 3 2 4 4 0 2 5 6 0 6 0 I need this because I’v…

---

## [Validate a select (boolean)](https://www.ruby-forum.com/t/validate-a-select-boolean/140437)

<div class="topic-metadata">

**Author:** [@tsc](https://www.ruby-forum.com/u/tsc)\
**Replies:** 5\
**Last updated:** [June 13, 2008, 11:33pm UTC](https://www.ruby-forum.com/t/validate-a-select-boolean/140437 "2008-06-13T23:33:00Z")

</div>

I am using Ruby Version: 1.8.4 Rails Version: 1.2.2 I have an issue regarding validation of a boolean field in my applicaiton. On the UI, I had to show a dropdown with options: “yes”, “no” and “” (blank) My HTML v…

---

## [Performance of JRuby StringScanner](https://www.ruby-forum.com/t/performance-of-jruby-stringscanner/140355)

<div class="topic-metadata">

**Author:** [@gremio](https://www.ruby-forum.com/u/gremio)\
**Replies:** 4\
**Last updated:** [June 13, 2008, 11:05pm UTC](https://www.ruby-forum.com/t/performance-of-jruby-stringscanner/140355 "2008-06-13T23:05:10Z")

</div>

I’ve been playing around with lexers that rely on the Ruby StringScanner to recognize lexical tokens. For large texts, the lexers are roughly twice as slow in JRuby as in MRI. I haven’t probed any further, but am wond…

---

## [Anyone using clutter?](https://www.ruby-forum.com/t/anyone-using-clutter/140098)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 2\
**Last updated:** [June 13, 2008, 11:04pm UTC](https://www.ruby-forum.com/t/anyone-using-clutter/140098 "2008-06-13T23:04:35Z")

</div>

Just stumbled across the Clutter toolkit \[http://clutter-project.org/\], a pretty neat-looking UI-oriented layer atop OpenGL. It mentions ruby bindings - anyone used this? martin

---

## [Trie data structure](https://www.ruby-forum.com/t/trie-data-structure/140114)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 16\
**Last updated:** [June 13, 2008, 9:33pm UTC](https://www.ruby-forum.com/t/trie-data-structure/140114 "2008-06-13T21:33:31Z")

</div>

I’m trying to implement a trie data structure for my parsing program that parses numbers…I’m lost as to what the algorithm would look like. Also, I don’t fully understand the wikipedia definition at Trie - Wikipedia w…

---

## [A good book for ruby](https://www.ruby-forum.com/t/a-good-book-for-ruby/140421)

<div class="topic-metadata">

**Author:** [@graphicmist](https://www.ruby-forum.com/u/graphicmist)\
**Replies:** 8\
**Last updated:** [June 13, 2008, 8:10pm UTC](https://www.ruby-forum.com/t/a-good-book-for-ruby/140421 "2008-06-13T20:10:45Z")

</div>

Hi friends… i have just started ruby…and i have no proper study material for it… here u all can suggest some good books and tutorials …

---

## [Preferable Pairs (#165)](https://www.ruby-forum.com/t/preferable-pairs-165/140322)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 3\
**Last updated:** [June 13, 2008, 8:04pm UTC](https://www.ruby-forum.com/t/preferable-pairs-165/140322 "2008-06-13T20:04:52Z")

</div>

Apologies for being a little late today… Took a little bit to understand some of what was going on in the solutions for the Preferable Pairs quiz, and I’m not certain I explained it well enough, but… here it is. Th…

---

## [Trie search algorithm](https://www.ruby-forum.com/t/trie-search-algorithm/140422)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 0\
**Last updated:** [June 13, 2008, 7:43pm UTC](https://www.ruby-forum.com/t/trie-search-algorithm/140422 "2008-06-13T19:43:12Z")

</div>

I’m lost–can’t figure out the algorithm to output a trie. class Trie @value @children = \[\] # array of tries @number\_exists # bool end 0 # Root = nil / 1 =\> number\_exists = true(#1) / 1 =\> number\_…

---

## [Need Help! oci8lib.so: ORA-06550 error](https://www.ruby-forum.com/t/need-help-oci8lib-so-ora-06550-error/140219)

<div class="topic-metadata">

**Author:** [@sri](https://www.ruby-forum.com/u/sri)\
**Replies:** 3\
**Last updated:** [June 13, 2008, 7:36pm UTC](https://www.ruby-forum.com/t/need-help-oci8lib-so-ora-06550-error/140219 "2008-06-13T19:36:57Z")

</div>

stmt.c:541:in oci8lib.so: ORA-06550: line 1, column 7: (OCIError) PLS-00306: wrong number or types of arguments in call to ‘tax’ ORA-06550: line 1, column 7: PL/SQL: Statement ignored from c:/ruby/lib/ruby/site\_ruby/…

---

## [FW: Shootout dates](https://www.ruby-forum.com/t/fw-shootout-dates/140418)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [June 13, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/fw-shootout-dates/140418 "2008-06-13T18:49:52Z")

</div>

FYI, IronRuby is in this shootout, and this will be good for us to see where we stand (sit?). JD

---

## [Hash Bubble sort?](https://www.ruby-forum.com/t/hash-bubble-sort/140194)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 4\
**Last updated:** [June 13, 2008, 5:47pm UTC](https://www.ruby-forum.com/t/hash-bubble-sort/140194 "2008-06-13T17:47:09Z")

</div>

How does one implement a bubble sort algorithm for a hash? Thanks

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

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