# Ruby

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

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

---

## [Dungeon crawler text game](https://www.ruby-forum.com/t/dungeon-crawler-text-game/176793)

<div class="topic-metadata">

**Author:** [@adambeazley](https://www.ruby-forum.com/u/adambeazley)\
**Replies:** 2\
**Last updated:** [October 6, 2009, 7:45pm UTC](https://www.ruby-forum.com/t/dungeon-crawler-text-game/176793 "2009-10-06T19:45:50Z")

</div>

Hey! So I’m new to Ruby (comming from a Python/C# background) and I love the language! So much so, that I want to re-create a text based dungeon game. I got the basics down with help from a Ruby book I’m reading and…

---

## [Regexp \[:punct:\] character class](https://www.ruby-forum.com/t/regexp-character-class/176818)

<div class="topic-metadata">

**Author:** [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Replies:** 1\
**Last updated:** [October 6, 2009, 5:41pm UTC](https://www.ruby-forum.com/t/regexp-character-class/176818 "2009-10-06T17:41:31Z")

</div>

So every piece of documentation on ruby regexps I can find, including the pickaxe book, lists that the \[:punct:\] POSIX character class is valid. But it doesn’t actually work. It just gets treated as a standard chara…

---

## [Errors running jruby 1.4.0rc1 on windows](https://www.ruby-forum.com/t/errors-running-jruby-1-4-0rc1-on-windows/176669)

<div class="topic-metadata">

**Author:** [@Aaron\_McLeod](https://www.ruby-forum.com/u/Aaron_McLeod)\
**Replies:** 6\
**Last updated:** [October 6, 2009, 5:19pm UTC](https://www.ruby-forum.com/t/errors-running-jruby-1-4-0rc1-on-windows/176669 "2009-10-06T17:19:27Z")

</div>

Hey all, I used the windows installer to grab jruby 1.4 rc, and I get this error when I try to use the jruby command for just about anything. \\jruby-1.4.0RC1\\bin) was unexpected at this time Any ideas?

---

## [Jfreechart and jruby](https://www.ruby-forum.com/t/jfreechart-and-jruby/176815)

<div class="topic-metadata">

**Author:** [@khzied](https://www.ruby-forum.com/u/khzied)\
**Replies:** 1\
**Last updated:** [October 6, 2009, 5:10pm UTC](https://www.ruby-forum.com/t/jfreechart-and-jruby/176815 "2009-10-06T17:10:40Z")

</div>

hi everybody, i have a problem using jruby and jfreechart… Can you help me please? thanks View this message in context: http://www.nabble.com/jfreechart-and-jruby-tp25770407p25770407.html Sent from the JRuby - User …

---

## [RSS Parser Help](https://www.ruby-forum.com/t/rss-parser-help/175760)

<div class="topic-metadata">

**Author:** [@gimmickivek](https://www.ruby-forum.com/u/gimmickivek)\
**Replies:** 3\
**Last updated:** [October 6, 2009, 4:56pm UTC](https://www.ruby-forum.com/t/rss-parser-help/175760 "2009-10-06T16:56:01Z")

</div>

I am trying to parse a rss file. I use the rss module to do it. Suppose this is the data file, Singapore Airlines Asia Travel - A345 All Business Class to Asia Fri, 18 Sep 2009 22:56:33 +0000 http…

---

## [Send file to printer](https://www.ruby-forum.com/t/send-file-to-printer/171140)

<div class="topic-metadata">

**Author:** [@dimascyriaco](https://www.ruby-forum.com/u/dimascyriaco)\
**Replies:** 3\
**Last updated:** [October 6, 2009, 4:30pm UTC](https://www.ruby-forum.com/t/send-file-to-printer/171140 "2009-10-06T16:30:10Z")

</div>

Hi, I’m having some trouble to print things… I have some data in a SQLite database that i have to print in label format. I’m using Pdf::Writer to configure the data in the page but i’m having trouble when i execute …

---

## [Can i interest you in an extra $250.00 a day...?](https://www.ruby-forum.com/t/can-i-interest-you-in-an-extra-250-00-a-day/176807)

<div class="topic-metadata">

**Author:** [@B.ambeth\_kar\_B.ambe](https://www.ruby-forum.com/u/B.ambeth_kar_B.ambe)\
**Replies:** 0\
**Last updated:** [October 6, 2009, 2:10pm UTC](https://www.ruby-forum.com/t/can-i-interest-you-in-an-extra-250-00-a-day/176807 "2009-10-06T14:10:53Z")

</div>

CAN I INTEREST YOU IN AN EXTRA $250.00 A DAY…? Let me ask you a simple question… Could you use some extra money? You could! Great! And if I could show you how to earn an extra $250.00 or more per day, and all you’d …

---

## [CGI/Session expiration witch ruby-libs-1.8.6.369-1.fc11.i586](https://www.ruby-forum.com/t/cgi-session-expiration-witch-ruby-libs-1-8-6-369-1-fc11-i586/176806)

<div class="topic-metadata">

**Author:** [@learningruby](https://www.ruby-forum.com/u/learningruby)\
**Replies:** 0\
**Last updated:** [October 6, 2009, 1:40pm UTC](https://www.ruby-forum.com/t/cgi-session-expiration-witch-ruby-libs-1-8-6-369-1-fc11-i586/176806 "2009-10-06T13:40:28Z")

</div>

Hi every i have a Web application making heavy use of CGI/Sessions. i could, however, not specify an session expiration-date different from zero, which makes the session expire, when the curren browser session is t…

---

## [Fedora 11 and ruby-gettext-package 2.04](https://www.ruby-forum.com/t/fedora-11-and-ruby-gettext-package-2-04/176805)

<div class="topic-metadata">

**Author:** [@learningruby](https://www.ruby-forum.com/u/learningruby)\
**Replies:** 0\
**Last updated:** [October 6, 2009, 1:30pm UTC](https://www.ruby-forum.com/t/fedora-11-and-ruby-gettext-package-2-04/176805 "2009-10-06T13:30:32Z")

</div>

Hi every i just could not make work ruby-gettext version 2.04, which comes with Fedora 11. So i removed version 2.94 re-installed ruby-gettext 1.93 and everything works fine. Has anybody made the same experiences? i…

---

## [Jruby based daemons?](https://www.ruby-forum.com/t/jruby-based-daemons/176800)

<div class="topic-metadata">

**Author:** [@dishkuvek](https://www.ruby-forum.com/u/dishkuvek)\
**Replies:** 1\
**Last updated:** [October 6, 2009, 1:00pm UTC](https://www.ruby-forum.com/t/jruby-based-daemons/176800 "2009-10-06T13:00:37Z")

</div>

I’m looking at playing with XMPP bots this week, and now Nokogiri is JRubyified I can get a long way to doing what I want on straight JRuby. I’ve played around with JRuby webapps, but have no idea how I’d write a lon…

---

## [New line in string](https://www.ruby-forum.com/t/new-line-in-string/176797)

<div class="topic-metadata">

**Author:** [@sharankruthi](https://www.ruby-forum.com/u/sharankruthi)\
**Replies:** 3\
**Last updated:** [October 6, 2009, 12:44pm UTC](https://www.ruby-forum.com/t/new-line-in-string/176797 "2009-10-06T12:44:14Z")

</div>

Hi, How to concatenate new line character to a string? Eg: str = “hello”; str += ‘\\n’; str += “world” I must get hello world How it can be done? Thanks in advance Sharanya

---

## [Opinions wanted! Is Ruby a good choice for](https://www.ruby-forum.com/t/opinions-wanted-is-ruby-a-good-choice-for/176791)

<div class="topic-metadata">

**Author:** [@noxx000](https://www.ruby-forum.com/u/noxx000)\
**Replies:** 2\
**Last updated:** [October 6, 2009, 11:53am UTC](https://www.ruby-forum.com/t/opinions-wanted-is-ruby-a-good-choice-for/176791 "2009-10-06T11:53:54Z")

</div>

Hi there, Some days ago I started to code an IRC bot like eggdrop for the antispam society I am part in. If you do not know about IRC or eggdrop you can stop here, otherwise I would be happy if you read further on an…

---

## [What do you enjoy in a ruby quiz?](https://www.ruby-forum.com/t/what-do-you-enjoy-in-a-ruby-quiz/176695)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 21\
**Last updated:** [October 6, 2009, 11:07am UTC](https://www.ruby-forum.com/t/what-do-you-enjoy-in-a-ruby-quiz/176695 "2009-10-06T11:07:38Z")

</div>

I’ve noticed that the ruby quiz has been getting few responses of late. In one sense I’m part of the problem; I seldom do the quizzes myself. However, I do like setting them, and have fun thinking up quizzes that are …

---

## [Get current working copy version in subversion/git](https://www.ruby-forum.com/t/get-current-working-copy-version-in-subversion-git/176443)

<div class="topic-metadata">

**Author:** [@inertia](https://www.ruby-forum.com/u/inertia)\
**Replies:** 10\
**Last updated:** [October 6, 2009, 10:42am UTC](https://www.ruby-forum.com/t/get-current-working-copy-version-in-subversion-git/176443 "2009-10-06T10:42:27Z")

</div>

Hi, How would I report the current revision, of the subversion/git repo that is holding a ruby app? This is actually going to be used in rails, but it seems generally applicable to any ruby programming… I keep my ru…

---

## [Httprequest fails with segmentation fault on OS X 10.6](https://www.ruby-forum.com/t/httprequest-fails-with-segmentation-fault-on-os-x-10-6/176786)

<div class="topic-metadata">

**Author:** [@navac](https://www.ruby-forum.com/u/navac)\
**Replies:** 0\
**Last updated:** [October 6, 2009, 9:20am UTC](https://www.ruby-forum.com/t/httprequest-fails-with-segmentation-fault-on-os-x-10-6/176786 "2009-10-06T09:20:54Z")

</div>

Hello, Our application sends requests to a server using httpclient 2.1.5.1, which uses webrick’s httprequest. Sometimes it fails on segmentation fault: 10/5/09 6:02:29 PM \[0x0-0x3ab3ab\].com.myapp.gateway.MyApp\[13365…

---

## [Webrick global authentication](https://www.ruby-forum.com/t/webrick-global-authentication/176713)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 1\
**Last updated:** [October 6, 2009, 8:22am UTC](https://www.ruby-forum.com/t/webrick-global-authentication/176713 "2009-10-06T08:22:20Z")

</div>

I’m doing a small ruby application for an embedded device. There are some servlets and a few HTML pages. The whole web application should be passwort protected. As far as I understand I have to create and authenticato…

---

## [Rainbows! 0.1.1 - with Ruby 1.8 support!](https://www.ruby-forum.com/t/rainbows-0-1-1-with-ruby-1-8-support/176781)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 2\
**Last updated:** [October 6, 2009, 7:04am UTC](https://www.ruby-forum.com/t/rainbows-0-1-1-with-ruby-1-8-support/176781 "2009-10-06T07:04:02Z")

</div>

Rainbows! Unicorn for slow apps and slow clients Rainbows! is a HTTP server for sleepy Rack applications. It is based on Unicorn, but designed to handle applications that expect long request/response times and/or slo…

---

## [Is there a way to find out how much memory my ruby app is using?](https://www.ruby-forum.com/t/is-there-a-way-to-find-out-how-much-memory-my-ruby-app-is-using/176770)

<div class="topic-metadata">

**Author:** [@chasman](https://www.ruby-forum.com/u/chasman)\
**Replies:** 1\
**Last updated:** [October 6, 2009, 5:43am UTC](https://www.ruby-forum.com/t/is-there-a-way-to-find-out-how-much-memory-my-ruby-app-is-using/176770 "2009-10-06T05:43:15Z")

</div>

Is there a way to find out how much memory my ruby app is using? I am on: $ ruby --version ruby 1.8.7 (2008-08-11 patchlevel 72) \[i486-linux\] Constraint: Without recompile of ruby. ruby-prof has already been inves…

---

## [IronRuby issues with arrays of System::Type](https://www.ruby-forum.com/t/ironruby-issues-with-arrays-of-system-type/176758)

<div class="topic-metadata">

**Author:** [@Martin\_Smith](https://www.ruby-forum.com/u/Martin_Smith)\
**Replies:** 2\
**Last updated:** [October 6, 2009, 1:52am UTC](https://www.ruby-forum.com/t/ironruby-issues-with-arrays-of-system-type/176758 "2009-10-06T01:52:03Z")

</div>

Hello, If i run the following code: a = System::Array\[System::Type\].new(5) a\[0\] I get an invocation error. However, if I instead on the second line type: a.get\_value(0) I get nil back as expected. Is this a bug w…

---

## [Logging from Tomcat](https://www.ruby-forum.com/t/logging-from-tomcat/176377)

<div class="topic-metadata">

**Author:** [@starnix17](https://www.ruby-forum.com/u/starnix17)\
**Replies:** 5\
**Last updated:** [October 6, 2009, 12:09am UTC](https://www.ruby-forum.com/t/logging-from-tomcat/176377 "2009-10-06T00:09:36Z")

</div>

Hi all, I’m trying to set up logging from a Jruby (1.3.1) on Rails (2.3.4) application running on top of Tomcat 5.5. I have two problems that I’ve been searching around for and can’t seem to find great solutions to. …

---

## [Re: build server](https://www.ruby-forum.com/t/re-build-server/176737)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 2\
**Last updated:** [October 5, 2009, 10:57pm UTC](https://www.ruby-forum.com/t/re-build-server/176737 "2009-10-05T22:57:00Z")

</div>

Can we add tests to that? From: Ivan Porto C. removed\_email\_address@domain.invalid Sent: October 05, 2009 6:45 AM To: ironruby-core removed\_email\_address@domain.invalid Subject: \[Ironruby-core\] build server Hi The…

---

## [Grand Central Dispatch Performance Issue](https://www.ruby-forum.com/t/grand-central-dispatch-performance-issue/176757)

<div class="topic-metadata">

**Author:** [@chrismalek](https://www.ruby-forum.com/u/chrismalek)\
**Replies:** 0\
**Last updated:** [October 5, 2009, 10:43pm UTC](https://www.ruby-forum.com/t/grand-central-dispatch-performance-issue/176757 "2009-10-05T22:43:28Z")

</div>

Hey all, I’ve been playing around with Grand Central dispatch and out of curiosity trying to see it it’s of any use in getting native MRI extensions to execute more quickly. In this example I’ve just created a simple…

---

## [BigDecimal to float error](https://www.ruby-forum.com/t/bigdecimal-to-float-error/176754)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 3\
**Last updated:** [October 5, 2009, 10:31pm UTC](https://www.ruby-forum.com/t/bigdecimal-to-float-error/176754 "2009-10-05T22:31:15Z")

</div>

Hi, I found a weird problem. In ruby 1.8.5, I get the following result in irb. BigDecimal.new(“86.02”).to\_f #=\> 86.2 I don’t know if this is a ruby bug or machine bug. In ruby 1.8.6 on a different machine, it’s ok. …

---

## [Code Review: Serialization](https://www.ruby-forum.com/t/code-review-serialization/176753)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [October 5, 2009, 10:09pm UTC](https://www.ruby-forum.com/t/code-review-serialization/176753 "2009-10-05T22:09:34Z")

</div>

tfpt review “/shelveset:Serialization2;REDMOND\\tomat” Comment : Fixes/implements serialization of arrays, strings, encodings and exceptions. Also includes fixes to istty and Win32API for Unix. Tomas

---

## [JSR-223 provider from maven?](https://www.ruby-forum.com/t/jsr-223-provider-from-maven/176731)

<div class="topic-metadata">

**Author:** [@xwordguy](https://www.ruby-forum.com/u/xwordguy)\
**Replies:** 1\
**Last updated:** [October 5, 2009, 10:08pm UTC](https://www.ruby-forum.com/t/jsr-223-provider-from-maven/176731 "2009-10-05T22:08:59Z")

</div>

Hi, Does anyone happen to know if the JRuby JSR-223 provider is available through the maven repositories? If so, what are the group and artifact IDs? Thanks, Kevin To unsubscribe from this list, please visit: ht…

---

## [Method\_missing for command shell?](https://www.ruby-forum.com/t/method-missing-for-command-shell/176727)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 8\
**Last updated:** [October 5, 2009, 8:32pm UTC](https://www.ruby-forum.com/t/method-missing-for-command-shell/176727 "2009-10-05T20:32:58Z")

</div>

Hi all. My bash-fu is a little bit lacking, so here’s my question. I’m wondering if anybody knows of a shell that can be programmed to “guess” what you meant when you type in a command errantly, like (kind of a bad e…

---

## [About Webrick documentation](https://www.ruby-forum.com/t/about-webrick-documentation/176738)

<div class="topic-metadata">

**Author:** [@vouters](https://www.ruby-forum.com/u/vouters)\
**Replies:** 1\
**Last updated:** [October 5, 2009, 8:31pm UTC](https://www.ruby-forum.com/t/about-webrick-documentation/176738 "2009-10-05T20:31:47Z")

</div>

The website http://www.webrick.org does not work for at least a few days. Is this normal ? Where can i find documentation about ?

---

## [Nanoc 3.0.1](https://www.ruby-forum.com/t/nanoc-3-0-1/176743)

<div class="topic-metadata">

**Author:** [@dddennisdennis734](https://www.ruby-forum.com/u/dddennisdennis734)\
**Replies:** 0\
**Last updated:** [October 5, 2009, 6:34pm UTC](https://www.ruby-forum.com/t/nanoc-3-0-1/176743 "2009-10-05T18:34:07Z")

</div>

Hi, nanoc 3.0.1 is out! nanoc is a web publishing system written in Ruby for building small to medium-sized websites. For more information, check out http://nanoc.stoneship.org/ . This minor 3.0.1 release improves …

---

## [Popular and/or up-and-coming version control systems and continuous integration servers for the JRub](https://www.ruby-forum.com/t/popular-and-or-up-and-coming-version-control-systems-and-continuous-integration-servers-for-the-jrub/176603)

<div class="topic-metadata">

**Author:** [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Replies:** 5\
**Last updated:** [October 5, 2009, 3:53pm UTC](https://www.ruby-forum.com/t/popular-and-or-up-and-coming-version-control-systems-and-continuous-integration-servers-for-the-jrub/176603 "2009-10-05T15:53:41Z")

</div>

I know this is fairly off-topic from JRuby itself, but am curious what the “norm” is for most environments developing JRuby (and/or Ruby) applications to use for version control and continuous integration and anything…

---

## [Problems with SNMP](https://www.ruby-forum.com/t/problems-with-snmp/176520)

<div class="topic-metadata">

**Author:** [@rmls](https://www.ruby-forum.com/u/rmls)\
**Replies:** 8\
**Last updated:** [October 5, 2009, 3:06pm UTC](https://www.ruby-forum.com/t/problems-with-snmp/176520 "2009-10-05T15:06:50Z")

</div>

Hello! I’m trying to solve a problem with SNMP to map computers and switch ports. The deal here is, for each computer pluged in my switch, associate its MAC address with the port of the switch. I try to discover at h…

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

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