# Ruby

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

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

---

## [Ruby help for all](https://www.ruby-forum.com/t/ruby-help-for-all/52724)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 4\
**Last updated:** [January 18, 2006, 4:47pm UTC](https://www.ruby-forum.com/t/ruby-help-for-all/52724 "2006-01-18T16:47:10Z")

</div>

just wanted to let everyone in the community know there are some good resources & tutorials at the new forums - rubyforums.co.uk - It’s worth a visit but they could do with our community posting on there , lets do ou…

---

## [Newb, how to start coding question - and - flash & ruby?](https://www.ruby-forum.com/t/newb-how-to-start-coding-question-and-flash-ruby/52729)

<div class="topic-metadata">

**Author:** [@tdellaringa](https://www.ruby-forum.com/u/tdellaringa)\
**Replies:** 3\
**Last updated:** [January 18, 2006, 4:33pm UTC](https://www.ruby-forum.com/t/newb-how-to-start-coding-question-and-flash-ruby/52729 "2006-01-18T16:33:39Z")

</div>

Hi there, I’m a web developer (mainly front end) of 10 years but am new to Ruby. I got the pickaxe book and really have been enjoying it (although things are getting hairy for me now halfway through!) Ruby seems like …

---

## [How to double single quote (beginner blockage)](https://www.ruby-forum.com/t/how-to-double-single-quote-beginner-blockage/52741)

<div class="topic-metadata">

**Author:** [@Alexandru\_P](https://www.ruby-forum.com/u/Alexandru_P)\
**Replies:** 0\
**Last updated:** [January 18, 2006, 4:26pm UTC](https://www.ruby-forum.com/t/how-to-double-single-quote-beginner-blockage/52741 "2006-01-18T16:26:24Z")

</div>

Hi! Sorry for this \`stupid´ question but it looks like i am suffering a mental blockage: if I have a string that contains single quote (f.e. “al’alamein”) i would like to escape it with another single quote (=\> “al’…

---

## [Delayed quote expansion](https://www.ruby-forum.com/t/delayed-quote-expansion/52708)

<div class="topic-metadata">

**Author:** [@olbrich](https://www.ruby-forum.com/u/olbrich)\
**Replies:** 8\
**Last updated:** [January 18, 2006, 3:44pm UTC](https://www.ruby-forum.com/t/delayed-quote-expansion/52708 "2006-01-18T15:44:08Z")

</div>

I’m sure the answer to this will seem simple once I see it. Right now it eludes me. How can one have a string object like this… a = ‘#{some\_value}’ and have it get evaluated as a double quoted string (with the value…

---

## [Re: Ruby Tutorial Project](https://www.ruby-forum.com/t/re-ruby-tutorial-project/95507)

<div class="topic-metadata">

**Author:** [@Chintakrindi\_Meghan](https://www.ruby-forum.com/u/Chintakrindi_Meghan)\
**Replies:** 0\
**Last updated:** [January 18, 2006, 3:41pm UTC](https://www.ruby-forum.com/t/re-ruby-tutorial-project/95507 "2006-01-18T15:41:07Z")

</div>

No Programming Ruby Thanks Meghanath

---

## [Re: Ruby Tutorial Projatc](https://www.ruby-forum.com/t/re-ruby-tutorial-projatc/62366)

<div class="topic-metadata">

**Author:** [@Chintakrindi\_Meghan](https://www.ruby-forum.com/u/Chintakrindi_Meghan)\
**Replies:** 1\
**Last updated:** [January 18, 2006, 3:16pm UTC](https://www.ruby-forum.com/t/re-ruby-tutorial-projatc/62366 "2006-01-18T15:16:44Z")

</div>

Hi I had already purchased that Ruby book. But there is no project approach in that book. Thanks Meghanath

---

## [Ruby Tutorial Projatc](https://www.ruby-forum.com/t/ruby-tutorial-projatc/52730)

<div class="topic-metadata">

**Author:** [@Chintakrindi\_Meghan](https://www.ruby-forum.com/u/Chintakrindi_Meghan)\
**Replies:** 1\
**Last updated:** [January 18, 2006, 3:01pm UTC](https://www.ruby-forum.com/t/ruby-tutorial-projatc/52730 "2006-01-18T15:01:30Z")

</div>

Hi I am also newbie to the ruby community. I am going thorugh the ruby documentation available on the website. But apart from this documentation, is there any tutorials availabe to develop a project in ruby using var…

---

## [Stockholm User Group](https://www.ruby-forum.com/t/stockholm-user-group/52374)

<div class="topic-metadata">

**Author:** [@Dr\_Nic](https://www.ruby-forum.com/u/Dr_Nic)\
**Replies:** 4\
**Last updated:** [January 18, 2006, 1:40pm UTC](https://www.ruby-forum.com/t/stockholm-user-group/52374 "2006-01-18T13:40:20Z")

</div>

I’ve recently arrived in Stockholm. Is there an organised UG? If not, who’d like to catch up for an inaugural SRUG meeting? Cheers Nic

---

## [Boulder-Denver Ruby Group - January Meeting](https://www.ruby-forum.com/t/boulder-denver-ruby-group-january-meeting/52242)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 18, 2006, 11:42am UTC](https://www.ruby-forum.com/t/boulder-denver-ruby-group-january-meeting/52242 "2006-01-18T11:42:52Z")

</div>

Greetings, The Boulder-Denver Ruby Group in Colorado will begin meeting monthly starting this January 26th at 7pm at the Southern Sun Pub & Brewery in Boulder (directions below). Our first meeting will be informal an…

---

## [How to obtain Ruby version info from a program code](https://www.ruby-forum.com/t/how-to-obtain-ruby-version-info-from-a-program-code/52720)

<div class="topic-metadata">

**Author:** [@kajism](https://www.ruby-forum.com/u/kajism)\
**Replies:** 2\
**Last updated:** [January 18, 2006, 11:23am UTC](https://www.ruby-forum.com/t/how-to-obtain-ruby-version-info-from-a-program-code/52720 "2006-01-18T11:23:37Z")

</div>

Hello, Is there an API call returning Ruby version on which the code is running? Eg. the same information which is returned by running “ruby –version” on command line? I cannot find one. Thanks, Karel

---

## [Only 1 question about RUBY from newbie](https://www.ruby-forum.com/t/only-1-question-about-ruby-from-newbie/52559)

<div class="topic-metadata">

**Author:** [@arnuld\_fraser](https://www.ruby-forum.com/u/arnuld_fraser)\
**Replies:** 6\
**Last updated:** [January 18, 2006, 11:06am UTC](https://www.ruby-forum.com/t/only-1-question-about-ruby-from-newbie/52559 "2006-01-18T11:06:03Z")

</div>

hello everyone, my name is “arnuld”. I have only a very small question regarding RUBY. I am asking since i am not mature programmer. I will be as brief as i can in explaning my problem.here is my MAIN-question: – Ca…

---

## [Where to find Ruby for the Amiga?](https://www.ruby-forum.com/t/where-to-find-ruby-for-the-amiga/52656)

<div class="topic-metadata">

**Author:** [@erikbauer](https://www.ruby-forum.com/u/erikbauer)\
**Replies:** 2\
**Last updated:** [January 18, 2006, 9:03am UTC](https://www.ruby-forum.com/t/where-to-find-ruby-for-the-amiga/52656 "2006-01-18T09:03:59Z")

</div>

‘Hello World’ there, my first post. Now for the question: I red on Ruby’s main homepage that an Amiga version should be available, but searching over the net gives me no download links at all. Can someone of you plea…

---

## [Looping through files using exec](https://www.ruby-forum.com/t/looping-through-files-using-exec/62269)

<div class="topic-metadata">

**Author:** [@inari](https://www.ruby-forum.com/u/inari)\
**Replies:** 5\
**Last updated:** [January 18, 2006, 7:09am UTC](https://www.ruby-forum.com/t/looping-through-files-using-exec/62269 "2006-01-18T07:09:31Z")

</div>

I’m trying to do a mass encode of a large directory of media files but I’m not having much luck. I tried to use bash but it doesn’t like filenames with spaces so now I’m trying to do it with ruby but using the exec c…

---

## [PDF::Writer and table columns](https://www.ruby-forum.com/t/pdf-writer-and-table-columns/52691)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 3\
**Last updated:** [January 18, 2006, 7:05am UTC](https://www.ruby-forum.com/t/pdf-writer-and-table-columns/52691 "2006-01-18T07:05:13Z")

</div>

I’ve just started using the PDF::Writer and am having some trouble with table columns. When the PDF renders the columns of the table are not ordered by the column\_order. With my test data I have three tables with ea…

---

## [1.8.4 untaint behavior](https://www.ruby-forum.com/t/1-8-4-untaint-behavior/52689)

<div class="topic-metadata">

**Author:** [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Replies:** 3\
**Last updated:** [January 18, 2006, 5:43am UTC](https://www.ruby-forum.com/t/1-8-4-untaint-behavior/52689 "2006-01-18T05:43:51Z")

</div>

Hi, I have a script running at $SAFE = 1, and after upgrading ruby from 1.8.2 to 1.8.4 (ruby 1.8.4 (2005-12-24) \[i686-linux\]), I started seeing SecurityError exceptions. By adding printouts to the following code, I v…

---

## [Re: Populating 'long' data column with Ruby OCI8 (trying aga](https://www.ruby-forum.com/t/re-populating-long-data-column-with-ruby-oci8-trying-aga/95439)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 1\
**Last updated:** [January 18, 2006, 4:49am UTC](https://www.ruby-forum.com/t/re-populating-long-data-column-with-ruby-oci8-trying-aga/95439 "2006-01-18T04:49:41Z")

</div>

Thank you very much, Neil. I saw blob support in OCI8, however I need to work with datatype ‘long’. I need to for dealing with a legacy database that cannot be altered in any way. Will OCI8 work on ‘long’ columns? I w…

---

## [How to use rmagic in intrantrails](https://www.ruby-forum.com/t/how-to-use-rmagic-in-intrantrails/52622)

<div class="topic-metadata">

**Author:** [@adong](https://www.ruby-forum.com/u/adong)\
**Replies:** 2\
**Last updated:** [January 18, 2006, 2:09am UTC](https://www.ruby-forum.com/t/how-to-use-rmagic-in-intrantrails/52622 "2006-01-18T02:09:26Z")

</div>

i use intrantrails 1.0,when i code require “RMagick” in irb, it shows follow errors: no such file to load – RMagick

---

## [Resetting ruby](https://www.ruby-forum.com/t/resetting-ruby/95274)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 18\
**Last updated:** [January 18, 2006, 12:09am UTC](https://www.ruby-forum.com/t/resetting-ruby/95274 "2006-01-18T00:09:11Z")

</div>

I’m looking for a fast way to “reset” Ruby. That is, to reset the interpreter back to a fresh state, or, even better, a fresh state + keeping some required ruby-gems. My goal is to make a continuos test runner, and a…

---

## [Basic question about Fixnum & Integer](https://www.ruby-forum.com/t/basic-question-about-fixnum-integer/52560)

<div class="topic-metadata">

**Author:** [@tma](https://www.ruby-forum.com/u/tma)\
**Replies:** 24\
**Last updated:** [January 17, 2006, 11:36pm UTC](https://www.ruby-forum.com/t/basic-question-about-fixnum-integer/52560 "2006-01-17T23:36:00Z")

</div>

Hello, I’m really new to Ruby and rather new to OOP in general. I’ve been using Perl for about 7 years now and have a fairly good understanding of that language. I’ve never really entertained Python to any serious …

---

## [Time Diff Module](https://www.ruby-forum.com/t/time-diff-module/52654)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 4\
**Last updated:** [January 17, 2006, 11:05pm UTC](https://www.ruby-forum.com/t/time-diff-module/52654 "2006-01-17T23:05:52Z")

</div>

Anyone know of a module out there that will encapsulate differences in time? Ideally I would want something like this: d1 = DateTime.now + 2.hours + 2.minutes d2 = DateTime.now diff = d1-d2 puts “Diff: #{diff.hour…

---

## [Ruby interface to Python](https://www.ruby-forum.com/t/ruby-interface-to-python/52682)

<div class="topic-metadata">

**Author:** [@williw](https://www.ruby-forum.com/u/williw)\
**Replies:** 0\
**Last updated:** [January 17, 2006, 11:00pm UTC](https://www.ruby-forum.com/t/ruby-interface-to-python/52682 "2006-01-17T23:00:24Z")

</div>

I know this will cause a lot of uproar, but I would like to call Python scripts from Ruby and I don’t have any luck getting the library from http://raa.ruby-lang.org/project/ruby-python/ to work. Does anybody have som…

---

## [Path to loaded module?](https://www.ruby-forum.com/t/path-to-loaded-module/52516)

<div class="topic-metadata">

**Author:** [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Replies:** 1\
**Last updated:** [January 17, 2006, 10:35pm UTC](https://www.ruby-forum.com/t/path-to-loaded-module/52516 "2006-01-17T22:35:37Z")

</div>

Hello, Is there any way to get the path of a loaded module ? I think I have two concurent versions of the same module and I can’t figure which one is loaded. Thx, Jonathan.

---

## [Testunitxml-0.1.3](https://www.ruby-forum.com/t/testunitxml-0-1-3/52679)

<div class="topic-metadata">

**Author:** [@Henrik\_M](https://www.ruby-forum.com/u/Henrik_M)\
**Replies:** 0\
**Last updated:** [January 17, 2006, 9:59pm UTC](https://www.ruby-forum.com/t/testunitxml-0-1-3/52679 "2006-01-17T21:59:27Z")

</div>

Test::Unit::XML extends the Test::Unit framework with assertions for testing XML documents. Version 0.1.3 is the first alpha release. The project home page is at http://testunitxml.rubyforge.org/. There is a quick sta…

---

## [Re: Time Diff Module](https://www.ruby-forum.com/t/re-time-diff-module/52660)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [January 17, 2006, 8:16pm UTC](https://www.ruby-forum.com/t/re-time-diff-module/52660 "2006-01-17T20:16:52Z")

</div>

time? want to extract it somehow to avoid getting the rest of the library if you don’t need it. Jon This request seems common enough that I wonder if we could convince one of the Rails folks to package that bit …

---

## [Ruby as excel vba event handler replacement using win32ole?](https://www.ruby-forum.com/t/ruby-as-excel-vba-event-handler-replacement-using-win32ole/52305)

<div class="topic-metadata">

**Author:** [@ammonc](https://www.ruby-forum.com/u/ammonc)\
**Replies:** 2\
**Last updated:** [January 17, 2006, 7:07pm UTC](https://www.ruby-forum.com/t/ruby-as-excel-vba-event-handler-replacement-using-win32ole/52305 "2006-01-17T19:07:34Z")

</div>

I’ve seen Ruby used as a script to save all Word doc files as rtf instead. Can ruby be used interactively to process events that would usually be handled in VBA in Excel for example?

---

## ["Learn to Program" is now available](https://www.ruby-forum.com/t/learn-to-program-is-now-available/62001)

<div class="topic-metadata">

**Author:** [@dirtytree](https://www.ruby-forum.com/u/dirtytree)\
**Replies:** 1\
**Last updated:** [January 17, 2006, 4:03pm UTC](https://www.ruby-forum.com/t/learn-to-program-is-now-available/62001 "2006-01-17T16:03:57Z")

</div>

Folks: Just a quick note to say Chris P.'s new book, Learn to Program, is now available and shipping. If you want to get started in Ruby, or if you have a friend who just plain wants to know what it is that you do, I…

---

## [Looking for Ruby equivalent to Perl's FindBin](https://www.ruby-forum.com/t/looking-for-ruby-equivalent-to-perls-findbin/52647)

<div class="topic-metadata">

**Author:** [@cnick](https://www.ruby-forum.com/u/cnick)\
**Replies:** 1\
**Last updated:** [January 17, 2006, 3:42pm UTC](https://www.ruby-forum.com/t/looking-for-ruby-equivalent-to-perls-findbin/52647 "2006-01-17T15:42:50Z")

</div>

I am looking for a Ruby equivalent to Perl’s FindBin module. What I am trying to do is reference other scripts and data relative to the Ruby script I am calling, not my current working directory. For example, in Perl…

---

## [Irbsh-1.0.0](https://www.ruby-forum.com/t/irbsh-1-0-0/95376)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [January 17, 2006, 3:39pm UTC](https://www.ruby-forum.com/t/irbsh-1-0-0/95376 "2006-01-17T15:39:50Z")

</div>

Hi, == About irbsh Irbsh is an extension of irb/inf-ruby.el. You can easily execute shell commands and Ruby codes by using irbsh. Eval list feature makes irbsh be an development environment of Ruby. While irbsh has …

---

## [Dir.entires and UTF-8](https://www.ruby-forum.com/t/dir-entires-and-utf-8/52292)

<div class="topic-metadata">

**Author:** [@thoepfner](https://www.ruby-forum.com/u/thoepfner)\
**Replies:** 5\
**Last updated:** [January 17, 2006, 2:33pm UTC](https://www.ruby-forum.com/t/dir-entires-and-utf-8/52292 "2006-01-17T14:33:35Z")

</div>

Hi, What’s going on here? Ths is on MacOS X 10.4.4. Looks like Dir#entries returns strings encoded with some encoding I didn’t expect. How can I convert the string to UTF8? $KCODE=‘UTF8’ require ‘jcode’ s=“äöüßÄÖÜ” …

---

## [More DRb Fun](https://www.ruby-forum.com/t/more-drb-fun/95232)

<div class="topic-metadata">

**Author:** [@kevben](https://www.ruby-forum.com/u/kevben)\
**Replies:** 1\
**Last updated:** [January 17, 2006, 1:45pm UTC](https://www.ruby-forum.com/t/more-drb-fun/95232 "2006-01-17T13:45:28Z")

</div>

I’m not sure why I’m having so much fun with DRb, really: kevin@itzamna:~/drb$ ./server.rb /usr/lib/ruby/1.8/drb/drb.rb:837:in getaddrinfo': getaddrinfo: Name or service not known (SocketError) from /usr/lib/ruby/1.8/d…

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

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