# Ruby

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

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

---

## [Installing RubyGems on arm architecture](https://www.ruby-forum.com/t/installing-rubygems-on-arm-architecture/63792)

<div class="topic-metadata">

**Author:** [@Sy\_Ali](https://www.ruby-forum.com/u/Sy_Ali)\
**Replies:** 4\
**Last updated:** [June 19, 2006, 6:18pm UTC](https://www.ruby-forum.com/t/installing-rubygems-on-arm-architecture/63792 "2006-06-19T18:18:54Z")

</div>

I try a manual installation of RubyGems (ruby setup.rb), and I get a string of errors. The most interesting one seems to be: /opt/QtPalmtop/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:29: in \`require’: libcrypt…

---

## [RUBY or (PHP5+PEAR+SMARTY)](https://www.ruby-forum.com/t/ruby-or-php5-pear-smarty/63737)

<div class="topic-metadata">

**Author:** [@jofes](https://www.ruby-forum.com/u/jofes)\
**Replies:** 17\
**Last updated:** [June 19, 2006, 5:34pm UTC](https://www.ruby-forum.com/t/ruby-or-php5-pear-smarty/63737 "2006-06-19T17:34:57Z")

</div>

Good afternoon; Im considering to build a CMS for NGO organisation. This organisation takes care of managing football torunaments in several cities in my country. The CMS should have: \_admin control panel for about …

---

## [Simple grid stuff?](https://www.ruby-forum.com/t/simple-grid-stuff/63814)

<div class="topic-metadata">

**Author:** [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Replies:** 1\
**Last updated:** [June 19, 2006, 5:15pm UTC](https://www.ruby-forum.com/t/simple-grid-stuff/63814 "2006-06-19T17:15:57Z")

</div>

People, Anyone doing any simple grid stuff in Ruby? Thanks, Phil. Philip R. Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275) GPO Box 3411 Sydney NSW 2001 Australia Mobile: +61:(0)411-185-652 Fax: …

---

## [Ruby to visualize information?](https://www.ruby-forum.com/t/ruby-to-visualize-information/63808)

<div class="topic-metadata">

**Author:** [@kyrre](https://www.ruby-forum.com/u/kyrre)\
**Replies:** 1\
**Last updated:** [June 19, 2006, 4:06pm UTC](https://www.ruby-forum.com/t/ruby-to-visualize-information/63808 "2006-06-19T16:06:48Z")

</div>

Hello! I am an architect studying the future of information. I was wondering how Ruby may play a role in visualizing information. The area where where cosmic information is turned into human knowledge is something I…

---

## [Looking for Mechanize code for login](https://www.ruby-forum.com/t/looking-for-mechanize-code-for-login/63770)

<div class="topic-metadata">

**Author:** [@sauy7](https://www.ruby-forum.com/u/sauy7)\
**Replies:** 2\
**Last updated:** [June 19, 2006, 3:18pm UTC](https://www.ruby-forum.com/t/looking-for-mechanize-code-for-login/63770 "2006-06-19T15:18:17Z")

</div>

Hi I am trying to automate collecting balances from my bank using Mechanize. I have set #!/usr/bin/env ruby require ‘rubygems’ require ‘mechanize’ require ‘pp’ username = “\*\*\*\*\*” password = “\*\*\*\*” site\_url = “h…

---

## [DATA and $](https://www.ruby-forum.com/t/data-and/95912)

<div class="topic-metadata">

**Author:** [@wybodekker](https://www.ruby-forum.com/u/wybodekker)\
**Replies:** 1\
**Last updated:** [June 19, 2006, 2:49pm UTC](https://www.ruby-forum.com/t/data-and/95912 "2006-06-19T14:49:59Z")

</div>

Is it correct that the first line read from DATA has not $. == 1 ? (This differs from Perl) #!/usr/local/bin/ruby DATA.each { |d| puts “lineno: #{$.} has: #{d}” } END 1 2 3 =\> lineno: 4 has: 1 lineno: 5 has: 2 …

---

## [Backport Process.getrlimit and Process.setrlimit to 1.8](https://www.ruby-forum.com/t/backport-process-getrlimit-and-process-setrlimit-to-1-8/63311)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 8\
**Last updated:** [June 19, 2006, 11:22am UTC](https://www.ruby-forum.com/t/backport-process-getrlimit-and-process-setrlimit-to-1-8/63311 "2006-06-19T11:22:30Z")

</div>

e$B2?2s$+e(B (chkbuild e$B$Ge(B CPU e$B;~4V$r@)8B$9$k$H$+!“e(Bcgi e$B$Ge(B CPU e$B;~4Ve(B e$B$r@)8B$9$k$H$+e(B)e$B!“e(B1.8 e$B$G$be(B Process.getrlimit e$B$He(B Process.setrlimit e$B$,M\_$7$$$J$!!”$H;W$&$3$H$,$”$C$?$N$…

---

## [Why does this code traversing iv\_tbl using dl/struct via evi](https://www.ruby-forum.com/t/why-does-this-code-traversing-iv-tbl-using-dl-struct-via-evi/63675)

<div class="topic-metadata">

**Author:** [@Rob\_Pitt](https://www.ruby-forum.com/u/Rob_Pitt)\
**Replies:** 1\
**Last updated:** [June 19, 2006, 10:46am UTC](https://www.ruby-forum.com/t/why-does-this-code-traversing-iv-tbl-using-dl-struct-via-evi/63675 "2006-06-19T10:46:12Z")

</div>

Hi all, I seem to have misunderstood some finer point of how the instance variable tables work. Since for something like this I expect code speaks louder than words, I have made a small test case using evil.rb (to ke…

---

## [Deadline for RubyConf 2006 Presentation Proposals](https://www.ruby-forum.com/t/deadline-for-rubyconf-2006-presentation-proposals/95517)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [June 19, 2006, 8:47am UTC](https://www.ruby-forum.com/t/deadline-for-rubyconf-2006-presentation-proposals/95517 "2006-06-19T08:47:05Z")

</div>

Hi – I realize I didn’t include a deadline in the last announcement. So here it is: June 30. (It was June 23, but since I forgot to include it in the announcement, I’m extending it by a week :slight\_smile: The site…

---

## [Early Binding in COM](https://www.ruby-forum.com/t/early-binding-in-com/63750)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 1\
**Last updated:** [June 19, 2006, 8:00am UTC](https://www.ruby-forum.com/t/early-binding-in-com/63750 "2006-06-19T08:00:50Z")

</div>

Reading the instructions of IEC.py\[\*\] (which perhaps I’d port to Ruby) I see they suggest to run something to be able to use early binding. Is there something analogous for Ruby? I browser the docs of WIN32OLE that of…

---

## [rubyFreenet 0.1](https://www.ruby-forum.com/t/rubyfreenet-0-1/63776)

<div class="topic-metadata">

**Author:** [@phersh](https://www.ruby-forum.com/u/phersh)\
**Replies:** 0\
**Last updated:** [June 19, 2006, 5:47am UTC](https://www.ruby-forum.com/t/rubyfreenet-0-1/63776 "2006-06-19T05:47:50Z")

</div>

rubyFreenet is a Ruby interface to Freenet Client Protocol 2.0. It’s probably not the best example of Ruby code ever, and I welcome any comments or criticism. Freenet is a decentralised anonymous network that provides…

---

## [Solution to quiz 83, Short but Unique](https://www.ruby-forum.com/t/solution-to-quiz-83-short-but-unique/63769)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 0\
**Last updated:** [June 19, 2006, 1:26am UTC](https://www.ruby-forum.com/t/solution-to-quiz-83-short-but-unique/63769 "2006-06-19T01:26:37Z")

</div>

\#! /usr/bin/env ruby This is a solution to ruby quiz 83. The style isn’t great ruby, I suspect, because although I’ve been using ruby on and off for three years, it’s mostly been “off”. In any case, this adds the desi…

---

## [Ruby in the sky with diamonds](https://www.ruby-forum.com/t/ruby-in-the-sky-with-diamonds/63752)

<div class="topic-metadata">

**Author:** [@banach](https://www.ruby-forum.com/u/banach)\
**Replies:** 8\
**Last updated:** [June 19, 2006, 12:49am UTC](https://www.ruby-forum.com/t/ruby-in-the-sky-with-diamonds/63752 "2006-06-19T00:49:46Z")

</div>

Hey there, sorry I’m a little new to ruby and need a tiny bit of help if anyone can see to help thatd be great: I better warn you now that this probably isnt going to be a short post! Say I have 5 files which just co…

---

## [Ruby/Unicode library](https://www.ruby-forum.com/t/ruby-unicode-library/95896)

<div class="topic-metadata">

**Author:** [@rob](https://www.ruby-forum.com/u/rob)\
**Replies:** 3\
**Last updated:** [June 18, 2006, 11:37pm UTC](https://www.ruby-forum.com/t/ruby-unicode-library/95896 "2006-06-18T23:37:15Z")

</div>

Since there’s been a lot of talk about Unicode lately, I thought I’d throw out a Ruby library I’ve been working on to support Unicode characters and strings based on the 4.1.0 standard and key specifications from the …

---

## [Compiling AIX 4.3.3 ruby 1.8.4](https://www.ruby-forum.com/t/compiling-aix-4-3-3-ruby-1-8-4/63689)

<div class="topic-metadata">

**Author:** [@lanny](https://www.ruby-forum.com/u/lanny)\
**Replies:** 8\
**Last updated:** [June 18, 2006, 10:48pm UTC](https://www.ruby-forum.com/t/compiling-aix-4-3-3-ruby-1-8-4/63689 "2006-06-18T22:48:09Z")

</div>

When trying to compile I received the following error(s). Could someone please point me to a current reading on AIX 4.3 install … ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o erro…

---

## [New RMagick tutorial: Web 2.0 Graphics](https://www.ruby-forum.com/t/new-rmagick-tutorial-web-2-0-graphics/63759)

<div class="topic-metadata">

**Author:** [@tim-hunter](https://www.ruby-forum.com/u/tim-hunter)\
**Replies:** 0\
**Last updated:** [June 18, 2006, 10:13pm UTC](https://www.ruby-forum.com/t/new-rmagick-tutorial-web-2-0-graphics/63759 "2006-06-18T22:13:46Z")

</div>

You spent hours getting RMagick installed. Here’s a chance to learn how to use it for something besides making thumbnails! A couple of weeks ago I ran across a tutorial called Web 2.0 Design Kit\[1\] that shows how to c…

---

## [General API design question: FooError vs Foo::Error](https://www.ruby-forum.com/t/general-api-design-question-fooerror-vs-foo-error/63758)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 0\
**Last updated:** [June 18, 2006, 9:45pm UTC](https://www.ruby-forum.com/t/general-api-design-question-fooerror-vs-foo-error/63758 "2006-06-18T21:45:29Z")

</div>

Hi all, I’ve noticed that some libs have changed from a class like FooError to Foo::Error. Take a look at TimeoutError vs Timeout::Error, for example. Is there a reason the latter is preferred these days? Just curio…

---

## [Unicode and sprintf method](https://www.ruby-forum.com/t/unicode-and-sprintf-method/95883)

<div class="topic-metadata">

**Author:** [@bmihelac](https://www.ruby-forum.com/u/bmihelac)\
**Replies:** 3\
**Last updated:** [June 18, 2006, 8:07pm UTC](https://www.ruby-forum.com/t/unicode-and-sprintf-method/95883 "2006-06-18T20:07:01Z")

</div>

I noticed that they does not work (ehdn used with jcode), I guess it’s because sprintf calls size and not jsize method of string, and jcode does not redefine sprintf (and many other methods). Is that true and is there…

---

## [RubyConf 2006 talk proposals now being accepted](https://www.ruby-forum.com/t/rubyconf-2006-talk-proposals-now-being-accepted/63749)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 18, 2006, 6:34pm UTC](https://www.ruby-forum.com/t/rubyconf-2006-talk-proposals-now-being-accepted/63749 "2006-06-18T18:34:08Z")

</div>

Hi everyone – In case you missed it the first time (and rather a lot of you seem to have…) – You can now submit a RubyConf 2006 presentation proposal, at: http://proposals.rubygarden.org You can, and you should, …

---

## [Fast Net::Http support?](https://www.ruby-forum.com/t/fast-net-http-support/63744)

<div class="topic-metadata">

**Author:** [@zenzei](https://www.ruby-forum.com/u/zenzei)\
**Replies:** 0\
**Last updated:** [June 18, 2006, 3:14pm UTC](https://www.ruby-forum.com/t/fast-net-http-support/63744 "2006-06-18T15:14:05Z")

</div>

Hi list! I currently writing some extensions for Mongrel to add advanced capabilities of Apache. Zed S. just told me that my RedirectHandler (ak. mod\_redirect) may be included in the next mongrel version (yay ! :-)) …

---

## [Generate a hex string from integers](https://www.ruby-forum.com/t/generate-a-hex-string-from-integers/63700)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 6\
**Last updated:** [June 18, 2006, 2:26pm UTC](https://www.ruby-forum.com/t/generate-a-hex-string-from-integers/63700 "2006-06-18T14:26:06Z")

</div>

Hi there, I’m new in Ruby. So, my question can seem simple for you. I need to generate a hex string from some digits: 1, 114, 3, 2 for example. I need the following hex representation: 00010072030002 - (0x0001, 0x0072…

---

## [1.9 core dumped](https://www.ruby-forum.com/t/1-9-core-dumped/63730)

<div class="topic-metadata">

**Author:** [@Tadayoshi\_F](https://www.ruby-forum.com/u/Tadayoshi_F)\
**Replies:** 0\
**Last updated:** [June 18, 2006, 11:41am UTC](https://www.ruby-forum.com/t/1-9-core-dumped/63730 "2006-06-18T11:41:34Z")

</div>

ãµãªã°ã§ã?ã?? 1.9 ã?ã?³ã?¢ã??åãã¾ã?ã??ã»ã¨ã??ã©å?ã?ã?ã¨ã??ã?ã¦ã?? Bus Error ã«ãªã£ã?ã??ã? Segmentation fault ã«ãªã£ã?ã??ã?ã¾ã?ã?? å??å? ã¯ã?ã?ã??ã¾ã?ã??ã?ã?ã?­ã?°ã??æ·»ä»?ã?ã¾…

---

## [RUBYGEMS install on AIX zlib not found](https://www.ruby-forum.com/t/rubygems-install-on-aix-zlib-not-found/95887)

<div class="topic-metadata">

**Author:** [@lanny](https://www.ruby-forum.com/u/lanny)\
**Replies:** 0\
**Last updated:** [June 18, 2006, 10:42am UTC](https://www.ruby-forum.com/t/rubygems-install-on-aix-zlib-not-found/95887 "2006-06-18T10:42:12Z")

</div>

I read all the posts on zlib but cannot find an answer … . I installed ruby on AIX 4.3.3 from tar.gz. My ext/zlib contains zlib.o and zlib.so. make test produces no errors. However, when I run ruby setup.rb from rubyg…

---

## [Problem with irb on OS X](https://www.ruby-forum.com/t/problem-with-irb-on-os-x/63725)

<div class="topic-metadata">

**Author:** [@Aaron\_K](https://www.ruby-forum.com/u/Aaron_K)\
**Replies:** 1\
**Last updated:** [June 18, 2006, 10:07am UTC](https://www.ruby-forum.com/t/problem-with-irb-on-os-x/63725 "2006-06-18T10:07:55Z")

</div>

I run Tiger on a Macbook. I installed Ruby and Rails by the DarwinPorts method. I tried to run irb, and I get the following: Macbook:~ aaron$ irb dyld: NSLinkModule() error dyld: Library not loaded: /opt/local/lib/…

---

## [Why do my posts appear twice?](https://www.ruby-forum.com/t/why-do-my-posts-appear-twice/95836)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 39\
**Last updated:** [June 18, 2006, 6:29am UTC](https://www.ruby-forum.com/t/why-do-my-posts-appear-twice/95836 "2006-06-18T06:29:26Z")

</div>

Hi all, I’m at a complete loss for why my posts are double posting. Does anyone have any idea why? The email address I’m using appears to be the same as everyone elses. Confused

---

## [Newbie question about arrays](https://www.ruby-forum.com/t/newbie-question-about-arrays/63716)

<div class="topic-metadata">

**Author:** [@Gautam\_D](https://www.ruby-forum.com/u/Gautam_D)\
**Replies:** 4\
**Last updated:** [June 18, 2006, 4:51am UTC](https://www.ruby-forum.com/t/newbie-question-about-arrays/63716 "2006-06-18T04:51:48Z")

</div>

Hello all, So I was going through the Ruby array documentation and came across Array. abbrev(pattern = nil). However, every time I run the example code in irb I get the following: rb(main):001:0\> %w{ car cone }.abbre…

---

## [Cleanup, of sorts](https://www.ruby-forum.com/t/cleanup-of-sorts/95876)

<div class="topic-metadata">

**Author:** [@tma](https://www.ruby-forum.com/u/tma)\
**Replies:** 2\
**Last updated:** [June 18, 2006, 4:38am UTC](https://www.ruby-forum.com/t/cleanup-of-sorts/95876 "2006-06-18T04:38:49Z")

</div>

Is there a method equivelant to perls DESTROY? I’m trying to clean up database connections that I created with an object instantiation but how to I make certain that they are closed when the object is out of scope?

---

## [Proper fowlsome noises](https://www.ruby-forum.com/t/proper-fowlsome-noises/95885)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 18, 2006, 3:43am UTC](https://www.ruby-forum.com/t/proper-fowlsome-noises/95885 "2006-06-18T03:43:27Z")

</div>

\[NOTE: Sorry about the double post. I want to get this into a separate thread -T.\] why the lucky stiff wrote: figured out a better way to dispatch methods. Hey, let’s let them try. I was looking over the Kernel met…

---

## [Want to go to RailsConf?](https://www.ruby-forum.com/t/want-to-go-to-railsconf/63564)

<div class="topic-metadata">

**Author:** [@jennyw](https://www.ruby-forum.com/u/jennyw)\
**Replies:** 1\
**Last updated:** [June 18, 2006, 2:39am UTC](https://www.ruby-forum.com/t/want-to-go-to-railsconf/63564 "2006-06-18T02:39:25Z")

</div>

Hi, everyone! I have a ticket to RailsConf in Chicago, but I think I’m going to have to give it up. I’d be happy to sell my ticket to someone else for the original price ($400). Of course, that’d be boring (but total…

---

## [Free eBook: The Little Book of Ruby](https://www.ruby-forum.com/t/free-ebook-the-little-book-of-ruby/63680)

<div class="topic-metadata">

**Author:** [@huw](https://www.ruby-forum.com/u/huw)\
**Replies:** 6\
**Last updated:** [June 18, 2006, 2:14am UTC](https://www.ruby-forum.com/t/free-ebook-the-little-book-of-ruby/63680 "2006-06-18T02:14:37Z")

</div>

This is an eBook for newcomers to Ruby: it contains 10 chapters and comes with full source code. It’s available for free download from http://www.sapphiresteel.com/ Enjoy! best wishes Huw

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

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