# Ruby

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

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

---

## [Ruby, HPUX and rubygems](https://www.ruby-forum.com/t/ruby-hpux-and-rubygems/137382)

<div class="topic-metadata">

**Author:** [@stephen\_OSD](https://www.ruby-forum.com/u/stephen_OSD)\
**Replies:** 2\
**Last updated:** [May 13, 2008, 6:16pm UTC](https://www.ruby-forum.com/t/ruby-hpux-and-rubygems/137382 "2008-05-13T18:16:04Z")

</div>

So I have the less than enjoyable of installing Ruby on a PA-RISC HPUX box - HPUX never makes it easy! I managed to get Ruby 1.8.4 installed from the HPUX ports site, but in the installation guide it says they disable…

---

## [Updating all values in a Hash](https://www.ruby-forum.com/t/updating-all-values-in-a-hash/137483)

<div class="topic-metadata">

**Author:** [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Replies:** 9\
**Last updated:** [May 13, 2008, 6:05pm UTC](https://www.ruby-forum.com/t/updating-all-values-in-a-hash/137483 "2008-05-13T18:05:19Z")

</div>

Does anyone know a good way to update all values in a hash. E.g. If I have a big hash with each element containing a string as a value, how can I make each string lower-case?

---

## [A = \[false\]; a\[0\] &&= true](https://www.ruby-forum.com/t/a-false-a-0-true/137495)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [May 13, 2008, 5:47pm UTC](https://www.ruby-forum.com/t/a-false-a-0-true/137495 "2008-05-13T17:47:03Z")

</div>

a = \[false\] e$B$N$H$-e(B a\[0\] &&= true e$B$H$$$&\<0$NCM$,e(B nil e$B$K$J$j$^e(B e$B$9!#e(B % ./ruby -ve ’ a = \[false\] p(a\[0\] &&= true) p a ’ ruby 1.9.0 (2008-05-13 revision 16404) \[i686-linux\] nil \[false\] 1.8 e…

---

## [Problem in migrating](https://www.ruby-forum.com/t/problem-in-migrating/137465)

<div class="topic-metadata">

**Author:** [@rizwana](https://www.ruby-forum.com/u/rizwana)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 4:49pm UTC](https://www.ruby-forum.com/t/problem-in-migrating/137465 "2008-05-13T16:49:05Z")

</div>

hi guys, I have stuck in problem could you please get me out of it. whenever i try to migrate my application an error like Rake aborted! no such file to load --openssl is being displayed. i Already have openssl inst…

---

## [Source code from complex user interfaces RUBY GTK](https://www.ruby-forum.com/t/source-code-from-complex-user-interfaces-ruby-gtk/137399)

<div class="topic-metadata">

**Author:** [@focdesoc](https://www.ruby-forum.com/u/focdesoc)\
**Replies:** 8\
**Last updated:** [May 13, 2008, 4:45pm UTC](https://www.ruby-forum.com/t/source-code-from-complex-user-interfaces-ruby-gtk/137399 "2008-05-13T16:45:33Z")

</div>

Hi, I’ve just started creating user interfaces with Ruby GTK and I would like to know where can I find source code of complete interfaces, examples and stuff, to learn to use all the features. My program should have …

---

## [Re: About Editors](https://www.ruby-forum.com/t/re-about-editors/137480)

<div class="topic-metadata">

**Author:** [@McLaughlinS\_James\_T](https://www.ruby-forum.com/u/McLaughlinS_James_T)\
**Replies:** 0\
**Last updated:** [May 13, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/re-about-editors/137480 "2008-05-13T16:15:56Z")

</div>

I am a netbeans junkie, but I do a lot of C++ also. You’ll get as many different opionions as editors, I’m afraid. Jamie http://blog.thoughthook.com Jamie McLaughlin SAIC Office: 703-292-6307 Mobile: 571-263-2528 …

---

## [OOPS Ruby](https://www.ruby-forum.com/t/oops-ruby/137464)

<div class="topic-metadata">

**Author:** [@lokesh\_name](https://www.ruby-forum.com/u/lokesh_name)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 3:31pm UTC](https://www.ruby-forum.com/t/oops-ruby/137464 "2008-05-13T15:31:43Z")

</div>

Hi All, I need a document with examples to understand OOPS concepts (abstraction, encapsulation, inheritance and polymorphism) implemented in RUBY. Can anyone please help me? Thanks and Regards, Lokesh Agrawal Sof…

---

## [Ruby net/ldap](https://www.ruby-forum.com/t/ruby-net-ldap/135995)

<div class="topic-metadata">

**Author:** [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Replies:** 10\
**Last updated:** [May 13, 2008, 3:23pm UTC](https://www.ruby-forum.com/t/ruby-net-ldap/135995 "2008-05-13T15:23:21Z")

</div>

I need to move some user objects from one OU to another. Is there a way to do this with net/ldap? This is basically done by renaming the DN, so the CN stays the same but the rest of whatever changes. Can anyone sh…

---

## [Termination of my ruby apps leads to error](https://www.ruby-forum.com/t/termination-of-my-ruby-apps-leads-to-error/125926)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 1:34pm UTC](https://www.ruby-forum.com/t/termination-of-my-ruby-apps-leads-to-error/125926 "2008-05-13T13:34:41Z")

</div>

I always get a error like this when i press Ctrl C to terminate my program. Is there a better way to terminate a prob. ? Error in my\_thread\_global\_end(): 1 threads didn’t exit

---

## [About Editors](https://www.ruby-forum.com/t/about-editors/137461)

<div class="topic-metadata">

**Author:** [@kittu21](https://www.ruby-forum.com/u/kittu21)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 12:41pm UTC](https://www.ruby-forum.com/t/about-editors/137461 "2008-05-13T12:41:07Z")

</div>

Hi, I have been working on C# from the past two and half years and as a ruby enthusiast i would like to dig in to it to the extent possible for me…as of know just a newbie and interested in knowing the best editor to …

---

## [Ofx-parser 1.0.2 Released](https://www.ruby-forum.com/t/ofx-parser-1-0-2-released/137440)

<div class="topic-metadata">

**Author:** [@asinglenet](https://www.ruby-forum.com/u/asinglenet)\
**Replies:** 0\
**Last updated:** [May 13, 2008, 7:08am UTC](https://www.ruby-forum.com/t/ofx-parser-1-0-2-released/137440 "2008-05-13T07:08:13Z")

</div>

ofx-parser version 1.0.2 has been released! http://ofx-parser.rubyforge.org/ DESCRIPTION: ofx-parser is a ruby library to parse a realistic subset of the lengthy OFX 1.x specification. FEATURES/PROBLEMS: Reads OF…

---

## [JDBC Oracle](https://www.ruby-forum.com/t/jdbc-oracle/136472)

<div class="topic-metadata">

**Author:** [@lgas](https://www.ruby-forum.com/u/lgas)\
**Replies:** 4\
**Last updated:** [May 13, 2008, 6:11am UTC](https://www.ruby-forum.com/t/jdbc-oracle/136472 "2008-05-13T06:11:41Z")

</div>

Hi, Iâ€™m trying to migrate the AR script on to Oracle database. Im using jdbc adapter. There are number of functions defined in jdbc\_oracle.rb, but when I call them (eg: rename\_column(â€¦)) in my AR script, it says …

---

## [Standard library inventory](https://www.ruby-forum.com/t/standard-library-inventory/137369)

<div class="topic-metadata">

**Author:** [@Wayne\_K](https://www.ruby-forum.com/u/Wayne_K)\
**Replies:** 5\
**Last updated:** [May 13, 2008, 5:48am UTC](https://www.ruby-forum.com/t/standard-library-inventory/137369 "2008-05-13T05:48:32Z")

</div>

Hi, I’d like to request a quick implementation status update on the Ruby standard libraries that contain native code … If you are working on any of the following or know any additional information about any of the fo…

---

## [Net:HTTP post question](https://www.ruby-forum.com/t/net-http-post-question/137377)

<div class="topic-metadata">

**Author:** [@Mikel\_L](https://www.ruby-forum.com/u/Mikel_L)\
**Replies:** 2\
**Last updated:** [May 13, 2008, 5:29am UTC](https://www.ruby-forum.com/t/net-http-post-question/137377 "2008-05-13T05:29:50Z")

</div>

Heya all, I am using Net::HTTP to do post actions to a server, but I have to include a file in the post action. I found this: http://www.realityforge.org/articles/2006/03/02/upload-a-file-via-post-with-net-http Is t…

---

## [Break in lambda](https://www.ruby-forum.com/t/break-in-lambda/137270)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 5\
**Last updated:** [May 13, 2008, 4:45am UTC](https://www.ruby-forum.com/t/break-in-lambda/137270 "2008-05-13T04:45:55Z")

</div>

lambda e$BD\>2\<$Ke(B break e$B$,$"$C$?$H$-!"$J$K$4$H$b$J$+$C$?$+$N$h$&e(B e$B$K$=$3$rDL$j2a$.$k$N$OJQ$G$O$J$$$G$7$g$&$+!#e(B statement not reached e$B$H$$$&7Y9p$b=P$^$9$7!#e(B % ./ruby -ve ’ lambda { p 1 break p 2 …

---

## [6 & Rational(7,2)](https://www.ruby-forum.com/t/6-rational-7-2/137355)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [May 13, 2008, 2:58am UTC](https://www.ruby-forum.com/t/6-rational-7-2/137355 "2008-05-13T02:58:45Z")

</div>

e$B0J2\<$N$h$&$K!“e(B6 & Rational(7,2) e$B$Oe(B 2 e$B$K$J$j$^$9$,!”:81&$rF~e(B e$B$l49$($Fe(B Rational(7,2) & 6 e$B$J$i%(%i!\<$K$J$j$^$9!#e(B e$B$3$l$O0U?^$5$l$?5sF0$G$7$g$&$+!#e(B % ./ruby -ve ‘p 6 & Rational(7,2)’ r…

---

## [JRuby 1.0.x end-of-life](https://www.ruby-forum.com/t/jruby-1-0-x-end-of-life/137401)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 2\
**Last updated:** [May 12, 2008, 10:54pm UTC](https://www.ruby-forum.com/t/jruby-1-0-x-end-of-life/137401 "2008-05-12T22:54:58Z")

</div>

I think it’s come time for us to consider the 1.0 line finished. With all the work that’s gone into JRuby 1.1, and the massive performance and compatibility differential, I can’t see us ever putting time into another …

---

## [Interactive IronRuby "Try Ruby in Your Browser" Shell](https://www.ruby-forum.com/t/interactive-ironruby-try-ruby-in-your-browser-shell/137367)

<div class="topic-metadata">

**Author:** [@micx](https://www.ruby-forum.com/u/micx)\
**Replies:** 3\
**Last updated:** [May 12, 2008, 10:43pm UTC](https://www.ruby-forum.com/t/interactive-ironruby-try-ruby-in-your-browser-shell/137367 "2008-05-12T22:43:37Z")

</div>

For those who haven’t seen this, Oleg T., one of the XML MVP’s, hacked together a 0.first.hack version of the “Try Ruby in Your Browser” demo last night. \> Hacking IronRuby - Signs on the Sand From what I can tell, th…

---

## [Constants, Bindings and instance\_eval](https://www.ruby-forum.com/t/constants-bindings-and-instance-eval/137376)

<div class="topic-metadata">

**Author:** [@achim](https://www.ruby-forum.com/u/achim)\
**Replies:** 2\
**Last updated:** [May 12, 2008, 10:13pm UTC](https://www.ruby-forum.com/t/constants-bindings-and-instance-eval/137376 "2008-05-12T22:13:19Z")

</div>

Dear rubyists, i’m fairly new to ruby, so please apologize if i’m missing something obvious. I’m trying to figure out how constant lookup works and find myself confused. Here we go: class A; C=3 end $a = A.new $a.in…

---

## [This Week in Ruby (May 12, 2008)](https://www.ruby-forum.com/t/this-week-in-ruby-may-12-2008/137405)

<div class="topic-metadata">

**Author:** [@visitor1981](https://www.ruby-forum.com/u/visitor1981)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/this-week-in-ruby-may-12-2008/137405 "2008-05-12T22:11:14Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, here you can find the seventh edition of “This Week in Ruby”: Cheers, Antonio http://antoniocangiano.com - Zen and the Art of Programming http://stacktrace…

---

## [Try IronRuby in your browser](https://www.ruby-forum.com/t/try-ironruby-in-your-browser/137388)

<div class="topic-metadata">

**Author:** [@Oleg\_T](https://www.ruby-forum.com/u/Oleg_T)\
**Replies:** 10\
**Last updated:** [May 12, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/try-ironruby-in-your-browser/137388 "2008-05-12T20:30:50Z")

</div>

Hello! I put together some simple version of IronRuby powered “Try Ruby” \[1\]. This is just night hack, I hope to improve it. Now, the problem is that anybody can crash it with “def f() f() end”, “f()”. I mean StackOv…

---

## [Rb++ / rbgccxml 0.1.1 bugfix release](https://www.ruby-forum.com/t/rb-rbgccxml-0-1-1-bugfix-release/137389)

<div class="topic-metadata">

**Author:** [@jruyle](https://www.ruby-forum.com/u/jruyle)\
**Replies:** 2\
**Last updated:** [May 12, 2008, 7:29pm UTC](https://www.ruby-forum.com/t/rb-rbgccxml-0-1-1-bugfix-release/137389 "2008-05-12T19:29:59Z")

</div>

== CHANGELOG === 0.1.1 rb++: Added rice as a gem dependency rb++: explicitly requiring fileutils now all: Added ldflags / cxxflags options for passing in other custom command line arguments gccxml: Error message abou…

---

## [Regexp+hash problem](https://www.ruby-forum.com/t/regexp-hash-problem/137384)

<div class="topic-metadata">

**Author:** [@Le\_Lann\_Jean-Christ](https://www.ruby-forum.com/u/Le_Lann_Jean-Christ)\
**Replies:** 5\
**Last updated:** [May 12, 2008, 7:25pm UTC](https://www.ruby-forum.com/t/regexp-hash-problem/137384 "2008-05-12T19:25:16Z")

</div>

Hello ! I becoming totally mad about this simple script, whose goal is to capture various information (written in a single file) about some chess games : the conversion I need for the month seems to be the problem : I …

---

## [IO#putc writing 2 bytes?](https://www.ruby-forum.com/t/io-putc-writing-2-bytes/137275)

<div class="topic-metadata">

**Author:** [@minic](https://www.ruby-forum.com/u/minic)\
**Replies:** 11\
**Last updated:** [May 12, 2008, 7:13pm UTC](https://www.ruby-forum.com/t/io-putc-writing-2-bytes/137275 "2008-05-12T19:13:28Z")

</div>

Hey all, thanks for reading. Today is my first attempt at getting some hands on with Ruby. So far so good, but I’m having a slight issue I hope to clear up. Anyways, I decided to write a SRAM save file editor for a po…

---

## [Changes to basename\_spec.rb](https://www.ruby-forum.com/t/changes-to-basename-spec-rb/137374)

<div class="topic-metadata">

**Author:** [@ksunair](https://www.ruby-forum.com/u/ksunair)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 6:21pm UTC](https://www.ruby-forum.com/t/changes-to-basename-spec-rb/137374 "2008-05-12T18:21:58Z")

</div>

I found couple of problems with the basename spec and I am attaching the modified one for your review. I left the “w+” as it is, with your new changes, this should work. Also couple of places the checks for ‘bar’ agai…

---

## [Cover a directory and put all the stuff in a TreeView](https://www.ruby-forum.com/t/cover-a-directory-and-put-all-the-stuff-in-a-treeview/137378)

<div class="topic-metadata">

**Author:** [@focdesoc](https://www.ruby-forum.com/u/focdesoc)\
**Replies:** 4\
**Last updated:** [May 12, 2008, 5:49pm UTC](https://www.ruby-forum.com/t/cover-a-directory-and-put-all-the-stuff-in-a-treeview/137378 "2008-05-12T17:49:23Z")

</div>

Hi, I would like to make the following script in ruby: Given a directory, for example /home, I would like to take ALL the subdirectories and files that are inside /home, and put them in a TreeView structure (from Rub…

---

## [Install Error rjb gem](https://www.ruby-forum.com/t/install-error-rjb-gem/136336)

<div class="topic-metadata">

**Author:** [@BWACJay](https://www.ruby-forum.com/u/BWACJay)\
**Replies:** 6\
**Last updated:** [May 12, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/install-error-rjb-gem/136336 "2008-05-12T17:14:34Z")

</div>

I’ve spent two good(bad, actually) days on this already, and searched through all the archives and anywhere else that the Google might take me… I’m simply trying to install the rjb gem using “gem install rjb”. I get …

---

## [Other languages Was: Re: Looking for a Sudoku Algorithm to implement in Ruby](https://www.ruby-forum.com/t/other-languages-was-re-looking-for-a-sudoku-algorithm-to-implement-in-ruby/137371)

<div class="topic-metadata">

**Author:** [@Jano\_S](https://www.ruby-forum.com/u/Jano_S)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 3:11pm UTC](https://www.ruby-forum.com/t/other-languages-was-re-looking-for-a-sudoku-algorithm-to-implement-in-ruby/137371 "2008-05-12T15:11:12Z")

</div>

On Sat, Nov 10, 2007 at 8:18 PM, Hariharasudhan R removed\_email\_address@domain.invalid wrote: Hari PS : This is my first post. Sorry if I should not post links to other language articles. just wanted to help… Welc…

---

## [Rotation of photos](https://www.ruby-forum.com/t/rotation-of-photos/137364)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 2:41pm UTC](https://www.ruby-forum.com/t/rotation-of-photos/137364 "2008-05-12T14:41:08Z")

</div>

hi in my application i have a photo gallery page where i showing all my album photos, i want to developed a functionality where i can rotate photo there and and saved backed to file system. how it is possible ?

---

## [Complex(-4.0,0.0)\*\*(Complex(1.0/2,0.0)) with mathn](https://www.ruby-forum.com/t/complex-4-0-0-0-complex-1-0-2-0-0-with-mathn/137079)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 1\
**Last updated:** [May 12, 2008, 1:34pm UTC](https://www.ruby-forum.com/t/complex-4-0-0-0-complex-1-0-2-0-0-with-mathn/137079 "2008-05-12T13:34:24Z")

</div>

1.8 e$B$Ge(B mathn e$B$r;H$C$Fe(B -4 \*\* (1/2) e$B$re(B (Float e$B$Ge(B) e$B7W;;$9$k$He(B NaN e$B$K$J$k$s$G$9$,$=$&$$$&$b$N$G$7$g$&$+!#e(B % ./ruby -rmathn -ve ‘p Complex(-4.0,0.0)\*\*(Complex(1.0/2,0.0))’ ruby 1.8.7 (2…

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

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