# Ruby

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

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

---

## [Amatch .so/.dll's?](https://www.ruby-forum.com/t/amatch-so-dlls/171187)

<div class="topic-metadata">

**Author:** [@dennismajor1](https://www.ruby-forum.com/u/dennismajor1)\
**Replies:** 0\
**Last updated:** [June 28, 2009, 4:00am UTC](https://www.ruby-forum.com/t/amatch-so-dlls/171187 "2009-06-28T04:00:51Z")

</div>

Anyone know of a v1.8.6 windows source for the approximate string match library… ideally a gem with prebuilt binaries for the .exts? Any leads would be appreciated.

---

## [Gem mirror rubyforge.iasi.roedu.net not working](https://www.ruby-forum.com/t/gem-mirror-rubyforge-iasi-roedu-net-not-working/171177)

<div class="topic-metadata">

**Author:** [@tekwiz](https://www.ruby-forum.com/u/tekwiz)\
**Replies:** 3\
**Last updated:** [June 28, 2009, 12:35am UTC](https://www.ruby-forum.com/t/gem-mirror-rubyforge-iasi-roedu-net-not-working/171177 "2009-06-28T00:35:05Z")

</div>

Anybody know what the proper procedure is for reporting a rubyforge gem mirror not working? (i.e. rubyforge.iasi.roedu.net) It appears that it hasn’t updated since the 16th. – TekWiz

---

## [Error installing sqlite3 gem on solaris](https://www.ruby-forum.com/t/error-installing-sqlite3-gem-on-solaris/171106)

<div class="topic-metadata">

**Author:** [@will\_p](https://www.ruby-forum.com/u/will_p)\
**Replies:** 1\
**Last updated:** [June 28, 2009, 12:33am UTC](https://www.ruby-forum.com/t/error-installing-sqlite3-gem-on-solaris/171106 "2009-06-28T00:33:49Z")

</div>

I am attempting to install the sqlite3 gem under Solaris and am getting the following error: 101 beech# gem install sqlite3-ruby Building native extensions. This could take a while… ERROR: Error installing sqlite…

---

## [Spelling mistake in comment in sample files](https://www.ruby-forum.com/t/spelling-mistake-in-comment-in-sample-files/171164)

<div class="topic-metadata">

**Author:** [@Elias\_Kuthe](https://www.ruby-forum.com/u/Elias_Kuthe)\
**Replies:** 1\
**Last updated:** [June 27, 2009, 10:05pm UTC](https://www.ruby-forum.com/t/spelling-mistake-in-comment-in-sample-files/171164 "2009-06-27T22:05:47Z")

</div>

Hello, I just wanted to post you three little spelling mistakes in the samples.

---

## [RMagick 2.10.0 released with support for Ruby-managed memory](https://www.ruby-forum.com/t/rmagick-2-10-0-released-with-support-for-ruby-managed-memory/170660)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 1\
**Last updated:** [June 27, 2009, 9:07pm UTC](https://www.ruby-forum.com/t/rmagick-2-10-0-released-with-support-for-ruby-managed-memory/170660 "2009-06-27T21:07:58Z")

</div>

I’ve just uploaded RMagick 2.10.0 to RubyForge. This release includes experimental support for using Ruby-managed memory for all RMagick allocations. This means that Image objects (and all other RMagick objects) are m…

---

## [Compiling 1.9.1 p129 with Borland C++](https://www.ruby-forum.com/t/compiling-1-9-1-p129-with-borland-c/171180)

<div class="topic-metadata">

**Author:** [@algnod](https://www.ruby-forum.com/u/algnod)\
**Replies:** 1\
**Last updated:** [June 27, 2009, 8:36pm UTC](https://www.ruby-forum.com/t/compiling-1-9-1-p129-with-borland-c/171180 "2009-06-27T20:36:21Z")

</div>

The “bcc32”-folder in 1.9.1-p129-source archive is empty. Is there any way of compiling this release with the Borland compiler or getting an already compiled binary-package?

---

## [Trying to define a 'class' without using 'class' sentence](https://www.ruby-forum.com/t/trying-to-define-a-class-without-using-class-sentence/171120)

<div class="topic-metadata">

**Author:** [@fearx](https://www.ruby-forum.com/u/fearx)\
**Replies:** 17\
**Last updated:** [June 27, 2009, 7:42pm UTC](https://www.ruby-forum.com/t/trying-to-define-a-class-without-using-class-sentence/171120 "2009-06-27T19:42:09Z")

</div>

Hi people… I was watching the Dave T.’ talk on the ScotlandOnRails 2009 event about Ruby and the Object. He say that a class does not exists on the Ruby land, a class is just an instance of Class class. So I was wond…

---

## [Gem mirror rubyforge.iasi.roedu.net not working](https://www.ruby-forum.com/t/gem-mirror-rubyforge-iasi-roedu-net-not-working/171175)

<div class="topic-metadata">

**Author:** [@tekwiz](https://www.ruby-forum.com/u/tekwiz)\
**Replies:** 0\
**Last updated:** [June 27, 2009, 7:38pm UTC](https://www.ruby-forum.com/t/gem-mirror-rubyforge-iasi-roedu-net-not-working/171175 "2009-06-27T19:38:43Z")

</div>

Anybody know what the proper procedure is for reporting a rubyforge gem mirror not working? (i.e. rubyforge.iasi.roedu.net) It appears that it hasn’t updated since the 16th.

---

## [Wikibooks wiki](https://www.ruby-forum.com/t/wikibooks-wiki/171174)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 0\
**Last updated:** [June 27, 2009, 6:58pm UTC](https://www.ruby-forum.com/t/wikibooks-wiki/171174 "2009-06-27T18:58:31Z")

</div>

Roger P. removed\_email\_address@domain.invalid wrote There is somewhat of a wiki: Ruby Programming - Wikibooks, open books for an open world \[it’s even linked to from deep within the nether-reaches of the ruby-lang.or…

---

## [Is there a way to abandon a gsub if you're using a block?](https://www.ruby-forum.com/t/is-there-a-way-to-abandon-a-gsub-if-youre-using-a-block/171071)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 9\
**Last updated:** [June 27, 2009, 6:24pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-abandon-a-gsub-if-youre-using-a-block/171071 "2009-06-27T18:24:30Z")

</div>

I am using the form of gsub that takes a block to determine what to substitute. My problem is that I can’t quite get the regex working, but I will be able to detect that it matched incorrectly, once I can inspect the …

---

## [Movie](https://www.ruby-forum.com/t/movie/171165)

<div class="topic-metadata">

**Author:** [@maik22](https://www.ruby-forum.com/u/maik22)\
**Replies:** 0\
**Last updated:** [June 27, 2009, 10:00am UTC](https://www.ruby-forum.com/t/movie/171165 "2009-06-27T10:00:50Z")

</div>

---

## [Why does this include fail in instance\_exec?](https://www.ruby-forum.com/t/why-does-this-include-fail-in-instance-exec/171158)

<div class="topic-metadata">

**Author:** [@charlton](https://www.ruby-forum.com/u/charlton)\
**Replies:** 1\
**Last updated:** [June 27, 2009, 8:31am UTC](https://www.ruby-forum.com/t/why-does-this-include-fail-in-instance-exec/171158 "2009-06-27T08:31:52Z")

</div>

The following code will dynamically create a class, C, inside of module A. Class C would like to include module B which is also defined in module A but the ‘include B’ line for C fails with \`module\_eval’: uninitialize…

---

## [Two ways to generate RSS - rss/maker and rss/2.0 - which is better?](https://www.ruby-forum.com/t/two-ways-to-generate-rss-rss-maker-and-rss-2-0-which-is-better/171117)

<div class="topic-metadata">

**Author:** [@jgeggatt](https://www.ruby-forum.com/u/jgeggatt)\
**Replies:** 1\
**Last updated:** [June 27, 2009, 5:54am UTC](https://www.ruby-forum.com/t/two-ways-to-generate-rss-rss-maker-and-rss-2-0-which-is-better/171117 "2009-06-27T05:54:38Z")

</div>

From some fiddling I’ve found that there are two ways to generate RSS using the rubyRSS libraries shipped with ruby 1.8.7. Neither method seems ideal for generating RSS 2.0 (the RSS XML produced seems to be missing ta…

---

## [Win32API keystate issue](https://www.ruby-forum.com/t/win32api-keystate-issue/171145)

<div class="topic-metadata">

**Author:** [@dreamwave](https://www.ruby-forum.com/u/dreamwave)\
**Replies:** 1\
**Last updated:** [June 27, 2009, 1:13am UTC](https://www.ruby-forum.com/t/win32api-keystate-issue/171145 "2009-06-27T01:13:19Z")

</div>

Generally speaking, I want to use: Win32API.new(‘user32’,‘GetAsyncKeyState’,\[‘i’\],‘i’) in the same way as: Win32API.new(‘crtdll’,’\_getch’,\[\],‘L’).Call.chr ######### I’m trying to take all of the user input typed int…

---

## [WinForms in IronRuby](https://www.ruby-forum.com/t/winforms-in-ironruby/171130)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 2\
**Last updated:** [June 27, 2009, 12:34am UTC](https://www.ruby-forum.com/t/winforms-in-ironruby/171130 "2009-06-27T00:34:07Z")

</div>

Hi there, I’ve just published a blog post about an IR class I wrote to convert WinForms designer code to IronRuby. It is available at: http://blogs.microsoft.co.il/blogs/shayf/archive/2009/06/26/winforms-in-ironruby.…

---

## [Review: Misc ActiveRecord bug fixes](https://www.ruby-forum.com/t/review-misc-activerecord-bug-fixes/171141)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 0\
**Last updated:** [June 26, 2009, 11:28pm UTC](https://www.ruby-forum.com/t/review-misc-activerecord-bug-fixes/171141 "2009-06-26T23:28:37Z")

</div>

---

## [Software for forums](https://www.ruby-forum.com/t/software-for-forums/171134)

<div class="topic-metadata">

**Author:** [@christoph\_j](https://www.ruby-forum.com/u/christoph_j)\
**Replies:** 2\
**Last updated:** [June 26, 2009, 10:14pm UTC](https://www.ruby-forum.com/t/software-for-forums/171134 "2009-06-26T22:14:55Z")

</div>

Hi, I want to setup a forum. Ruby(RoR, Sinatra,…) would be my choice. Does anyone knows a nice (not a 4 color ugly !grrr!) forum web app? I really don’t have the time to write my own and unhappily would choose PHP or …

---

## [Regex that works on rubular.com but not in my program](https://www.ruby-forum.com/t/regex-that-works-on-rubular-com-but-not-in-my-program/171017)

<div class="topic-metadata">

**Author:** [@ghan](https://www.ruby-forum.com/u/ghan)\
**Replies:** 7\
**Last updated:** [June 26, 2009, 8:56pm UTC](https://www.ruby-forum.com/t/regex-that-works-on-rubular-com-but-not-in-my-program/171017 "2009-06-26T20:56:58Z")

</div>

hi, i have some trouble with a regex. it works on rubular.com but not in my program ive used the content in testfile.txt on rubular.com the regex finds a ip-address, a flag and a username in a TCP-packet(an example:…

---

## [Passing a method reference and then calling it](https://www.ruby-forum.com/t/passing-a-method-reference-and-then-calling-it/171128)

<div class="topic-metadata">

**Author:** [@himdel](https://www.ruby-forum.com/u/himdel)\
**Replies:** 4\
**Last updated:** [June 26, 2009, 8:36pm UTC](https://www.ruby-forum.com/t/passing-a-method-reference-and-then-calling-it/171128 "2009-06-26T20:36:26Z")

</div>

How do you pass a method reference and call it on a particular object? I know I can pass it as a string and call eval, but I’m trying to avoid that performance hit.

---

## [FYI Code Review: licensecheck](https://www.ruby-forum.com/t/fyi-code-review-licensecheck/171131)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [June 26, 2009, 8:32pm UTC](https://www.ruby-forum.com/t/fyi-code-review-licensecheck/171131 "2009-06-26T20:32:56Z")

</div>

FYI tfpt review “/shelveset:licensecheck;REDMOND\\jdeville” Comment : add license check add samples to release package add license headers where needed.

---

## [Archiarchitecture Network, need some help!](https://www.ruby-forum.com/t/archiarchitecture-network-need-some-help/171118)

<div class="topic-metadata">

**Author:** [@di3go](https://www.ruby-forum.com/u/di3go)\
**Replies:** 3\
**Last updated:** [June 26, 2009, 8:12pm UTC](https://www.ruby-forum.com/t/archiarchitecture-network-need-some-help/171118 "2009-06-26T20:12:56Z")

</div>

This is my problem. I have a universe of 10k gprs modems connecting on my server, they connect on the same port and ip. After the connection, the modem send a identification string, with this string i can authenticate…

---

## [\[ANN/ADV\] The Ruby Hoedown 2009 -- FREE Ruby conference -- Hoedown Heist, speakers, and only a few](https://www.ruby-forum.com/t/ann-adv-the-ruby-hoedown-2009-free-ruby-conference-hoedown-heist-speakers-and-only-a-few/171126)

<div class="topic-metadata">

**Author:** [@Jeremy\_McAnally](https://www.ruby-forum.com/u/Jeremy_McAnally)\
**Replies:** 0\
**Last updated:** [June 26, 2009, 6:14pm UTC](https://www.ruby-forum.com/t/ann-adv-the-ruby-hoedown-2009-free-ruby-conference-hoedown-heist-speakers-and-only-a-few/171126 "2009-06-26T18:14:42Z")

</div>

Hello all! This is just a reminder e-mail about the Ruby Hoedown 2009 (http://rubyhoedown.com) in Nashville, TN on August 28-29 (cost is a princely $0). We’ve announced a few new things I’d like to share… THE HEIST…

---

## [Qwicky 0.0.7 released](https://www.ruby-forum.com/t/qwicky-0-0-7-released/171124)

<div class="topic-metadata">

**Author:** [@fstroehle](https://www.ruby-forum.com/u/fstroehle)\
**Replies:** 0\
**Last updated:** [June 26, 2009, 6:01pm UTC](https://www.ruby-forum.com/t/qwicky-0-0-7-released/171124 "2009-06-26T18:01:12Z")

</div>

Hey folks! maybe some of you read the announcement I gave some days ago about Qwicky. I just released a new version, fixing some bugs and making the thing ready to run on servers. If any of you wanted a quick wiki…

---

## [Question about using the Factory Pattern](https://www.ruby-forum.com/t/question-about-using-the-factory-pattern/171115)

<div class="topic-metadata">

**Author:** [@leveille](https://www.ruby-forum.com/u/leveille)\
**Replies:** 2\
**Last updated:** [June 26, 2009, 5:20pm UTC](https://www.ruby-forum.com/t/question-about-using-the-factory-pattern/171115 "2009-06-26T17:20:44Z")

</div>

I’m trying to create a method that returns a new object of the same class it is in. Here is my code (for doing a simple unit conversion from any length units to meters): class Unit def initialize(n) @unit = n\[/\[a-z\]…

---

## [Utf8 encoding problem](https://www.ruby-forum.com/t/utf8-encoding-problem/171065)

<div class="topic-metadata">

**Author:** [@adad](https://www.ruby-forum.com/u/adad)\
**Replies:** 3\
**Last updated:** [June 26, 2009, 4:38pm UTC](https://www.ruby-forum.com/t/utf8-encoding-problem/171065 "2009-06-26T16:38:16Z")

</div>

Hi, I am retrieving a string from a txt file. The file contains some utf8 characters. I am comparing these characters against a default string. The problem is that some of the characters are not stored in a default …

---

## [How do I get an integer from an array?](https://www.ruby-forum.com/t/how-do-i-get-an-integer-from-an-array/170974)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 13\
**Last updated:** [June 26, 2009, 3:45pm UTC](https://www.ruby-forum.com/t/how-do-i-get-an-integer-from-an-array/170974 "2009-06-26T15:45:37Z")

</div>

Hi, I need to process individual pages of PDFs. To do so, I need to get the page count of the PDF, then, do some image magic with each page of that PDF. So, first thing I do is use a utility that gives me that page c…

---

## [John Adams ( Mini-Series Blu-ray)](https://www.ruby-forum.com/t/john-adams-mini-series-blu-ray/171111)

<div class="topic-metadata">

**Author:** [@Rashid\_Ali\_Soomro](https://www.ruby-forum.com/u/Rashid_Ali_Soomro)\
**Replies:** 0\
**Last updated:** [June 26, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/john-adams-mini-series-blu-ray/171111 "2009-06-26T15:36:47Z")

</div>

HBO’s mini-series on John Adams is perhaps one of the most expressive cinematic experiences ever captures in a mini-series. for more details http://makingminiries.blogspot.com/

---

## [Simple regex question](https://www.ruby-forum.com/t/simple-regex-question/171108)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 6\
**Last updated:** [June 26, 2009, 3:34pm UTC](https://www.ruby-forum.com/t/simple-regex-question/171108 "2009-06-26T15:34:59Z")

</div>

Hello. I need to parse through thousands of TIFF files and do some re-naming. These files have underscores in them followed by a sequential number. I need to grab just the “root” of the filename, without the underscor…

---

## [\[Bug #1694\] Tempfile.open{} $B$NJV$jCM(B](https://www.ruby-forum.com/t/bug-1694-tempfile-open-b-njv-jcm-b/171107)

<div class="topic-metadata">

**Author:** [@Nobuhiro\_IMAI](https://www.ruby-forum.com/u/Nobuhiro_IMAI)\
**Replies:** 0\
**Last updated:** [June 26, 2009, 3:18pm UTC](https://www.ruby-forum.com/t/bug-1694-tempfile-open-b-njv-jcm-b/171107 "2009-06-26T15:18:01Z")

</div>

Bug #1694: Tempfile.open{} e$B$NJV$jCMe(B http://redmine.ruby-lang.org/issues/show/1694 e$B5/I\<\<Te(B: Nobuhiro IMAI e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.9.2dev (2009-06-26 trunk 23860) \[i686-l…

---

## [Rails and JRuby](https://www.ruby-forum.com/t/rails-and-jruby/170608)

<div class="topic-metadata">

**Author:** [@sjames](https://www.ruby-forum.com/u/sjames)\
**Replies:** 7\
**Last updated:** [June 26, 2009, 2:05pm UTC](https://www.ruby-forum.com/t/rails-and-jruby/170608 "2009-06-26T14:05:12Z")

</div>

Hello friends. I’m investigating building a Rails stack with JRuby as the interpreter. I’m a little confused by the choice of Tomcat and Glassfish. Which is being used most frequently for greenfield set ups? Also, f…

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

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