# Ruby

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

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

---

## [Installing ruby on Ubuntu Gutsy](https://www.ruby-forum.com/t/installing-ruby-on-ubuntu-gutsy/131111)

<div class="topic-metadata">

**Author:** [@cluettr](https://www.ruby-forum.com/u/cluettr)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 5:03am UTC](https://www.ruby-forum.com/t/installing-ruby-on-ubuntu-gutsy/131111 "2008-03-06T05:03:30Z")

</div>

Just wanted to post my notes on how I was able to install Ruby and Gem on Ubuntu Gutsy: $ sudo apt-get install ruby ruby1.8-examples rdoc ri libruby-extras rubygems $ ruby -v ruby 1.8.6 (2007-06-07 patchlevel 36) \[i…

---

## [Printf "\[%08f\]\\n", 0.0/0.0](https://www.ruby-forum.com/t/printf-08f-n-0-0-0-0/131061)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 2\
**Last updated:** [March 6, 2008, 5:01am UTC](https://www.ruby-forum.com/t/printf-08f-n-0-0-0-0/131061 "2008-03-06T05:01:09Z")

</div>

e$B0J2\<$N$h$&$K!"e(Bprintf e$B$Ge(B NaN, Inf e$B$Ge(B 0 padding e$B$,5/$3$j$^$9!#e(B % ./ruby -ve ‘printf “\[%08f\]\\n”, 0.0/0.0’ ruby 1.9.0 (2008-03-06 revision 15699) \[i686-linux\] \[00000NaN\] % ./ruby -e ‘printf “\[%08…

---

## [Warning about space before argument parentheses](https://www.ruby-forum.com/t/warning-about-space-before-argument-parentheses/130549)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 3\
**Last updated:** [March 6, 2008, 4:03am UTC](https://www.ruby-forum.com/t/warning-about-space-before-argument-parentheses/130549 "2008-03-06T04:03:44Z")

</div>

e$B$J$+$@$G$9!#e(B e$B$3$N7Y9p$Oe(B1.8.0e$B$N$H$-$+$i:#$N7A$G=P$F$$$^$9$7!"$=$m$=$m%a%=%C%Ie(B e$BL\>$H%+%C%3$N4V$K$O%9%Z!\<%9$OCV$1$J$/$7$F$b$$$$$s$8$c$J$$$G$7$g$&e(B e$B$+!#e(B Index: parse.y — parse.y (revision 156…

---

## [Parsing advice](https://www.ruby-forum.com/t/parsing-advice/131102)

<div class="topic-metadata">

**Author:** [@brownerthanu](https://www.ruby-forum.com/u/brownerthanu)\
**Replies:** 1\
**Last updated:** [March 6, 2008, 3:41am UTC](https://www.ruby-forum.com/t/parsing-advice/131102 "2008-03-06T03:41:27Z")

</div>

hi everyone, i have a file that i want to parse. i’m used to doing this stuff recursively, and would like to know what the “ruby” style would be. the file is a series of tests, with the test name at the :start and t…

---

## [Newbea question again?](https://www.ruby-forum.com/t/newbea-question-again/131010)

<div class="topic-metadata">

**Author:** [@casid](https://www.ruby-forum.com/u/casid)\
**Replies:** 4\
**Last updated:** [March 6, 2008, 1:46am UTC](https://www.ruby-forum.com/t/newbea-question-again/131010 "2008-03-06T01:46:26Z")

</div>

Hello Ruby Developers, I have tiny problem about comparison. I have a array and hash. I want to compare array elements with hash keys. more details: this is my hash, I create it from yaml file my yaml file template…

---

## [No definition for sym\_succ $B$J$I(B](https://www.ruby-forum.com/t/no-definition-for-sym-succ-b-j-i-b/131101)

<div class="topic-metadata">

**Author:** [@drenovac](https://www.ruby-forum.com/u/drenovac)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 1:36am UTC](https://www.ruby-forum.com/t/no-definition-for-sym-succ-b-j-i-b/131101 "2008-03-06T01:36:33Z")

</div>

RDoc e$B$r:n$k$H$-$K$O$$$D$be(B No definition for sym\_succ e$B$J$Ie(B sym\_… e$B$N%a%=%C%I$GJ86g$,=P$^$9!#$3$l$i$Ke(B RDoc e$B$r$D$1$k$+!“e(B /\* :nodoc: \*/ e$B$r$D$1$k$+!”$=$l$H$b$=$l$i$r\>C$9$N$+$J$K$,$$$$e(B e$B$G$7$g…

---

## [Managing Windows from Linux via Ruby](https://www.ruby-forum.com/t/managing-windows-from-linux-via-ruby/130959)

<div class="topic-metadata">

**Author:** [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Replies:** 5\
**Last updated:** [March 5, 2008, 10:27pm UTC](https://www.ruby-forum.com/t/managing-windows-from-linux-via-ruby/130959 "2008-03-05T22:27:22Z")

</div>

Does anyone know of a reliable way to manage resources on Windows machines from a Linux platform using Ruby? I’m currently using win32api and win32ole to create directories and set permissions on multiple remote Win…

---

## [Limiting rate on downloading a file http?](https://www.ruby-forum.com/t/limiting-rate-on-downloading-a-file-http/129812)

<div class="topic-metadata">

**Author:** [@kyleh](https://www.ruby-forum.com/u/kyleh)\
**Replies:** 1\
**Last updated:** [March 5, 2008, 8:32pm UTC](https://www.ruby-forum.com/t/limiting-rate-on-downloading-a-file-http/129812 "2008-03-05T20:32:40Z")

</div>

Hi all, I’m looking for a solution for downloading a file from http and limiting the download rate. I do not want to use wget. I hear you can atleast get a ball-park rate-limit out there by using open-uri and sleep. …

---

## [Collect with index?](https://www.ruby-forum.com/t/collect-with-index/131035)

<div class="topic-metadata">

**Author:** [@ratcheer](https://www.ruby-forum.com/u/ratcheer)\
**Replies:** 12\
**Last updated:** [March 5, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/collect-with-index/131035 "2008-03-05T20:30:54Z")

</div>

simple question: how can I do a collect with index? This should be like each\_with\_index but should return a new array containing the values returned by the block. i.e Say i want to return: \[“cat number 1”,“dog num…

---

## [March 12th Cape Town Ruby Brigade Meeting](https://www.ruby-forum.com/t/march-12th-cape-town-ruby-brigade-meeting/131074)

<div class="topic-metadata">

**Author:** [@Farrel\_L](https://www.ruby-forum.com/u/Farrel_L)\
**Replies:** 0\
**Last updated:** [March 5, 2008, 8:23pm UTC](https://www.ruby-forum.com/t/march-12th-cape-town-ruby-brigade-meeting/131074 "2008-03-05T20:23:12Z")

</div>

The next meeting of the Cape Town Ruby Brigade will take place at: VENUE: Bandwidth Barn Conference Room, 125 Buitengracht Street, Cape Town DATE: 12th March 2008 TIME: 19:00 Jonathan G. will present our main talk o…

---

## [Continous integration and watir](https://www.ruby-forum.com/t/continous-integration-and-watir/130961)

<div class="topic-metadata">

**Author:** [@emilsverige](https://www.ruby-forum.com/u/emilsverige)\
**Replies:** 4\
**Last updated:** [March 5, 2008, 7:22pm UTC](https://www.ruby-forum.com/t/continous-integration-and-watir/130961 "2008-03-05T19:22:37Z")

</div>

Has anyone set up a Continous integration server running watir tests? Any comparisons or tips? Kind Regards Emil

---

## [SystemStackError: stack level too deep](https://www.ruby-forum.com/t/systemstackerror-stack-level-too-deep/130621)

<div class="topic-metadata">

**Author:** [@oliver-peng](https://www.ruby-forum.com/u/oliver-peng)\
**Replies:** 5\
**Last updated:** [March 5, 2008, 6:45pm UTC](https://www.ruby-forum.com/t/systemstackerror-stack-level-too-deep/130621 "2008-03-05T18:45:35Z")

</div>

Now I am writing a server code to handle each connection by forking a new process. Here is the code: @tcpServer = TCPServer.new(host, port) while true if tcp = @tcpServer.accept fork do // handle all request in thi…

---

## [Testing web portals](https://www.ruby-forum.com/t/testing-web-portals/130969)

<div class="topic-metadata">

**Author:** [@mihai](https://www.ruby-forum.com/u/mihai)\
**Replies:** 1\
**Last updated:** [March 5, 2008, 5:58pm UTC](https://www.ruby-forum.com/t/testing-web-portals/130969 "2008-03-05T17:58:34Z")

</div>

Is there a ruby gem that can test web portal application? With Watir i can only test simple web application, i cannot test for example portlest from a liferay web portal. And if i cannot test it with ruby what are too…

---

## [Need single sign on solution?](https://www.ruby-forum.com/t/need-single-sign-on-solution/131034)

<div class="topic-metadata">

**Author:** [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Replies:** 1\
**Last updated:** [March 5, 2008, 5:21pm UTC](https://www.ruby-forum.com/t/need-single-sign-on-solution/131034 "2008-03-05T17:21:44Z")

</div>

Hi All, I am doing my site user authentication through LDAP server and my company has 3 more sites with different technologies and they are also doing user authentication through LDAP server. Now we want that when us…

---

## [Complex forms](https://www.ruby-forum.com/t/complex-forms/131049)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 2\
**Last updated:** [March 5, 2008, 5:11pm UTC](https://www.ruby-forum.com/t/complex-forms/131049 "2008-03-05T17:11:16Z")

</div>

I am wondering if someone may be able to point me in the right direction. I have a survey that I am trying to do that has in it many one too many relegations. Thanks to railscasts complex forms series, I was able to …

---

## [Unicode strings in ruby code](https://www.ruby-forum.com/t/unicode-strings-in-ruby-code/130316)

<div class="topic-metadata">

**Author:** [@idanmiller](https://www.ruby-forum.com/u/idanmiller)\
**Replies:** 11\
**Last updated:** [March 5, 2008, 4:00pm UTC](https://www.ruby-forum.com/t/unicode-strings-in-ruby-code/130316 "2008-03-05T16:00:49Z")

</div>

Hi everyone, I’m trying to get ruby to run a script that has a hebrew string. I’m using a string with just one letter - aleph, the first in the hebrew alphabet. This code: a = “×” that I write using SciTE and save…

---

## [Calling COM Objects](https://www.ruby-forum.com/t/calling-com-objects/131023)

<div class="topic-metadata">

**Author:** [@stamtam](https://www.ruby-forum.com/u/stamtam)\
**Replies:** 1\
**Last updated:** [March 5, 2008, 1:12pm UTC](https://www.ruby-forum.com/t/calling-com-objects/131023 "2008-03-05T13:12:10Z")

</div>

Hi all, Is there a way to call COM from ruby or JRuby easily? Does it support callbacks? Something similar to python’s comtypes will be great. Thanks, Stamtam

---

## [watir::exception::Timeoutexception](https://www.ruby-forum.com/t/watir-timeoutexception/131024)

<div class="topic-metadata">

**Author:** [@rutger](https://www.ruby-forum.com/u/rutger)\
**Replies:** 0\
**Last updated:** [March 5, 2008, 10:33am UTC](https://www.ruby-forum.com/t/watir-timeoutexception/131024 "2008-03-05T10:33:02Z")

</div>

Hi, I’m using Watir to do some tests. Depending on the outcome of a test a java pop appears which I can click using the third method as described on http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups. My code look…

---

## [Enum to Fixnum](https://www.ruby-forum.com/t/enum-to-fixnum/131019)

<div class="topic-metadata">

**Author:** [@Wayne\_K](https://www.ruby-forum.com/u/Wayne_K)\
**Replies:** 2\
**Last updated:** [March 5, 2008, 9:23am UTC](https://www.ruby-forum.com/t/enum-to-fixnum/131019 "2008-03-05T09:23:34Z")

</div>

How does one write Ruby code to convert a Enum value into a Fixnum? Cheers, Wayne

---

## [Class method bug](https://www.ruby-forum.com/t/class-method-bug/131020)

<div class="topic-metadata">

**Author:** [@Wayne\_K](https://www.ruby-forum.com/u/Wayne_K)\
**Replies:** 1\
**Last updated:** [March 5, 2008, 9:23am UTC](https://www.ruby-forum.com/t/class-method-bug/131020 "2008-03-05T09:23:34Z")

</div>

It seems that there is some problem associated with class methods for classes called “Class” … module Digest class Class def Class.meth() puts ‘hello’ end end Class.meth() end

---

## [Samizdat 0.6.1: Security, MVC, RSS import](https://www.ruby-forum.com/t/samizdat-0-6-1-security-mvc-rss-import/130934)

<div class="topic-metadata">

**Author:** [@kmeaw](https://www.ruby-forum.com/u/kmeaw)\
**Replies:** 2\
**Last updated:** [March 5, 2008, 9:15am UTC](https://www.ruby-forum.com/t/samizdat-0-6-1-security-mvc-rss-import/130934 "2008-03-05T09:15:14Z")

</div>

What is Samizdat? Samizdat is a generic RDF-based engine for building collaboration and open publishing web sites. Samizdat provides users with means to cooperate and coordinate on all kinds of activities, including m…

---

## [Easiest possible image manip/rmagick alternatives?](https://www.ruby-forum.com/t/easiest-possible-image-manip-rmagick-alternatives/131018)

<div class="topic-metadata">

**Author:** [@nefigah](https://www.ruby-forum.com/u/nefigah)\
**Replies:** 2\
**Last updated:** [March 5, 2008, 8:50am UTC](https://www.ruby-forum.com/t/easiest-possible-image-manip-rmagick-alternatives/131018 "2008-03-05T08:50:18Z")

</div>

Hiya, I need to make thumbnail versions of images. I’ve never worked with images programmatically before. My hunch would be to go with rmagick, but it seems to require quite a few dependencies, so I was curious if th…

---

## [JRuby && Swing || SWT?](https://www.ruby-forum.com/t/jruby-swing-swt/130970)

<div class="topic-metadata">

**Author:** [@Phillip\_G](https://www.ruby-forum.com/u/Phillip_G)\
**Replies:** 3\
**Last updated:** [March 5, 2008, 8:32am UTC](https://www.ruby-forum.com/t/jruby-swing-swt/130970 "2008-03-05T08:32:09Z")

</div>

Hello, list. I’m looking for advice on GUI toolkits for cross-platform development / deployment, especially in the context of JRuby\[0\]. Now, that having worked with JRuby yet, I’d like to know how your experiences ar…

---

## [Re: MD5 MemberwiseClone](https://www.ruby-forum.com/t/re-md5-memberwiseclone/131016)

<div class="topic-metadata">

**Author:** [@Wayne\_K](https://www.ruby-forum.com/u/Wayne_K)\
**Replies:** 0\
**Last updated:** [March 5, 2008, 7:56am UTC](https://www.ruby-forum.com/t/re-md5-memberwiseclone/131016 "2008-03-05T07:56:19Z")

</div>

From: Sanghyeon S. \[removed\_email\_address@domain.invalid\] Sent: Friday, 29 February 2008 2:23 PM To: removed\_email\_address@domain.invalid Subject: Re: \[Ironruby-core\] digest.so implemented Hash implementations are f…

---

## [Hardware Access using Ruby?](https://www.ruby-forum.com/t/hardware-access-using-ruby/131014)

<div class="topic-metadata">

**Author:** [@newbie](https://www.ruby-forum.com/u/newbie)\
**Replies:** 0\
**Last updated:** [March 5, 2008, 7:20am UTC](https://www.ruby-forum.com/t/hardware-access-using-ruby/131014 "2008-03-05T07:20:33Z")

</div>

If I need to read the audio signal from the microphone input port or from some PCI cards on a Windows PC using Ruby, do I have to write my own hardware drivers? Or there is existing programs/libraries I can use? Can I…

---

## [Heroku - It can be a nice Ironruby inspiration](https://www.ruby-forum.com/t/heroku-it-can-be-a-nice-ironruby-inspiration/131011)

<div class="topic-metadata">

**Author:** [@softmind](https://www.ruby-forum.com/u/softmind)\
**Replies:** 0\
**Last updated:** [March 5, 2008, 5:42am UTC](https://www.ruby-forum.com/t/heroku-it-can-be-a-nice-ironruby-inspiration/131011 "2008-03-05T05:42:05Z")

</div>

Hi, I was fascinated with this wonderful experiment called " heroku" more information here… www.heroku.com Its an online tool that lets you create Ruby on Rails website online. Its fast, Easy and Free. All i can…

---

## [Audio Processing in Ruby](https://www.ruby-forum.com/t/audio-processing-in-ruby/131001)

<div class="topic-metadata">

**Author:** [@ben-oakes](https://www.ruby-forum.com/u/ben-oakes)\
**Replies:** 2\
**Last updated:** [March 5, 2008, 4:49am UTC](https://www.ruby-forum.com/t/audio-processing-in-ruby/131001 "2008-03-05T04:49:24Z")

</div>

I’m interested in doing sound processing in Ruby. I’ve found some good libraries for Python, but haven’t been able to find anything very mature for Ruby (which I would prefer to work with, since I don’t know Python n…

---

## [Inspecting a block given to a method](https://www.ruby-forum.com/t/inspecting-a-block-given-to-a-method/130985)

<div class="topic-metadata">

**Author:** [@thomasmaas](https://www.ruby-forum.com/u/thomasmaas)\
**Replies:** 8\
**Last updated:** [March 5, 2008, 4:34am UTC](https://www.ruby-forum.com/t/inspecting-a-block-given-to-a-method/130985 "2008-03-05T04:34:42Z")

</div>

Hi, I am using JRuby to access data in some business application (Siebel, if anybody is interested). In Siebel I need to activate fields if I want to access them later: bc.activate\_field(name) bc.query(search\_specs) …

---

## [Hoe 1.5.1 Released](https://www.ruby-forum.com/t/hoe-1-5-1-released/130999)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [March 5, 2008, 2:34am UTC](https://www.ruby-forum.com/t/hoe-1-5-1-released/130999 "2008-03-05T02:34:56Z")

</div>

hoe version 1.5.1 has been released! http://rubyforge.org/projects/seattlerb/ http://seattlerb.rubyforge.org/hoe/ removed\_email\_address@domain.invalid Hoe is a simple rake/rubygems helper for project Rakefiles. It ge…

---

## [Latest XML parsing/memory benchmark](https://www.ruby-forum.com/t/latest-xml-parsing-memory-benchmark/130996)

<div class="topic-metadata">

**Author:** [@jimmy\_Zhang](https://www.ruby-forum.com/u/jimmy_Zhang)\
**Replies:** 0\
**Last updated:** [March 5, 2008, 1:55am UTC](https://www.ruby-forum.com/t/latest-xml-parsing-memory-benchmark/130996 "2008-03-05T01:55:39Z")

</div>

The latest benchmark results are now available using the latest Intel Core2 Duo processor. In summary, VTD-XML using JDK 1.6’s server JVM achieved an astonishing 120MB/sec sustained throughput per core on a Core2 Duo…

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

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