# Ruby

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

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

---

## [Net::SSH OpenSSL::PKey::DSAError](https://www.ruby-forum.com/t/net-ssh-openssl-dsaerror/161944)

<div class="topic-metadata">

**Author:** [@rjberry](https://www.ruby-forum.com/u/rjberry)\
**Replies:** 2\
**Last updated:** [March 4, 2009, 8:23am UTC](https://www.ruby-forum.com/t/net-ssh-openssl-dsaerror/161944 "2009-03-04T08:23:30Z")

</div>

Hi all, I’m having this problem with a JRuby script on Linux (RHEL). \[me@myserver bin\]$ jruby ssh\_test.rb /export/me/bin/jruby-1.1.6/lib/ruby/gems/1.8/gems/net-ssh-2.0.11/lib/net/ssh/transport/openssl.rb:116:in \`ssh\_d…

---

## [Ironruby-dev.zip](https://www.ruby-forum.com/t/ironruby-dev-zip/161951)

<div class="topic-metadata">

**Author:** [@jsoho](https://www.ruby-forum.com/u/jsoho)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 5:56am UTC](https://www.ruby-forum.com/t/ironruby-dev-zip/161951 "2009-03-04T05:56:58Z")

</div>

Currently, it’s a little hard to find your way around the github repository. To make our crazy directory structure manageable from the command line, the DLR and Languages teams have a developer bat file which sets up …

---

## [Ruby-opengl gem not working on 1.9?](https://www.ruby-forum.com/t/ruby-opengl-gem-not-working-on-1-9/161883)

<div class="topic-metadata">

**Author:** [@tbaustert](https://www.ruby-forum.com/u/tbaustert)\
**Replies:** 4\
**Last updated:** [March 4, 2009, 3:30am UTC](https://www.ruby-forum.com/t/ruby-opengl-gem-not-working-on-1-9/161883 "2009-03-04T03:30:40Z")

</div>

Hello. I have a problem with making ruby-opengl work on Ruby 1.9.1, Windows. I download the gem named ruby-opengl-0.60.1-x86-mswin32.gem and install it - the installation is successful. But then when I try to require …

---

## [Expanding environment variable](https://www.ruby-forum.com/t/expanding-environment-variable/161899)

<div class="topic-metadata">

**Author:** [@dasch](https://www.ruby-forum.com/u/dasch)\
**Replies:** 12\
**Last updated:** [March 4, 2009, 3:14am UTC](https://www.ruby-forum.com/t/expanding-environment-variable/161899 "2009-03-04T03:14:52Z")

</div>

Hi, I have a string s = “$DIR/test/$FILE” Is there an easy way to expand this with the defined environment variables? I can always write a quick parser, but I was wondering maybe this already exists? Thanks ds

---

## [Windows 7 - building win32/api gem](https://www.ruby-forum.com/t/windows-7-building-win32-api-gem/161882)

<div class="topic-metadata">

**Author:** [@swozniak](https://www.ruby-forum.com/u/swozniak)\
**Replies:** 4\
**Last updated:** [March 4, 2009, 2:04am UTC](https://www.ruby-forum.com/t/windows-7-building-win32-api-gem/161882 "2009-03-04T02:04:04Z")

</div>

Hi Guys, I have been trying to install win32-api 1.4.0 gem on windows 7 x64 but no success. When i install x86 version, require ‘win32/api’ gives me following error: LoadError: 193: %1 is not a valid Win32 applicati…

---

## [Git push](https://www.ruby-forum.com/t/git-push/158417)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 3\
**Last updated:** [March 3, 2009, 11:27pm UTC](https://www.ruby-forum.com/t/git-push/158417 "2009-03-03T23:27:18Z")

</div>

I’ve been doing daily pushes, but I forgot to send the emails. Sorry about that. I’ve just pushed a new Git Revision. Enjoy JD

---

## [Using inline "rescue" with error class](https://www.ruby-forum.com/t/using-inline-rescue-with-error-class/161845)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [March 3, 2009, 10:33pm UTC](https://www.ruby-forum.com/t/using-inline-rescue-with-error-class/161845 "2009-03-03T22:33:16Z")

</div>

Hi, instead of: begin IPAddr.new(value) rescue ArgumentError puts “Invalid IP” end I would like to just write: IPAddr.new(value) rescue ArgumentError puts “Invalid IP” Unfortunatelly it doesn’t work when the resc…

---

## [Issue with accents (UTF-8) - is it supposed to work?](https://www.ruby-forum.com/t/issue-with-accents-utf-8-is-it-supposed-to-work/161701)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 6\
**Last updated:** [March 3, 2009, 9:15pm UTC](https://www.ruby-forum.com/t/issue-with-accents-utf-8-is-it-supposed-to-work/161701 "2009-03-03T21:15:50Z")

</div>

Hi, not sure if it’s an oddity in my code, a bug or non-implemented feature in IronRuby or Mono - so I’m reporting it here. When using accents inside strings (“BarrÃ¨re”) that I pass to either buttons or datagridview…

---

## [Returning a Clr type in IronRuby](https://www.ruby-forum.com/t/returning-a-clr-type-in-ironruby/161900)

<div class="topic-metadata">

**Author:** [@Paul\_Cowan](https://www.ruby-forum.com/u/Paul_Cowan)\
**Replies:** 2\
**Last updated:** [March 3, 2009, 8:53pm UTC](https://www.ruby-forum.com/t/returning-a-clr-type-in-ironruby/161900 "2009-03-03T20:53:11Z")

</div>

Hi, I am trying to return a CLR object from Iron Ruby. I have the following CLR type defined in C# public class BuildMetaData { public string Description { get; set; } } I have the following IronRuby file: $:.uns…

---

## [Code Review: Fixes for setting/getting backtraces](https://www.ruby-forum.com/t/code-review-fixes-for-setting-getting-backtraces/161916)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 8:44pm UTC](https://www.ruby-forum.com/t/code-review-fixes-for-setting-getting-backtraces/161916 "2009-03-03T20:44:46Z")

</div>

tfpt review “/shelveset:exc;REDMOND\\sborde” Comment : Exception backtracesL: minitest was failing while reporting a test failure because .backtrace was returning null. This was because “raise existingExceptionObje…

---

## [ZenTest 4.0.0 Released](https://www.ruby-forum.com/t/zentest-4-0-0-released/161843)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 2\
**Last updated:** [March 3, 2009, 8:23pm UTC](https://www.ruby-forum.com/t/zentest-4-0-0-released/161843 "2009-03-03T20:23:29Z")

</div>

ZenTest version 4.0.0 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 and 1 library: zen…

---

## [Queue/IO blocking in threads](https://www.ruby-forum.com/t/queue-io-blocking-in-threads/161911)

<div class="topic-metadata">

**Author:** [@mjcharl](https://www.ruby-forum.com/u/mjcharl)\
**Replies:** 1\
**Last updated:** [March 3, 2009, 8:15pm UTC](https://www.ruby-forum.com/t/queue-io-blocking-in-threads/161911 "2009-03-03T20:15:05Z")

</div>

I am coding a client/server in which requests and responses are handled on the client and server side by threads communicating with Queues (because several sessions will share one connection to the server). In the cod…

---

## [Variable number of parameters on SOAP call?](https://www.ruby-forum.com/t/variable-number-of-parameters-on-soap-call/161906)

<div class="topic-metadata">

**Author:** [@john-anes](https://www.ruby-forum.com/u/john-anes)\
**Replies:** 2\
**Last updated:** [March 3, 2009, 6:53pm UTC](https://www.ruby-forum.com/t/variable-number-of-parameters-on-soap-call/161906 "2009-03-03T18:53:37Z")

</div>

Is there a way to specify a variable number of parameters on a SOAP call? Example: Ruby client that is trying to call a Perl SOAP server: dvr = SOAP::RPC::Driver.new(“http://samplehost.com:1234”, “urn:Test”) dvr.add…

---

## [Encoding\_fixed $b$h(b encoding\_none $b$ngq;\_(b](https://www.ruby-forum.com/t/encoding-fixed-b-h-b-encoding-none-b-ngq-b/160391)

<div class="topic-metadata">

**Author:** [@NARUSES\_Yui](https://www.ruby-forum.com/u/NARUSES_Yui)\
**Replies:** 7\
**Last updated:** [March 3, 2009, 6:12pm UTC](https://www.ruby-forum.com/t/encoding-fixed-b-h-b-encoding-none-b-ngq-b/160391 "2009-03-03T18:12:06Z")

</div>

e$B@.@%$G$9!#e(B e$B35MW$O@hF|$^$D$b$H$5$s$KOC$7$^$7$?$,!"e(BRegexp e$B$K$\*$1$kFC\<l$Je(B ENCODING\_FIXED e$B$He(B ENCODING\_NONE e$B$N07$$$O0lItITMW$K46$8$^$9!#e(B Ruby 1.9.1 e$B$K$Oe(B 1.8 e$BF1MM!"e(B e$B@55,I=8=%j%F…

---

## [How to find the specific row of CSV file](https://www.ruby-forum.com/t/how-to-find-the-specific-row-of-csv-file/161572)

<div class="topic-metadata">

**Author:** [@salil](https://www.ruby-forum.com/u/salil)\
**Replies:** 17\
**Last updated:** [March 3, 2009, 4:16pm UTC](https://www.ruby-forum.com/t/how-to-find-the-specific-row-of-csv-file/161572 "2009-03-03T16:16:36Z")

</div>

I want to change or read only specific row of CSV file, i don’t know how to do that.i.e. In my CSV file there are 10 no. of lines i want to read/write only 5th one how to do that. Any help is appreciated.

---

## [Porting ruby scripts to JRuby](https://www.ruby-forum.com/t/porting-ruby-scripts-to-jruby/161212)

<div class="topic-metadata">

**Author:** [@ulrichmp](https://www.ruby-forum.com/u/ulrichmp)\
**Replies:** 2\
**Last updated:** [March 3, 2009, 3:33pm UTC](https://www.ruby-forum.com/t/porting-ruby-scripts-to-jruby/161212 "2009-03-03T15:33:31Z")

</div>

Hi, We are using some scripts written in Ruby and want to intergated these with a Java Tool. For this, we need to call these Ruby scripts from Java.I came to know that this can be done using JRuby. The Ruby scripts …

---

## [Reading result of a command](https://www.ruby-forum.com/t/reading-result-of-a-command/161895)

<div class="topic-metadata">

**Author:** [@indium](https://www.ruby-forum.com/u/indium)\
**Replies:** 1\
**Last updated:** [March 3, 2009, 3:12pm UTC](https://www.ruby-forum.com/t/reading-result-of-a-command/161895 "2009-03-03T15:12:32Z")

</div>

Hi All, I am using system(“dir”) to execute commands in Command Prompt. I get the result(below) when I execute system(“dir”) command. I need to store the result in an array. I tried arr = system(“dir”) which stores t…

---

## [\[patch\] welcoming Mono in ir](https://www.ruby-forum.com/t/patch-welcoming-mono-in-ir/161885)

<div class="topic-metadata">

**Author:** [@Jb\_Evain](https://www.ruby-forum.com/u/Jb_Evain)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 12:50pm UTC](https://www.ruby-forum.com/t/patch-welcoming-mono-in-ir/161885 "2009-03-03T12:50:51Z")

</div>

Hey, In the progress of investigating why with the last git revision, ir.exe in repl mode doesn’t print the result of the evaluation, I figured I’d write the most useful patch of the year, to get a cute prompt on Mon…

---

## [Delegating class methods](https://www.ruby-forum.com/t/delegating-class-methods/161731)

<div class="topic-metadata">

**Author:** [@abc](https://www.ruby-forum.com/u/abc)\
**Replies:** 18\
**Last updated:** [March 3, 2009, 12:38pm UTC](https://www.ruby-forum.com/t/delegating-class-methods/161731 "2009-03-03T12:38:30Z")

</div>

Hi all, how would you forward calls from class methods to a class atribute? Like in: class Foo @@hash = {} def self.size @@hash.size end end I have to delegate a fairly large number of calls to an attribute. I’m …

---

## [\[Feature:trunk\] nested loop construct](https://www.ruby-forum.com/t/feature-trunk-nested-loop-construct/161351)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 9\
**Last updated:** [March 3, 2009, 10:39am UTC](https://www.ruby-forum.com/t/feature-trunk-nested-loop-construct/161351 "2009-03-03T10:39:35Z")

</div>

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B e$B:G6a!"e(BAO Benche$B$r8+$F$$$^$9!#e(Bhttp://lucille.atso-net.jp/aobench/ e$B\<B9T;~4V$Ne(B1/3e$B$Oe(BGCe$B$,\>CHq$7$F$$$FN^L!#e(B e$B$=$l$O$=$l$H$7$F!"e(BAO Benche$B$NCf$K$Oe(B nph…

---

## [Sockets and Fedora Core 9](https://www.ruby-forum.com/t/sockets-and-fedora-core-9/161836)

<div class="topic-metadata">

**Author:** [@clanger](https://www.ruby-forum.com/u/clanger)\
**Replies:** 3\
**Last updated:** [March 3, 2009, 10:13am UTC](https://www.ruby-forum.com/t/sockets-and-fedora-core-9/161836 "2009-03-03T10:13:49Z")

</div>

Hello, Apologies if this is well known or I’m posting in the wrong place. I have just spent too many hours trying to debug a problem when recieving multicasts with UDPSockets… code is as follows: SERVER=“192.0.0.1” …

---

## [Not able to read a file just created](https://www.ruby-forum.com/t/not-able-to-read-a-file-just-created/161564)

<div class="topic-metadata">

**Author:** [@naresh](https://www.ruby-forum.com/u/naresh)\
**Replies:** 3\
**Last updated:** [March 3, 2009, 8:26am UTC](https://www.ruby-forum.com/t/not-able-to-read-a-file-just-created/161564 "2009-03-03T08:26:22Z")

</div>

hi, My Ruby code is as follows In a class One method creats and writes (write\_data) one/more files by reading data from another file. Another method reads (read\_data) these files and perform some action. Observed t…

---

## [CSV.read$B$G%V%m%C%/(B](https://www.ruby-forum.com/t/csv-read-b-g-v-m-c-b/161866)

<div class="topic-metadata">

**Author:** [@madoka\_yamamoto](https://www.ruby-forum.com/u/madoka_yamamoto)\
**Replies:** 2\
**Last updated:** [March 3, 2009, 7:52am UTC](https://www.ruby-forum.com/t/csv-read-b-g-v-m-c-b/161866 "2009-03-03T07:52:13Z")

</div>

e$B$3$s$K$A$O!";3K$H$b$&$7$^$9!#e(B trunke$B$Ge(BCSVe$B$GF|K\\8l$N%U%!%$%k$rFI$9~$b$&$H$7$?$H$3$m!"e(B e$B%V%m%C%/$7$F$7$^$&8=\>\]$r$$D$1$^$7$?!#e(B e$B\>:Y$ODI$$$+$1$F$$$J$$$N$G$9$,!"e(B 1024e$B%P%$%H0J\>e$N%G!\<%?$rFI$\_9…

---

## [Roxml undefined method \<\<](https://www.ruby-forum.com/t/roxml-undefined-method/161580)

<div class="topic-metadata">

**Author:** [@inriz](https://www.ruby-forum.com/u/inriz)\
**Replies:** 2\
**Last updated:** [March 3, 2009, 7:35am UTC](https://www.ruby-forum.com/t/roxml-undefined-method/161580 "2009-03-03T07:35:50Z")

</div>

Hello, currently i’m trying out the newest version of roxml 2.5.0. The first example in the readme file with library and book doesn’t work. The error message is undefined method \<\< which occurs in the line lib \<\< bo…

---

## [DLL structure creation in ruby](https://www.ruby-forum.com/t/dll-structure-creation-in-ruby/161868)

<div class="topic-metadata">

**Author:** [@basu](https://www.ruby-forum.com/u/basu)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 7:16am UTC](https://www.ruby-forum.com/t/dll-structure-creation-in-ruby/161868 "2009-03-03T07:16:59Z")

</div>

Hi, I have a dll structure with params show in the code below , $typUUID = DllStructCreate(“int;short;short;byte\[8\]”) DllStructSetData($typUUID, 1, 0x626FC520) # Sets data to the first member (i.e int) DllStruct…

---

## [Amalgalite 0.7.6 Released](https://www.ruby-forum.com/t/amalgalite-0-7-6-released/161857)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 4:16am UTC](https://www.ruby-forum.com/t/amalgalite-0-7-6-released/161857 "2009-03-03T04:16:16Z")

</div>

amalgalite version 0.7.6 has been released. gem install amalgalite http://copiousfreetime.rubyforge.org/amalgalite/ Amalgalite embeds the SQLite database engine in a ruby extension. There is no need to install SQLi…

---

## [Does Darkfish-Rdoc work properly?](https://www.ruby-forum.com/t/does-darkfish-rdoc-work-properly/161841)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [March 3, 2009, 4:06am UTC](https://www.ruby-forum.com/t/does-darkfish-rdoc-work-properly/161841 "2009-03-03T04:06:55Z")

</div>

Hi, I’ve installed “rdoc” via gem and got surprised since the downloades version in Darkfish-Rdoc: dev(E)iate I’m not sure if Darkfish-Rdoc is the continuation of RDoc or a fork/version (I expected it was a version …

---

## [Sinatra 0.9.1 released!](https://www.ruby-forum.com/t/sinatra-0-9-1-released/161848)

<div class="topic-metadata">

**Author:** [@ryantate](https://www.ruby-forum.com/u/ryantate)\
**Replies:** 1\
**Last updated:** [March 3, 2009, 2:19am UTC](https://www.ruby-forum.com/t/sinatra-0-9-1-released/161848 "2009-03-03T02:19:10Z")

</div>

Sinatra 0.9.1 is a feature release. Highlights include support for running on Ruby 1.9.1, a shiny new API for extensions/plugins, and better support for building Rack middleware. This release is backward compatible wi…

---

## [Driving Oracle sqlplus with open3](https://www.ruby-forum.com/t/driving-oracle-sqlplus-with-open3/99985)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 11\
**Last updated:** [March 3, 2009, 1:41am UTC](https://www.ruby-forum.com/t/driving-oracle-sqlplus-with-open3/99985 "2009-03-03T01:41:30Z")

</div>

Hi all, Is it possible to drive Oracle’s sqlplus (command line utility) with open3? Don’t ask me why, just nod your head and accept it please. :slight\_smile: I seem to be able to connect and send sql, but I’m having …

---

## [Libraries similar to doodle?](https://www.ruby-forum.com/t/libraries-similar-to-doodle/161844)

<div class="topic-metadata">

**Author:** [@sean](https://www.ruby-forum.com/u/sean)\
**Replies:** 0\
**Last updated:** [March 3, 2009, 12:37am UTC](https://www.ruby-forum.com/t/libraries-similar-to-doodle/161844 "2009-03-03T00:37:21Z")

</div>

Hi, As part of the revamp of the doodle website, I’ve added a page listing what I consider similar libraries: http://doodle.rubyforge.org/similar-libraries.html If you have written a library that is in some way simil…

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

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