# Ruby

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

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

---

## [Win32ole, integer pointer parameter](https://www.ruby-forum.com/t/win32ole-integer-pointer-parameter/62849)

<div class="topic-metadata">

**Author:** [@Graham\_Ford](https://www.ruby-forum.com/u/Graham_Ford)\
**Replies:** 1\
**Last updated:** [June 11, 2006, 1:53pm UTC](https://www.ruby-forum.com/t/win32ole-integer-pointer-parameter/62849 "2006-06-11T13:53:07Z")

</div>

I am trying to call a COM DLL with Win32OLE, but I am running into an issue with passing an argument to the method call. The following works in Perl: – begin Perl use Win32::OLE; use Win32::OLE::Variant; my $engin…

---

## [Ruby samples not working](https://www.ruby-forum.com/t/ruby-samples-not-working/63058)

<div class="topic-metadata">

**Author:** [@ntk](https://www.ruby-forum.com/u/ntk)\
**Replies:** 1\
**Last updated:** [June 11, 2006, 11:12am UTC](https://www.ruby-forum.com/t/ruby-samples-not-working/63058 "2006-06-11T11:12:05Z")

</div>

I recently installed ruby on windows XP with the latest ruby one-click windows installer. I selected all the components that came up in the installation list. For some reason though, most of the samples do not work. D…

---

## [Fwd: Ruby's role in future operating systems](https://www.ruby-forum.com/t/fwd-rubys-role-in-future-operating-systems/63056)

<div class="topic-metadata">

**Author:** [@derek](https://www.ruby-forum.com/u/derek)\
**Replies:** 0\
**Last updated:** [June 11, 2006, 10:26am UTC](https://www.ruby-forum.com/t/fwd-rubys-role-in-future-operating-systems/63056 "2006-06-11T10:26:06Z")

</div>

DEBAUN, STEVE \[Seminis/2400\] wrote: In an inspired moment the other night, I thought it would be soooo cooool to have a command shell with ruby syntax. The I started getting even crazier, and thought, what about a…

---

## [Best way to parse Ruby code?](https://www.ruby-forum.com/t/best-way-to-parse-ruby-code/63028)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 3\
**Last updated:** [June 11, 2006, 7:03am UTC](https://www.ruby-forum.com/t/best-way-to-parse-ruby-code/63028 "2006-06-11T07:03:17Z")

</div>

I’m trying to parse some Ruby code from C#… I just want to scrape out the class/module names and the methods defined for each. Assuming I first throw away comments and string literals, I figured a couple of regular ex…

---

## [Slave-0.0.1](https://www.ruby-forum.com/t/slave-0-0-1/95681)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [June 11, 2006, 6:44am UTC](https://www.ruby-forum.com/t/slave-0-0-1/95681 "2006-06-11T06:44:44Z")

</div>

URIS http://codeforpeople.com/lib/ruby/slave/ http://rubyforge.org/frs/?group\_id=1024&release\_id=5631 SYNOPSIS the Slave class forks a process and starts a drb server in the child using any object as the server. t…

---

## [Limiting Ruby Numbers](https://www.ruby-forum.com/t/limiting-ruby-numbers/63004)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 3\
**Last updated:** [June 10, 2006, 10:40pm UTC](https://www.ruby-forum.com/t/limiting-ruby-numbers/63004 "2006-06-10T22:40:16Z")

</div>

is there any ways to limit ruby numbers up to certain bytes? all i’ve read is that ruby numbers are limited to host’s free memory

---

## [Global not evaluated properly in 'if' statement modifier](https://www.ruby-forum.com/t/global-not-evaluated-properly-in-if-statement-modifier/63022)

<div class="topic-metadata">

**Author:** [@darren\_kirby](https://www.ruby-forum.com/u/darren_kirby)\
**Replies:** 5\
**Last updated:** [June 10, 2006, 9:12pm UTC](https://www.ruby-forum.com/t/global-not-evaluated-properly-in-if-statement-modifier/63022 "2006-06-10T21:12:17Z")

</div>

Hello all, I am scratching my head over this one. I have a method: def dispatchFile(file) song = Convert.new(file) case type when ‘ogg’ song.oggToWav song.wavToOgg if $outtype == ‘ogg’ song.wavToMp3 if $outtyp…

---

## [Re: Which IDE is good?](https://www.ruby-forum.com/t/re-which-ide-is-good/63017)

<div class="topic-metadata">

**Author:** [@Barry\_B](https://www.ruby-forum.com/u/Barry_B)\
**Replies:** 0\
**Last updated:** [June 10, 2006, 7:20pm UTC](https://www.ruby-forum.com/t/re-which-ide-is-good/63017 "2006-06-10T19:20:47Z")

</div>

I use RadRails, and yes, you can add other cool Eclipse plugins. But to add a cool plugin, you have to add not only the plugin itself but all plugins on which it depends. I’ve successfully added WickedShell to RadRail…

---

## [Little bug in newton.rb](https://www.ruby-forum.com/t/little-bug-in-newton-rb/62957)

<div class="topic-metadata">

**Author:** [@Meinrad\_R](https://www.ruby-forum.com/u/Meinrad_R)\
**Replies:** 1\
**Last updated:** [June 10, 2006, 6:40pm UTC](https://www.ruby-forum.com/t/little-bug-in-newton-rb/62957 "2006-06-10T18:40:51Z")

</div>

dear all, i just spotted a little bug in ruby/lib/1.8/bigdeciaml/newton.rb there in line 63 it says: raize "Failed to reduce function values." this will raise a NoMethod error instead of the intended RuntimeErr…

---

## [Cool Python utility](https://www.ruby-forum.com/t/cool-python-utility/63013)

<div class="topic-metadata">

**Author:** [@victor123789](https://www.ruby-forum.com/u/victor123789)\
**Replies:** 1\
**Last updated:** [June 10, 2006, 2:58pm UTC](https://www.ruby-forum.com/t/cool-python-utility/63013 "2006-06-10T14:58:37Z")

</div>

Hi all. Look at this. Doesn’t it cool? Doesn’t we need something like it for our Ruby? The idea of the Cheesecake project is to rank Python packages based on various empirical “kwalitee” factors, such as: wheth…

---

## [Ruby Class question](https://www.ruby-forum.com/t/ruby-class-question/62988)

<div class="topic-metadata">

**Author:** [@pallan](https://www.ruby-forum.com/u/pallan)\
**Replies:** 5\
**Last updated:** [June 10, 2006, 2:21pm UTC](https://www.ruby-forum.com/t/ruby-class-question/62988 "2006-06-10T14:21:54Z")

</div>

Hi all, I am really starting to get into ruby and I am currently reading the PickAxe book and the Agile Rails book, but there is one part of classes that I don’t understand and I can’t seem to find any reference to it…

---

## [Anyone aware of a Ruby-module for ICQ?](https://www.ruby-forum.com/t/anyone-aware-of-a-ruby-module-for-icq/62941)

<div class="topic-metadata">

**Author:** [@Groleo\_M](https://www.ruby-forum.com/u/Groleo_M)\
**Replies:** 5\
**Last updated:** [June 10, 2006, 10:37am UTC](https://www.ruby-forum.com/t/anyone-aware-of-a-ruby-module-for-icq/62941 "2006-06-10T10:37:03Z")

</div>

I searched around google, for a module that would “talk” ICQ, but with no results, so posting here is the last resort. Do you know any module( even if it’s not maintained anymore ) that deals with ICQ protocol ? Than…

---

## [\[ANN\] Mongrel 0.3.13 Pre-Release -- Win32! Win32!](https://www.ruby-forum.com/t/ann-mongrel-0-3-13-pre-release-win32-win32/62995)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 2\
**Last updated:** [June 10, 2006, 9:03am UTC](https://www.ruby-forum.com/t/ann-mongrel-0-3-13-pre-release-win32-win32/62995 "2006-06-10T09:03:09Z")

</div>

Hello Windows Users! I have finally got my new computer with it’s win32 build working and have just done the first pre-release for 0.3.13 that has win32 support. \*\*\* All win32 users should try to grab the pre-release …

---

## [I love Ruby - But how bright is Ruby's Future?](https://www.ruby-forum.com/t/i-love-ruby-but-how-bright-is-rubys-future/62458)

<div class="topic-metadata">

**Author:** [@hector](https://www.ruby-forum.com/u/hector)\
**Replies:** 107\
**Last updated:** [June 10, 2006, 5:46am UTC](https://www.ruby-forum.com/t/i-love-ruby-but-how-bright-is-rubys-future/62458 "2006-06-10T05:46:12Z")

</div>

I’ve been trying to pickup Ruby for a few months now. I’ve written a few good programs that help me at work with SAN/Unix Administration. I’ve also run into a few dificult(for me) programming problems. I like to figur…

---

## [Rubyzip not recognized](https://www.ruby-forum.com/t/rubyzip-not-recognized/62984)

<div class="topic-metadata">

**Author:** [@lisa-u](https://www.ruby-forum.com/u/lisa-u)\
**Replies:** 2\
**Last updated:** [June 10, 2006, 3:08am UTC](https://www.ruby-forum.com/t/rubyzip-not-recognized/62984 "2006-06-10T03:08:10Z")

</div>

Hello. I have downloaded and installed rubyzip successfully. However, Ruby does not recognize any of its classes. The following is the code that I used (for practice): def getfiles (zipFileName) Zip::ZipFile.open(z…

---

## [Getting YAJB to work at all](https://www.ruby-forum.com/t/getting-yajb-to-work-at-all/52372)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 11\
**Last updated:** [June 10, 2006, 1:46am UTC](https://www.ruby-forum.com/t/getting-yajb-to-work-at-all/52372 "2006-06-10T01:46:09Z")

</div>

I have been trying to get YAJB to work on my system for the last three days, without success. The platform I’m running on is Windows 2003 Server, with Ruby 1.8.3 and YAJB 0.8.1. I have ruby installed in the default lo…

---

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

<div class="topic-metadata">

**Author:** [@Eduardo\_Borges](https://www.ruby-forum.com/u/Eduardo_Borges)\
**Replies:** 2\
**Last updated:** [June 10, 2006, 12:49am UTC](https://www.ruby-forum.com/t/problem-with-btpgsql/62223 "2006-06-10T00:49:04Z")

</div>

Hi, I foll the readme instructions, but I had a problem in the btpgsql install. I don’t know how resolve this problem. Can Anybody help me, please? Sorry about the English. :slight\_smile: ~/btpgsql-0.2.4# ruby tes…

---

## [Test/socket for Windows](https://www.ruby-forum.com/t/test-socket-for-windows/62676)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 7\
**Last updated:** [June 9, 2006, 11:42pm UTC](https://www.ruby-forum.com/t/test-socket-for-windows/62676 "2006-06-09T23:42:17Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B e$B:G6a$Ne(Bsockete$B\<~$j$N%F%9%H$r\<B9T$7$F$$$F!“e(BWindowse$B$G$$$m$$$mLdBje(B e$B$,$”$k$H$$$&$3$H$K5$IU$-$^$7$?!#e(B e$B:GBg$NLdBj$Oe(B read\_nonblock e$B$He(B write\_n…

---

## [Lots of getaddrinfo: Temporary failure in name resolution in](https://www.ruby-forum.com/t/lots-of-getaddrinfo-temporary-failure-in-name-resolution-in/62968)

<div class="topic-metadata">

**Author:** [@Curtis\_Spencer](https://www.ruby-forum.com/u/Curtis_Spencer)\
**Replies:** 0\
**Last updated:** [June 9, 2006, 11:29pm UTC](https://www.ruby-forum.com/t/lots-of-getaddrinfo-temporary-failure-in-name-resolution-in/62968 "2006-06-09T23:29:29Z")

</div>

Hi, I am working on a crawler, and I am encountering a large number of getaddrinfo: Temporary failure in name resolution exceptions when I am using open-uri. I am using a hybrid approach with a lot of forks and lot …

---

## [Ruby-GetText-Package-1.6.0](https://www.ruby-forum.com/t/ruby-gettext-package-1-6-0/62952)

<div class="topic-metadata">

**Author:** [@Masao\_M](https://www.ruby-forum.com/u/Masao_M)\
**Replies:** 0\
**Last updated:** [June 9, 2006, 9:49pm UTC](https://www.ruby-forum.com/t/ruby-gettext-package-1-6-0/62952 "2006-06-09T21:49:14Z")

</div>

Hi, Ruby-GetText-Package-1.6.0 is now available. Changes Support Chinese(zh\_CN), Italian(it). Improve the way to manage textdomains. A class/module can have plural textdomains. A textdomain belong to a class/mod…

---

## [Rubyzip defect?](https://www.ruby-forum.com/t/rubyzip-defect/95700)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 9, 2006, 8:00pm UTC](https://www.ruby-forum.com/t/rubyzip-defect/95700 "2006-06-09T20:00:30Z")

</div>

Can somebody verify that they see the same issue described at: http://sourceforge.net/tracker/index.php?func=detail&aid=1503262&group\_id=43107&atid=435170 Want to make sure not loosing my mind. Thanks!

---

## [Ruby Reports 0.4.5](https://www.ruby-forum.com/t/ruby-reports-0-4-5/62940)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [June 9, 2006, 7:21pm UTC](https://www.ruby-forum.com/t/ruby-reports-0-4-5/62940 "2006-06-09T19:21:16Z")

</div>

== Ruport 0.4.5 == The “Arbitrary Additions to DataSet” Edition == About == Ruby Reports is a software library that aims to make the task of reporting less tedious and painful. It provides tools for data acquisition…

---

## [Rubyrss-1.0](https://www.ruby-forum.com/t/rubyrss-1-0/95697)

<div class="topic-metadata">

**Author:** [@sergey\_t](https://www.ruby-forum.com/u/sergey_t)\
**Replies:** 0\
**Last updated:** [June 9, 2006, 6:51pm UTC](https://www.ruby-forum.com/t/rubyrss-1-0/95697 "2006-06-09T18:51:43Z")

</div>

Dear Ruby community, I’m glad to announce initial release of RubyRSS tool. WHAT IS A RUBYRSS Elegant as Ruby RSS parser and generator intended to help you bring together Ruby and RSS in your project. Features include…

---

## [Package idea: attempt](https://www.ruby-forum.com/t/package-idea-attempt/62884)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 11\
**Last updated:** [June 9, 2006, 6:48pm UTC](https://www.ruby-forum.com/t/package-idea-attempt/62884 "2006-06-09T18:48:30Z")

</div>

Hi all, I’m tired of this idiom: max = 3 begin Timeout.timeout(val){ # some op that could fail or timeout on occasion } rescue Exception max -= 1 if max \> 0 sleep interval retry end raise end Mark Fowler w…

---

## [Problems with rb\_struct\_define and 64 bit Ruby](https://www.ruby-forum.com/t/problems-with-rb-struct-define-and-64-bit-ruby/62799)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 3\
**Last updated:** [June 9, 2006, 10:00am UTC](https://www.ruby-forum.com/t/problems-with-rb-struct-define-and-64-bit-ruby/62799 "2006-06-09T10:00:29Z")

</div>

Hi all, Ruby 1.8.4, 64 bit, built with --enable-pthread - no other special options Suse Linux 9.3 It’s late and I’m tired, so maybe I’m doing something dumb here, but this code segfaults: /\* foo.c \*/ #include “ru…

---

## [Irb/init.rb code suggestion to find user's home directory in](https://www.ruby-forum.com/t/irb-init-rb-code-suggestion-to-find-users-home-directory-in/62840)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [June 9, 2006, 8:14am UTC](https://www.ruby-forum.com/t/irb-init-rb-code-suggestion-to-find-users-home-directory-in/62840 "2006-06-09T08:14:05Z")

</div>

e$B$1$$$8$e!w$$$7$D$+$G$9e(B. e$BD\>%a%$%k$GE:IU$N$h$&$J%a%$%k$,Mh$^$7$?e(B. e$B$Ge(B, Windowse$B$K$"$^$j\>$7$/$J$$$N$Ge(B, e$B\<1\<T$NJ}$K\<ALd$J$N$G$9$,e(B, HOMEPATHe$B$H$$$&$N$Oe(B, e$B%a%8%c!\<$J$b$N$J$N$G$7$g$&$+e(B? …

---

## [Rq-2.3.3](https://www.ruby-forum.com/t/rq-2-3-3/95683)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 9, 2006, 5:02am UTC](https://www.ruby-forum.com/t/rq-2-3-3/95683 "2006-06-09T05:02:31Z")

</div>

NAME rq v2.3.3 SYNOPSIS rq (queue | export RQ\_Q=q) mode \[mode\_args\]\* \[options\]\* URIS http://codeforpeople.com/lib/ruby/rq/ http://raa.ruby-lang.org/project/rq/ Linux Clustering with Ruby Queue: Small Is Beautiful …

---

## [Requiring a file into a different namespace](https://www.ruby-forum.com/t/requiring-a-file-into-a-different-namespace/62769)

<div class="topic-metadata">

**Author:** [@bluetrust](https://www.ruby-forum.com/u/bluetrust)\
**Replies:** 7\
**Last updated:** [June 9, 2006, 4:05am UTC](https://www.ruby-forum.com/t/requiring-a-file-into-a-different-namespace/62769 "2006-06-09T04:05:16Z")

</div>

\[“a”,“b”\].each do |name| sandbox = Module.new { require “#{name}.rb” } survey = sandbox::Survey.new puts survey.name end This is what I’d like to do, but ‘name’ is out of scope and when I hardcode it, it seems like…

---

## [Directory name issue](https://www.ruby-forum.com/t/directory-name-issue/62883)

<div class="topic-metadata">

**Author:** [@verynewbie](https://www.ruby-forum.com/u/verynewbie)\
**Replies:** 3\
**Last updated:** [June 9, 2006, 3:46am UTC](https://www.ruby-forum.com/t/directory-name-issue/62883 "2006-06-09T03:46:49Z")

</div>

here is the code dirArray = Dir.entries(".") Dir.mkdir “SMITH, JOHN X755055” dirArray.each do fileentry = dirArray.pop if fileentry.match(“txt”) textfile = File.open(fileentry) textfile.each\_line {|line| newdir =…

---

## [Creating Duplicate MySQL Database](https://www.ruby-forum.com/t/creating-duplicate-mysql-database/62876)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 2\
**Last updated:** [June 9, 2006, 2:08am UTC](https://www.ruby-forum.com/t/creating-duplicate-mysql-database/62876 "2006-06-09T02:08:12Z")

</div>

I’ve done it once before and cannot find the command to do it. I’m looking for a SQL command which will spit out the sql statements to create an existing database. All its tables and everything. So I can then take t…

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

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