# Ruby

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

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

---

## [Sparce Matrix Ruby](https://www.ruby-forum.com/t/sparce-matrix-ruby/178169)

<div class="topic-metadata">

**Author:** [@gimmickivek](https://www.ruby-forum.com/u/gimmickivek)\
**Replies:** 1\
**Last updated:** [October 30, 2009, 4:44am UTC](https://www.ruby-forum.com/t/sparce-matrix-ruby/178169 "2009-10-30T04:44:07Z")

</div>

Is there a class for sparce matrices in ruby? I read a couple of posts on using “hash” to create sparce matrices. Just wanted to know if one exists… I am trying to multiply 2 square matrices of higher order(\>10000). …

---

## [Ruby style question (many-arg methods)](https://www.ruby-forum.com/t/ruby-style-question-many-arg-methods/178168)

<div class="topic-metadata">

**Author:** [@paerez](https://www.ruby-forum.com/u/paerez)\
**Replies:** 3\
**Last updated:** [October 30, 2009, 4:39am UTC](https://www.ruby-forum.com/t/ruby-style-question-many-arg-methods/178168 "2009-10-30T04:39:40Z")

</div>

If you are calling a method that takes a lot of arguments and starts a block, how do you make that look pretty? i.e. Net::SSH.start(server,user,:password=\>password,:port=\>port,:other\_stuff =\> somevariable, :foo =\> ba…

---

## [Having issues with exception](https://www.ruby-forum.com/t/having-issues-with-exception/178104)

<div class="topic-metadata">

**Author:** [@riv](https://www.ruby-forum.com/u/riv)\
**Replies:** 7\
**Last updated:** [October 30, 2009, 3:03am UTC](https://www.ruby-forum.com/t/having-issues-with-exception/178104 "2009-10-30T03:03:15Z")

</div>

Hi, I have been having a bit of an issue. I am trying to create a program that will allow me to run a file containing a directory listing line by line through a proxy. I am designing this to help with my job, I am a w…

---

## [Ruby in Australia](https://www.ruby-forum.com/t/ruby-in-australia/178102)

<div class="topic-metadata">

**Author:** [@Hal\_F](https://www.ruby-forum.com/u/Hal_F)\
**Replies:** 3\
**Last updated:** [October 30, 2009, 1:27am UTC](https://www.ruby-forum.com/t/ruby-in-australia/178102 "2009-10-30T01:27:50Z")

</div>

Hi, all… I have talked with two or three Rubyists in Australia – principally Melbourne I think – and I am wondering how active things are over there? Is there an Australia-wide Ruby conference perhaps? Or might ther…

---

## [Mail](https://www.ruby-forum.com/t/mail/177838)

<div class="topic-metadata">

**Author:** [@Mikel\_L](https://www.ruby-forum.com/u/Mikel_L)\
**Replies:** 14\
**Last updated:** [October 30, 2009, 12:23am UTC](https://www.ruby-forum.com/t/mail/177838 "2009-10-30T00:23:25Z")

</div>

Some of you might know about a little gem that Minero A. wrote called tmail. I took over maintenance of tmail in 2007 to scratch an itch… but I found it difficult to add new features to. So then I decided to write a …

---

## [Unicorn 0.93.5 - fix timeout kill regression](https://www.ruby-forum.com/t/unicorn-0-93-5-fix-timeout-kill-regression/178155)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 0\
**Last updated:** [October 29, 2009, 11:07pm UTC](https://www.ruby-forum.com/t/unicorn-0-93-5-fix-timeout-kill-regression/178155 "2009-10-29T23:07:55Z")

</div>

Unicorn is a HTTP server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels. Slow clients should only be serv…

---

## [Net LDAP problem (no attrs or get\_attributes methods)](https://www.ruby-forum.com/t/net-ldap-problem-no-attrs-or-get-attributes-methods/178000)

<div class="topic-metadata">

**Author:** [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Replies:** 6\
**Last updated:** [October 29, 2009, 9:57pm UTC](https://www.ruby-forum.com/t/net-ldap-problem-no-attrs-or-get-attributes-methods/178000 "2009-10-29T21:57:05Z")

</div>

So I am having difficulty getting the attributes for an LDAP entry. If I check for specific attributes by name that works fine. However when I try the following: ldap.search(:base =\> base, :filter =\> address\_only\_…

---

## [Pair programming next week](https://www.ruby-forum.com/t/pair-programming-next-week/178151)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 0\
**Last updated:** [October 29, 2009, 9:55pm UTC](https://www.ruby-forum.com/t/pair-programming-next-week/178151 "2009-10-29T21:55:19Z")

</div>

The last few pair programming sessions had worked out very well. Since its been a while since we did one, I want to find out if anyone is interested in doing in again next week. Reply (just to me) if you have an IronR…

---

## [Nokogiri on Windows with Jruby?](https://www.ruby-forum.com/t/nokogiri-on-windows-with-jruby/171274)

<div class="topic-metadata">

**Author:** [@sjmadsen](https://www.ruby-forum.com/u/sjmadsen)\
**Replies:** 1\
**Last updated:** [October 29, 2009, 9:04pm UTC](https://www.ruby-forum.com/t/nokogiri-on-windows-with-jruby/171274 "2009-10-29T21:04:21Z")

</div>

Has anyone gotten nokogiri working on Windows? I had to put the libxml and related dlls in my path, which makes sense, but now it says it can’t find the calloc function. I assume that’s in the basic c runtime libra…

---

## [Jruby Snow Leopard Issue (JIT)](https://www.ruby-forum.com/t/jruby-snow-leopard-issue-jit/177732)

<div class="topic-metadata">

**Author:** [@chiefgeek](https://www.ruby-forum.com/u/chiefgeek)\
**Replies:** 4\
**Last updated:** [October 29, 2009, 8:05pm UTC](https://www.ruby-forum.com/t/jruby-snow-leopard-issue-jit/177732 "2009-10-29T20:05:53Z")

</div>

Anyone else seeing the problem on snow leopard, I constantly see it on my macbook air (Jruby 1.3.1) and now with the new release I’m starting to see it on my macbook also on Jruby 1.4RC2. :blush: jruby -S gem Erro…

---

## [List of ruby callbacks](https://www.ruby-forum.com/t/list-of-ruby-callbacks/178145)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 0\
**Last updated:** [October 29, 2009, 8:03pm UTC](https://www.ruby-forum.com/t/list-of-ruby-callbacks/178145 "2009-10-29T20:03:15Z")

</div>

I’ve been looking for a few days online but I can’t find an exhaustive list of all the Ruby callbacks / hooks, like “inherited”, “method\_missing”, “const\_missing”, “included”, “extended”, etc… Is there a page I’ve not…

---

## [\[ANN\] JRuby 1.4.0RC3 Released](https://www.ruby-forum.com/t/ann-jruby-1-4-0rc3-released/178093)

<div class="topic-metadata">

**Author:** [@Thomas\_E\_Enebo](https://www.ruby-forum.com/u/Thomas_E_Enebo)\
**Replies:** 1\
**Last updated:** [October 29, 2009, 7:57pm UTC](https://www.ruby-forum.com/t/ann-jruby-1-4-0rc3-released/178093 "2009-10-29T19:57:41Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.4.0RC3 Homepage: http://www.jruby.org/ Download: Downloads — JRuby.org Third time is a charm! Actually, this third release candidate is largely for …

---

## [Problem with compiling Ruby-1.9.1-p243](https://www.ruby-forum.com/t/problem-with-compiling-ruby-1-9-1-p243/178142)

<div class="topic-metadata">

**Author:** [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Replies:** 5\
**Last updated:** [October 29, 2009, 7:27pm UTC](https://www.ruby-forum.com/t/problem-with-compiling-ruby-1-9-1-p243/178142 "2009-10-29T19:27:04Z")

</div>

Hi…I am having problem to compile Ruby-1.9.1-p243 on AIX 5.3. Can anyone help me? Thanks Richard

---

## [Uninitialized Constant](https://www.ruby-forum.com/t/uninitialized-constant/178076)

<div class="topic-metadata">

**Author:** [@joshs](https://www.ruby-forum.com/u/joshs)\
**Replies:** 8\
**Last updated:** [October 29, 2009, 6:06pm UTC](https://www.ruby-forum.com/t/uninitialized-constant/178076 "2009-10-29T18:06:09Z")

</div>

I am sure that there is going to be info I leave out that you will need, so bear with me please. I have extremely little knowledge of ruby so I am sure this will be something simple (at least I hope). I am running rub…

---

## [String Matching Problem](https://www.ruby-forum.com/t/string-matching-problem/178080)

<div class="topic-metadata">

**Author:** [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Replies:** 11\
**Last updated:** [October 29, 2009, 6:04pm UTC](https://www.ruby-forum.com/t/string-matching-problem/178080 "2009-10-29T18:04:07Z")

</div>

I need a way to accomplish the following. I can’t figure out an elegant way, beating my head against the wall thinking about it. I receive strings into a variable and want to check that string to see if it contains a…

---

## [OS and IE version detection](https://www.ruby-forum.com/t/os-and-ie-version-detection/178138)

<div class="topic-metadata">

**Author:** [@paragadosm](https://www.ruby-forum.com/u/paragadosm)\
**Replies:** 0\
**Last updated:** [October 29, 2009, 5:39pm UTC](https://www.ruby-forum.com/t/os-and-ie-version-detection/178138 "2009-10-29T17:39:36Z")

</div>

I’ve looked around but haven’t came across something that helps me. In my Ruby script, I want to acquire the Windows version and Internet Explorer version of the individual running the script. Here’s the catch, HTTP\_…

---

## [Roma, distributed key-value store in ruby Translation Needed](https://www.ruby-forum.com/t/roma-distributed-key-value-store-in-ruby-translation-needed/178139)

<div class="topic-metadata">

**Author:** [@3nd3r](https://www.ruby-forum.com/u/3nd3r)\
**Replies:** 0\
**Last updated:** [October 29, 2009, 5:30pm UTC](https://www.ruby-forum.com/t/roma-distributed-key-value-store-in-ruby-translation-needed/178139 "2009-10-29T17:30:44Z")

</div>

Here’s an interesting project that I first heard about on reddit. It is a distributed key-value store like dynamo using eventmachine and fibers. I also saw this article when googling roma and would like a translati…

---

## [Thread error "undefined method \`keys' for nil:NilClass"](https://www.ruby-forum.com/t/thread-error-undefined-method-keys-for-nil-nilclass/178136)

<div class="topic-metadata">

**Author:** [@acemutha](https://www.ruby-forum.com/u/acemutha)\
**Replies:** 0\
**Last updated:** [October 29, 2009, 5:21pm UTC](https://www.ruby-forum.com/t/thread-error-undefined-method-keys-for-nil-nilclass/178136 "2009-10-29T17:21:31Z")

</div>

Hi all I have this prog taken from a book. require ‘net/http’ pages = \[“www.rubycentral.com”, “www.awl.com”, “www.davidecasale.com”\] threads = \[\] pages.each do |page| threads \<\< Thread.new(page) { |myPage| h = Net:…

---

## [1.4.0RC2 and 1.4.0RC3 not available on the Maven central repo](https://www.ruby-forum.com/t/1-4-0rc2-and-1-4-0rc3-not-available-on-the-maven-central-repo/178132)

<div class="topic-metadata">

**Author:** [@a\_mc](https://www.ruby-forum.com/u/a_mc)\
**Replies:** 3\
**Last updated:** [October 29, 2009, 5:12pm UTC](https://www.ruby-forum.com/t/1-4-0rc2-and-1-4-0rc3-not-available-on-the-maven-central-repo/178132 "2009-10-29T17:12:34Z")

</div>

Hi, I’m updating our project’s pom.xml to use 1.4.0RC3 but neither it nor RC2 are available on the Maven central repo. Any particular reason why? Thanks, -Mario.

---

## [Executable war file](https://www.ruby-forum.com/t/executable-war-file/178078)

<div class="topic-metadata">

**Author:** [@superwick](https://www.ruby-forum.com/u/superwick)\
**Replies:** 3\
**Last updated:** [October 29, 2009, 4:23pm UTC](https://www.ruby-forum.com/t/executable-war-file/178078 "2009-10-29T16:23:24Z")

</div>

Hello, We are trying to make a war file with Jruby which will be executable in non-exploded form with ‘java -jar execwar.war’. There is a problem with jruby-rack being able to load some of the rails files from the cl…

---

## [Problem with tar2rubyscript](https://www.ruby-forum.com/t/problem-with-tar2rubyscript/178125)

<div class="topic-metadata">

**Author:** [@svceon](https://www.ruby-forum.com/u/svceon)\
**Replies:** 1\
**Last updated:** [October 29, 2009, 3:50pm UTC](https://www.ruby-forum.com/t/problem-with-tar2rubyscript/178125 "2009-10-29T15:50:38Z")

</div>

Hi, im new to RoR, im developing in Linux Ubuntu (9.04) and im having problems with tar2rubyscript: my final point of this app is to test the tar2rubyscript myapp/ rubyscript2exe myapp.rb so that i can execute the r…

---

## [What us binding objects](https://www.ruby-forum.com/t/what-us-binding-objects/178114)

<div class="topic-metadata">

**Author:** [@nike](https://www.ruby-forum.com/u/nike)\
**Replies:** 3\
**Last updated:** [October 29, 2009, 2:20pm UTC](https://www.ruby-forum.com/t/what-us-binding-objects/178114 "2009-10-29T14:20:28Z")

</div>

What is the usage of binding objects

---

## [Platform](https://www.ruby-forum.com/t/platform/178107)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 3\
**Last updated:** [October 29, 2009, 1:59pm UTC](https://www.ruby-forum.com/t/platform/178107 "2009-10-29T13:59:58Z")

</div>

I noticed that the PLATFORM and RUBY\_PLATFORM constants returns the same string when running from MRI as from IronRuby. Is there a standard Ruby constant or Kernel method or something that will indicate that the inter…

---

## [Open source project to port](https://www.ruby-forum.com/t/open-source-project-to-port/178051)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 12\
**Last updated:** [October 29, 2009, 1:44pm UTC](https://www.ruby-forum.com/t/open-source-project-to-port/178051 "2009-10-29T13:44:10Z")

</div>

Hi I’m looking for a smallish .NET open source project to port to ironruby which one should I take? Met vriendelijke groeten - Best regards - Salutations Ivan Porto C. Blog: http://flanders.co.nz Twitter: http://tw…

---

## [Open an explorer window](https://www.ruby-forum.com/t/open-an-explorer-window/178120)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 3\
**Last updated:** [October 29, 2009, 1:35pm UTC](https://www.ruby-forum.com/t/open-an-explorer-window/178120 "2009-10-29T13:35:58Z")

</div>

Does anyone know how to open a windows explorer window with Ruby? What I want to do is to open up the folder in which I just copied some files. any ideas would be very helpful.

---

## [Cloning only when necessary](https://www.ruby-forum.com/t/cloning-only-when-necessary/178119)

<div class="topic-metadata">

**Author:** [@robkuz](https://www.ruby-forum.com/u/robkuz)\
**Replies:** 0\
**Last updated:** [October 29, 2009, 1:03pm UTC](https://www.ruby-forum.com/t/cloning-only-when-necessary/178119 "2009-10-29T13:03:12Z")

</div>

Hi, if you want to make sure you get a copy of an instance that nobody else has access to you can #clone it. That’s not necessary if the instance is immutable or frozen (or both). Does anybody think it is a good id…

---

## [Read attached document from .eml file](https://www.ruby-forum.com/t/read-attached-document-from-eml-file/178060)

<div class="topic-metadata">

**Author:** [@itkin](https://www.ruby-forum.com/u/itkin)\
**Replies:** 2\
**Last updated:** [October 29, 2009, 11:57am UTC](https://www.ruby-forum.com/t/read-attached-document-from-eml-file/178060 "2009-10-29T11:57:32Z")

</div>

Hi, I have to read .eml file with ruby in order to get and extract attachements, does anything exist on this subject ? Thanks in advance , Nicolas

---

## [\[ANN\] JRuby 1.4.0RC2 Released](https://www.ruby-forum.com/t/ann-jruby-1-4-0rc2-released/177686)

<div class="topic-metadata">

**Author:** [@Thomas\_E\_Enebo](https://www.ruby-forum.com/u/Thomas_E_Enebo)\
**Replies:** 13\
**Last updated:** [October 29, 2009, 6:52am UTC](https://www.ruby-forum.com/t/ann-jruby-1-4-0rc2-released/177686 "2009-10-29T06:52:40Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.4.0RC2 Homepage: http://www.jruby.org/ Download: Downloads — JRuby.org The JRuby 1.4.0 release ends a long release cycle in which we resolved a huge n…

---

## [Selective module include](https://www.ruby-forum.com/t/selective-module-include/178072)

<div class="topic-metadata">

**Author:** [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Replies:** 2\
**Last updated:** [October 29, 2009, 3:56am UTC](https://www.ruby-forum.com/t/selective-module-include/178072 "2009-10-29T03:56:31Z")

</div>

Howdy! I’m inheriting from BasicObject (ruby 1.9), but in my case I’d like it to be slightly less basic. Currently I’m importing methods like: def lambda(\*args, &block) Kernel.lambda(\*args, &block) end def raise(\*…

---

## [Review: Fix for Time.utc accepting a month string argument](https://www.ruby-forum.com/t/review-fix-for-time-utc-accepting-a-month-string-argument/178095)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 0\
**Last updated:** [October 29, 2009, 1:18am UTC](https://www.ruby-forum.com/t/review-fix-for-time-utc-accepting-a-month-string-argument/178095 "2009-10-29T01:18:30Z")

</div>

tfpt review /shelveset:utc;sborde Fix for Time.utc accepting a month string argument

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

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