# Ruby

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

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

---

## [Julien KIRCH est absent / Julien KIRCH is offsite](https://www.ruby-forum.com/t/julien-kirch-est-absent-julien-kirch-is-offsite/163472)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [March 20, 2009, 6:15pm UTC](https://www.ruby-forum.com/t/julien-kirch-est-absent-julien-kirch-is-offsite/163472 "2009-03-20T18:15:53Z")

</div>

Je serai absent(e) à partir du 20/03/2009 de retour le 30/03/2009. Je suis indisponible jusqu’au 30 mars 2009. Pour toute question, merci de contacter PARIS BP2S GRP TECHNICAL TEAM. I’m off to 30th march 2009. For a…

---

## [Troubleshooting Ruby, Netbeans, sqljdbc](https://www.ruby-forum.com/t/troubleshooting-ruby-netbeans-sqljdbc/163467)

<div class="topic-metadata">

**Author:** [@tabassman](https://www.ruby-forum.com/u/tabassman)\
**Replies:** 0\
**Last updated:** [March 20, 2009, 5:32pm UTC](https://www.ruby-forum.com/t/troubleshooting-ruby-netbeans-sqljdbc/163467 "2009-03-20T17:32:14Z")

</div>

Hello everyone, I posting this after doing a good deal of unsuccessful researches. I am running windows with ruby 2.3.2 and working with netbeans. I just switch my project from running on the built-in ruby of nb, and…

---

## [Urgent: activerecord-jdbc-0.9.1 doesn't "see" tables or views in another schema and MRI doesn't hav](https://www.ruby-forum.com/t/urgent-activerecord-jdbc-0-9-1-doesnt-see-tables-or-views-in-another-schema-and-mri-doesnt-hav/163408)

<div class="topic-metadata">

**Author:** [@Renato\_Santos](https://www.ruby-forum.com/u/Renato_Santos)\
**Replies:** 4\
**Last updated:** [March 20, 2009, 4:50pm UTC](https://www.ruby-forum.com/t/urgent-activerecord-jdbc-0-9-1-doesnt-see-tables-or-views-in-another-schema-and-mri-doesnt-hav/163408 "2009-03-20T16:50:50Z")

</div>

Hi all. I have a very peculiar problem that I’m not remotely capable of solving (or so it seems…): my application uses Oracle 10g database and, for safety and manageability reasons, has to use an user that is not th…

---

## [No such file to load -- popup](https://www.ruby-forum.com/t/no-such-file-to-load-popup/163428)

<div class="topic-metadata">

**Author:** [@arvin](https://www.ruby-forum.com/u/arvin)\
**Replies:** 7\
**Last updated:** [March 20, 2009, 4:35pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-popup/163428 "2009-03-20T16:35:57Z")

</div>

Hi , i am newbie and i’m trying to open a popup from a ruby code which requires popup.rb. when i run the code it says “no such file to load – popup” .I tried to download for this for ruby source file , but din’t find…

---

## [Installing Ruby and Ruby Gems in a USB Flash Stick](https://www.ruby-forum.com/t/installing-ruby-and-ruby-gems-in-a-usb-flash-stick/163363)

<div class="topic-metadata">

**Author:** [@rubina](https://www.ruby-forum.com/u/rubina)\
**Replies:** 2\
**Last updated:** [March 20, 2009, 4:26pm UTC](https://www.ruby-forum.com/t/installing-ruby-and-ruby-gems-in-a-usb-flash-stick/163363 "2009-03-20T16:26:11Z")

</div>

Hello team, Had anyone installed Ruby in a USB Flash Stick? I installed 1.9.1 using the vxRuby installer, which installs ruby and wxruby, in my 64GB USB memory stick. This created the following issues: When I run i…

---

## [Nested methods](https://www.ruby-forum.com/t/nested-methods/163438)

<div class="topic-metadata">

**Author:** [@7stud](https://www.ruby-forum.com/u/7stud)\
**Replies:** 7\
**Last updated:** [March 20, 2009, 4:13pm UTC](https://www.ruby-forum.com/t/nested-methods/163438 "2009-03-20T16:13:53Z")

</div>

Hi, This example is from pickaxe2(I can’t find the page): def toggle def toggle puts “subsequent” end puts “first” end toggle toggle toggle –output:– first subsequent subsequent Can someone explain why the…

---

## [Converting a ruby string into a java string](https://www.ruby-forum.com/t/converting-a-ruby-string-into-a-java-string/163434)

<div class="topic-metadata">

**Author:** [@Thomas\_Malone](https://www.ruby-forum.com/u/Thomas_Malone)\
**Replies:** 1\
**Last updated:** [March 20, 2009, 4:09pm UTC](https://www.ruby-forum.com/t/converting-a-ruby-string-into-a-java-string/163434 "2009-03-20T16:09:46Z")

</div>

I am trying to call a static method on a java class, that takes two strings, there are also methods that take jdom documents, when I call the method I get a no method found error with RubyString RubyString. I tried …

---

## [Ssh sftp](https://www.ruby-forum.com/t/ssh-sftp/163456)

<div class="topic-metadata">

**Author:** [@gjohnson71](https://www.ruby-forum.com/u/gjohnson71)\
**Replies:** 0\
**Last updated:** [March 20, 2009, 3:18pm UTC](https://www.ruby-forum.com/t/ssh-sftp/163456 "2009-03-20T15:18:27Z")

</div>

I am trying to download a remote file and preserve the file attributes… mtime,atime etc. Does anyone know how to do this? I am using the sftp.download!() method. Thanks

---

## [BigNum optimizations](https://www.ruby-forum.com/t/bignum-optimizations/163050)

<div class="topic-metadata">

**Author:** [@Artem\_V](https://www.ruby-forum.com/u/Artem_V)\
**Replies:** 9\
**Last updated:** [March 20, 2009, 2:23pm UTC](https://www.ruby-forum.com/t/bignum-optimizations/163050 "2009-03-20T14:23:23Z")

</div>

Time for multiplication of BigNums grows quadratically with number of digits (ruby 1.8.7). And in ruby 1.9 is lower than in ruby 1.8: require ‘benchmark’ Benchmark.bmbm do |b| \[100, 200, 400, 800, 1600\].each do |n| …

---

## [String comparision help](https://www.ruby-forum.com/t/string-comparision-help/163406)

<div class="topic-metadata">

**Author:** [@live365](https://www.ruby-forum.com/u/live365)\
**Replies:** 3\
**Last updated:** [March 20, 2009, 1:23pm UTC](https://www.ruby-forum.com/t/string-comparision-help/163406 "2009-03-20T13:23:34Z")

</div>

Hi, I am new to ruby. I am trying to get input from the user and then trying to compare that string to perform action depending on the comparision result: Here is the code while command = STDIN.gets command.chomp …

---

## [Complex sort of matrix possible, e.g. like Excel?](https://www.ruby-forum.com/t/complex-sort-of-matrix-possible-e-g-like-excel/163193)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 17\
**Last updated:** [March 20, 2009, 12:48pm UTC](https://www.ruby-forum.com/t/complex-sort-of-matrix-possible-e-g-like-excel/163193 "2009-03-20T12:48:52Z")

</div>

Hi, I’ve got an array of rows (and thus a matrix) created user FasterCSV to extract data from a CSV file. I’d like to sort the matrix on column A ascending and, within that, column B descending. I looked at Matrix,…

---

## [Unicorn HTTP server (v0.2.1)](https://www.ruby-forum.com/t/unicorn-http-server-v0-2-1/163306)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 2\
**Last updated:** [March 20, 2009, 10:56am UTC](https://www.ruby-forum.com/t/unicorn-http-server-v0-2-1/163306 "2009-03-20T10:56:46Z")

</div>

I’ve released Unicorn v0.2.1, the threadless fork of Mongrel optimized to run on UNIX/Linux in a LAN/localhost-only environment. It features nginx-style binary replacement without losing connections and should support…

---

## [Wanted: Ticket to Golden Gate Ruby Conference](https://www.ruby-forum.com/t/wanted-ticket-to-golden-gate-ruby-conference/163423)

<div class="topic-metadata">

**Author:** [@frisco](https://www.ruby-forum.com/u/frisco)\
**Replies:** 0\
**Last updated:** [March 20, 2009, 8:00am UTC](https://www.ruby-forum.com/t/wanted-ticket-to-golden-gate-ruby-conference/163423 "2009-03-20T08:00:06Z")

</div>

Would hate to miss Rich Kilmer’s Cocoa/MacRuby presentation!

---

## [Modulo?](https://www.ruby-forum.com/t/modulo/163316)

<div class="topic-metadata">

**Author:** [@devrubygem](https://www.ruby-forum.com/u/devrubygem)\
**Replies:** 15\
**Last updated:** [March 20, 2009, 3:58am UTC](https://www.ruby-forum.com/t/modulo/163316 "2009-03-20T03:58:59Z")

</div>

Maybe i need to get some sleep, but can someone explain how modulos work? Thanks

---

## [ActiveLDAP StartTLS connection problem](https://www.ruby-forum.com/t/activeldap-starttls-connection-problem/163392)

<div class="topic-metadata">

**Author:** [@groogy](https://www.ruby-forum.com/u/groogy)\
**Replies:** 1\
**Last updated:** [March 20, 2009, 2:23am UTC](https://www.ruby-forum.com/t/activeldap-starttls-connection-problem/163392 "2009-03-20T02:23:32Z")

</div>

Hello, I’m having trouble using ActiveLDAP connecting using starttls. When using starttls I get ActiveLdap::ConnectionError: Giving up to reconnect with the server. I have a suspicion it doesn’t use the correct certi…

---

## [Load vs. instance\_eval](https://www.ruby-forum.com/t/load-vs-instance-eval/163412)

<div class="topic-metadata">

**Author:** [@matt\_neuburg](https://www.ruby-forum.com/u/matt_neuburg)\
**Replies:** 1\
**Last updated:** [March 20, 2009, 1:55am UTC](https://www.ruby-forum.com/t/load-vs-instance-eval/163412 "2009-03-20T01:55:27Z")

</div>

Assuming f is an absolute path, is there any important difference between load(f) and instance\_eval(File.read(f))? I have been saying the latter, but I’m thinking I could equally well say the former… Thx - m.

---

## [\[Bug #1305\](Closed) target\_os $B$,(B darwin $B7O$N\>l9g$KF0E\*%j%s%/IT2DG=$J\<B9T7A\<0$,@8@.$5$l$k\>l](https://www.ruby-forum.com/t/bug-1305-closed-target-os-b-b-darwin-b7o-n-l9g-kf0e-j-s-it2dg-j-b9t7a-0-8-5-l-k-l/163410)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 0\
**Last updated:** [March 20, 2009, 1:37am UTC](https://www.ruby-forum.com/t/bug-1305-closed-target-os-b-b-darwin-b7o-n-l9g-kf0e-j-s-it2dg-j-b9t7a-0-8-5-l-k-l/163410 "2009-03-20T01:37:55Z")

</div>

e$B%A%1%C%He(B #1305 e$B$,99?7$5$l$^$7$?!#e(B (by Nobuyoshi N.) e$B%9%F!\<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B Applied in changeset r23014. http://redmine.ruby-lang.org/issu…

---

## [Timeouts with Thread#join and Net:HTTP](https://www.ruby-forum.com/t/timeouts-with-thread-join-and-net-http/163201)

<div class="topic-metadata">

**Author:** [@Rushi](https://www.ruby-forum.com/u/Rushi)\
**Replies:** 2\
**Last updated:** [March 20, 2009, 1:18am UTC](https://www.ruby-forum.com/t/timeouts-with-thread-join-and-net-http/163201 "2009-03-20T01:18:09Z")

</div>

I have a script doing some multi-threaded work. Every thread is a call to an API making a simple post request. My problem is that the script throws a Timeout:Error when i’m waiting for all my threads to join /usr/li…

---

## [Gem cleanup problem](https://www.ruby-forum.com/t/gem-cleanup-problem/161986)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 11\
**Last updated:** [March 20, 2009, 1:11am UTC](https://www.ruby-forum.com/t/gem-cleanup-problem/161986 "2009-03-20T01:11:10Z")

</div>

I’m running Kubuntu Linux 8.10, and Rubygems 1.3.1. I’m trying to remove a sizable number of outdated gem versions, using the ‘gem update’ command. Initially, it appeared to be choking on RedCloth. I kept getting: ~$…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/163411)

<div class="topic-metadata">

**Author:** [@Randy\_Connolly](https://www.ruby-forum.com/u/Randy_Connolly)\
**Replies:** 0\
**Last updated:** [March 20, 2009, 1:05am UTC](https://www.ruby-forum.com/t/no-subject/163411 "2009-03-20T01:05:46Z")

</div>

unsubscribe

---

## [Deploying a rails app on Cherokee](https://www.ruby-forum.com/t/deploying-a-rails-app-on-cherokee/163305)

<div class="topic-metadata">

**Author:** [@fannus](https://www.ruby-forum.com/u/fannus)\
**Replies:** 1\
**Last updated:** [March 20, 2009, 12:29am UTC](https://www.ruby-forum.com/t/deploying-a-rails-app-on-cherokee/163305 "2009-03-20T00:29:30Z")

</div>

Hi. I’m running Cherokee web server on Debian, and so far while I’ve been learning Rails I’ve been hosting it on Mongrel. I want to be able to put my rails app functions inside of a larger, broader web page, but the t…

---

## [Force gem to use a given version of library](https://www.ruby-forum.com/t/force-gem-to-use-a-given-version-of-library/163323)

<div class="topic-metadata">

**Author:** [@edouard](https://www.ruby-forum.com/u/edouard)\
**Replies:** 2\
**Last updated:** [March 20, 2009, 12:01am UTC](https://www.ruby-forum.com/t/force-gem-to-use-a-given-version-of-library/163323 "2009-03-20T00:01:24Z")

</div>

hi, i have to install a gem and force it to use a given version of two installed library, (removing the older will trash my system) how can i tell gem to use the version i want? thanks

---

## [\[Bug #1305\] target\_os $B$,(B darwin $B7O$N\>l9g$KF0E\*%j%s%/IT2DG=$J\<B9T7A\<0$,@8@.$5$l$k\>l9g$,$"$k](https://www.ruby-forum.com/t/bug-1305-target-os-b-b-darwin-b7o-n-l9g-kf0e-j-s-it2dg-j-b9t7a-0-8-5-l-k-l9g-k/163398)

<div class="topic-metadata">

**Author:** [@Kenta\_M](https://www.ruby-forum.com/u/Kenta_M)\
**Replies:** 0\
**Last updated:** [March 19, 2009, 10:28pm UTC](https://www.ruby-forum.com/t/bug-1305-target-os-b-b-darwin-b7o-n-l9g-kf0e-j-s-it2dg-j-b9t7a-0-8-5-l-k-l9g-k/163398 "2009-03-19T22:28:14Z")

</div>

Bug #1305: target\_os e$B$,e(B darwin e$B7O$N\>l9g$KF0E\*%j%s%/IT2DG=$J\<B9T7A\<0$,@8@.$5$l$k\>l9g$,$"$ke(B http://redmine.ruby-lang.org/issues/show/1305 e$B5/I\<\<Te(B: Kenta M. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: High e…

---

## [Active record doesn't seem to see jdbc adapter](https://www.ruby-forum.com/t/active-record-doesnt-seem-to-see-jdbc-adapter/163383)

<div class="topic-metadata">

**Author:** [@moredip](https://www.ruby-forum.com/u/moredip)\
**Replies:** 2\
**Last updated:** [March 19, 2009, 9:27pm UTC](https://www.ruby-forum.com/t/active-record-doesnt-seem-to-see-jdbc-adapter/163383 "2009-03-19T21:27:10Z")

</div>

I have a problem that I can’t quite get to the bottom of. I have a DB that cannot handle the LIMIT clause on the SQL generated in Rails. No worries because I already have a modified rb file that should handle it. I…

---

## [OpenSSL symbol not found error](https://www.ruby-forum.com/t/openssl-symbol-not-found-error/163389)

<div class="topic-metadata">

**Author:** [@s0nspark](https://www.ruby-forum.com/u/s0nspark)\
**Replies:** 0\
**Last updated:** [March 19, 2009, 7:38pm UTC](https://www.ruby-forum.com/t/openssl-symbol-not-found-error/163389 "2009-03-19T19:38:23Z")

</div>

I have compiled ruby-enterprise with a patch to address a compile issue with openssl 0.9.8j (the patch works around duplicated method declarations) and am getting this following error when running capistrano: dyld: l…

---

## [Initializing an NxN array](https://www.ruby-forum.com/t/initializing-an-nxn-array/163370)

<div class="topic-metadata">

**Author:** [@rubina](https://www.ruby-forum.com/u/rubina)\
**Replies:** 6\
**Last updated:** [March 19, 2009, 7:31pm UTC](https://www.ruby-forum.com/t/initializing-an-nxn-array/163370 "2009-03-19T19:31:28Z")

</div>

Team, What is the easiest way to initialize a square matrix? For example, to initialize a 3x3 array elements to 0, I am doing what you see below. But I am not sure how to proceed if, for instance, I want a NxN arra…

---

## [Undefined Method 'downcase'](https://www.ruby-forum.com/t/undefined-method-downcase/163293)

<div class="topic-metadata">

**Author:** [@kotrotsos](https://www.ruby-forum.com/u/kotrotsos)\
**Replies:** 6\
**Last updated:** [March 19, 2009, 6:14pm UTC](https://www.ruby-forum.com/t/undefined-method-downcase/163293 "2009-03-19T18:14:30Z")

</div>

Hi and goodevening, hope someone can help i am trying to get some sort of scripting support going. I have the following code, which executes a ruby method and return the result. However, it is returning a method not f…

---

## [Problem compiling c extension with ruby-1.9.1 on windows](https://www.ruby-forum.com/t/problem-compiling-c-extension-with-ruby-1-9-1-on-windows/163342)

<div class="topic-metadata">

**Author:** [@praveen](https://www.ruby-forum.com/u/praveen)\
**Replies:** 2\
**Last updated:** [March 19, 2009, 3:35pm UTC](https://www.ruby-forum.com/t/problem-compiling-c-extension-with-ruby-1-9-1-on-windows/163342 "2009-03-19T15:35:54Z")

</div>

Hi, I am trying to compile a ruby-c extension with ruby1.9.1 (binaries downloaded from ruby-lang.org) on windows using VS 2008. when I run ruby extconf.rb I get an error as below. c:/ruby191/lib/ruby/1.9.1/mkmf.rb:36…

---

## [Deaf grandma](https://www.ruby-forum.com/t/deaf-grandma/144236)

<div class="topic-metadata">

**Author:** [@l1b](https://www.ruby-forum.com/u/l1b)\
**Replies:** 24\
**Last updated:** [March 19, 2009, 10:52am UTC](https://www.ruby-forum.com/t/deaf-grandma/144236 "2009-03-19T10:52:59Z")

</div>

i picked up ruby 2 days ago & have been bustlin’ chris pine’s “learn to program” tutorial, which goes over various aspects of ruby on a very fundamental level. up until today, i’ve had relatively no problem working ou…

---

## [Eval Weird Behavior](https://www.ruby-forum.com/t/eval-weird-behavior/163314)

<div class="topic-metadata">

**Author:** [@rsisnett](https://www.ruby-forum.com/u/rsisnett)\
**Replies:** 1\
**Last updated:** [March 19, 2009, 7:50am UTC](https://www.ruby-forum.com/t/eval-weird-behavior/163314 "2009-03-19T07:50:35Z")

</div>

Hi all… I’m doing some Genetic Programming for my AI class, and I ran into a weird “bug” or behavior with the “eval()” function. Mainly what I do is build a three of evaluable nodes, and then pour the structure into a…

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

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