# Ruby

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

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

---

## [Mr Bones 1.3.1](https://www.ruby-forum.com/t/mr-bones-1-3-1/127857)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 0\
**Last updated:** [February 1, 2008, 9:30pm UTC](https://www.ruby-forum.com/t/mr-bones-1-3-1/127857 "2008-02-01T21:30:32Z")

</div>

== Mr Bones \<http://codeforpeople.rubyforge.org/bones\> Mr Bones is a handy tool that builds a skeleton for your Ruby projects. The skeleton contains some starter code and a collection of rake tasks to ease the mana…

---

## [DRB+Mixin, a defect or an usage error?](https://www.ruby-forum.com/t/drb-mixin-a-defect-or-an-usage-error/127663)

<div class="topic-metadata">

**Author:** [@yangpeng](https://www.ruby-forum.com/u/yangpeng)\
**Replies:** 4\
**Last updated:** [February 1, 2008, 9:27pm UTC](https://www.ruby-forum.com/t/drb-mixin-a-defect-or-an-usage-error/127663 "2008-02-01T21:27:01Z")

</div>

I found a strange thing when I include a module to a Drb object.I’m confused. server.rb:require 'drb’require ‘module\_a’ class ServerHello include TestModule1 def sayHello puts ‘I am server’ end endDR…

---

## [cgi.rb$B:F9=C\[0F(B](https://www.ruby-forum.com/t/cgi-rb-b-f9-c-0f-b/127844)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [February 1, 2008, 8:02pm UTC](https://www.ruby-forum.com/t/cgi-rb-b-f9-c-0f-b/127844 "2008-02-01T20:02:08Z")

</div>

e$B$k$S$-$A$G$9!#e(B cgi.rbe$B$Ne(BCGI::TagMakere$B!“e(BCGI::HtmlExtensione$BEy$r;H$C$F$$$k?M$O$$$k$G$7$g$&$+!)e(B e$B$”$^$j;H$o$l$F$$$J$$$N$G$"$l$P!"e(Bcgi/html.rbe$B$H$+$KJ,N%$7$?$\[$&$,$$$$5$$,$7$^$9!#e(B e$B$^$?!"e…

---

## [Prob with IO.popen](https://www.ruby-forum.com/t/prob-with-io-popen/127839)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvS\_ue](https://www.ruby-forum.com/u/Une_BSSSSvS_ue)\
**Replies:** 0\
**Last updated:** [February 1, 2008, 7:50pm UTC](https://www.ruby-forum.com/t/prob-with-io-popen/127839 "2008-02-01T19:50:54Z")

</div>

if i do : lines = IO.popen( “ls -alR /Users/yt/work/Ruby/IO”) lines.each { | line | puts line } i get the expected output of $ ls -alR however (on Mac OS X 10.4.11) the following : cmd = IO.popen( “/usr/bin/nibtool …

---

## [Blogging Platform suggestions?](https://www.ruby-forum.com/t/blogging-platform-suggestions/127465)

<div class="topic-metadata">

**Author:** [@Bira](https://www.ruby-forum.com/u/Bira)\
**Replies:** 2\
**Last updated:** [February 1, 2008, 7:43pm UTC](https://www.ruby-forum.com/t/blogging-platform-suggestions/127465 "2008-02-01T19:43:11Z")

</div>

Hello, First of all, I would like to apologize for being off-topic. As you can see in my signature, I have a Portuguese language blog on Blogger/Blogspot, but I haven’t been very satisfied with this platform lately. …

---

## [The Ruby Programming Language](https://www.ruby-forum.com/t/the-ruby-programming-language/127602)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 4\
**Last updated:** [February 1, 2008, 7:15pm UTC](https://www.ruby-forum.com/t/the-ruby-programming-language/127602 "2008-02-01T19:15:29Z")

</div>

Just got note from O’Reilly about The Ruby P.ming Language (The Ruby Programming Language \[Book\]) by Matz and Flanagan. This must have been a super-secret project as I can’t find any references to it via Google. Loo…

---

## [Decrypt this!](https://www.ruby-forum.com/t/decrypt-this/127708)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [February 1, 2008, 7:01pm UTC](https://www.ruby-forum.com/t/decrypt-this/127708 "2008-02-01T19:01:14Z")

</div>

Here is some code that adds encrypt/decrypt methods to string, quite handy. Problem is, I need to decrypt in .NET !! any idea how? ============================= require ‘openssl’ $key = “A75435F0B240012A9489000C295…

---

## [Is there a Windows port of "narray"?](https://www.ruby-forum.com/t/is-there-a-windows-port-of-narray/127827)

<div class="topic-metadata">

**Author:** [@MSEdward\_SEdS\_Bora](https://www.ruby-forum.com/u/MSEdward_SEdS_Bora)\
**Replies:** 1\
**Last updated:** [February 1, 2008, 6:13pm UTC](https://www.ruby-forum.com/t/is-there-a-windows-port-of-narray/127827 "2008-02-01T18:13:18Z")

</div>

Subject says most of it, except for the “why do I want this?” I want this to do some serious number crunching in Rails on a Windows server. :wink:

---

## [RubyGems and ENV vars?](https://www.ruby-forum.com/t/rubygems-and-env-vars/127780)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvS\_ue](https://www.ruby-forum.com/u/Une_BSSSSvS_ue)\
**Replies:** 3\
**Last updated:** [February 1, 2008, 6:00pm UTC](https://www.ruby-forum.com/t/rubygems-and-env-vars/127780 "2008-02-01T18:00:22Z")

</div>

I’m working (on Mac OS X) with two installed ruby (apart from Apple default one): $ which ruby /opt/local/bin/ruby $ which ruby19 /opt/local/bin/ruby19 (all of the Ruby-1.9.0-0 bins have a “19” suffix) when i try…

---

## [Why is ruby ignoring allow\_nil?](https://www.ruby-forum.com/t/why-is-ruby-ignoring-allow-nil/127828)

<div class="topic-metadata">

**Author:** [@laredotornado](https://www.ruby-forum.com/u/laredotornado)\
**Replies:** 1\
**Last updated:** [February 1, 2008, 5:57pm UTC](https://www.ruby-forum.com/t/why-is-ruby-ignoring-allow-nil/127828 "2008-02-01T17:57:25Z")

</div>

Hi, In my user model, I’m want to validate a field only if the field is not empty. So I’m trying validates\_format\_of :work\_phone, :with =\> %r{^(+\\d)\\s((\\d{3})\\s\*)\* \\d{3}(-{0,1}|\\s{0,1})\\d{2}(-{0,1}|\\s{0,1})\\d{2}$}, …

---

## [ZenTest 3.9.1 Released](https://www.ruby-forum.com/t/zentest-3-9-1-released/127771)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 4\
**Last updated:** [February 1, 2008, 5:31pm UTC](https://www.ruby-forum.com/t/zentest-3-9-1-released/127771 "2008-02-01T17:31:58Z")

</div>

ZenTest version 3.9.1 has been released! http://www.zenspider.com/ZSS/Products/ZenTest/ http://rubyforge.org/projects/zentest/ removed\_email\_address@domain.invalid ZenTest provides 4 different tools and 1 library: zen…

---

## [New scripter looking for some buds](https://www.ruby-forum.com/t/new-scripter-looking-for-some-buds/127762)

<div class="topic-metadata">

**Author:** [@peterpiper](https://www.ruby-forum.com/u/peterpiper)\
**Replies:** 2\
**Last updated:** [February 1, 2008, 4:23pm UTC](https://www.ruby-forum.com/t/new-scripter-looking-for-some-buds/127762 "2008-02-01T16:23:01Z")

</div>

I’m new to this ruby thing and was hoping I could find one or two other people who were also new to it and we could collaborate via e-mail or IM or something. Let me know. I’d eventually like to work up to using ruby …

---

## [What's need to install RMagick on AIX](https://www.ruby-forum.com/t/whats-need-to-install-rmagick-on-aix/127751)

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 3\
**Last updated:** [February 1, 2008, 4:22pm UTC](https://www.ruby-forum.com/t/whats-need-to-install-rmagick-on-aix/127751 "2008-02-01T16:22:17Z")

</div>

I have Ruby installed under AIX: ruby 1.8.6 (2007-03-13 patchlevel 0) \[ powerpc-aix5.3.0.0\]. What else do I need to get RMagick working under AIX 5.3? Thank you Victor

---

## [Is this a complex encoding problem?](https://www.ruby-forum.com/t/is-this-a-complex-encoding-problem/127812)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 5\
**Last updated:** [February 1, 2008, 4:11pm UTC](https://www.ruby-forum.com/t/is-this-a-complex-encoding-problem/127812 "2008-02-01T16:11:35Z")

</div>

Hey chaps, Im trying to write a text file to the file system, but it must have an exact byte order as per this: http://support.adobe.com/devsup/devsup.nsf/docs/54161.htm http://support.adobe.com/devsup/devsup.nsf/doc…

---

## [Gem install problem](https://www.ruby-forum.com/t/gem-install-problem/127800)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 0\
**Last updated:** [February 1, 2008, 12:47pm UTC](https://www.ruby-forum.com/t/gem-install-problem/127800 "2008-02-01T12:47:25Z")

</div>

(For some reason, by second installment of this problem arrived at the list, but not this - the first part of it, so here's another attempt.) I'm rather new to Kubuntu Linux (ver. 7.10) and still getting my sea legs…

---

## [Gem install problem - II](https://www.ruby-forum.com/t/gem-install-problem-ii/127796)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 0\
**Last updated:** [February 1, 2008, 12:05pm UTC](https://www.ruby-forum.com/t/gem-install-problem-ii/127796 "2008-02-01T12:05:29Z")

</div>

Thinking that maybe I should install manually from a downloaded rubygems, I uninstall it again, then download rubygems-1.0.1.tgz from rubyforge, unpack it, and issue... :/$ ruby setup.rb I get a glorious pile of ou…

---

## [Gem install problem](https://www.ruby-forum.com/t/gem-install-problem/127795)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 0\
**Last updated:** [February 1, 2008, 12:03pm UTC](https://www.ruby-forum.com/t/gem-install-problem/127795 "2008-02-01T12:03:44Z")

</div>

I'm rather new to Kubuntu Linux (ver. 7.10) and still getting my sea legs. I knew something's not right with my gem install, so I did the following, from a console :/$ sudo apt-get purge rubygems :/$ sudo apt-get ins…

---

## [JNA Help - LPDWORD](https://www.ruby-forum.com/t/jna-help-lpdword/127436)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 6\
**Last updated:** [February 1, 2008, 11:57am UTC](https://www.ruby-forum.com/t/jna-help-lpdword/127436 "2008-02-01T11:57:10Z")

</div>

Hi all, Does anyone happen to know the JNA equivalent of \[24\].pack(‘L’)? I need to pass a LPDWORD (pointer to a long) to a function. Here’s the code snippet I’m trying to make work. I’m pretty sure it’s failing becau…

---

## [Regular expression negate a word (not character)](https://www.ruby-forum.com/t/regular-expression-negate-a-word-not-character/127200)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 23\
**Last updated:** [February 1, 2008, 11:45am UTC](https://www.ruby-forum.com/t/regular-expression-negate-a-word-not-character/127200 "2008-02-01T11:45:54Z")

</div>

somebody who is a regular expression guru… how do you negate a word and grep for all words that is tire but not snow tire or snowtire so for example, it will grep for winter tire tire retire tired but will no…

---

## [What does $var mean?](https://www.ruby-forum.com/t/what-does-var-mean/127787)

<div class="topic-metadata">

**Author:** [@Magicloud\_M](https://www.ruby-forum.com/u/Magicloud_M)\
**Replies:** 3\
**Last updated:** [February 1, 2008, 11:03am UTC](https://www.ruby-forum.com/t/what-does-var-mean/127787 "2008-02-01T11:03:25Z")

</div>

Hello, I mean what kind of variable is $var? What is its ‘domain’? Thanks.

---

## [Sprintf bug?](https://www.ruby-forum.com/t/sprintf-bug/127769)

<div class="topic-metadata">

**Author:** [@Daniel\_DeLorme](https://www.ruby-forum.com/u/Daniel_DeLorme)\
**Replies:** 1\
**Last updated:** [February 1, 2008, 10:09am UTC](https://www.ruby-forum.com/t/sprintf-bug/127769 "2008-02-01T10:09:17Z")

</div>

I’ve just stumbled across the following: machine1$ ruby -ve ‘printf("(%\*-s)\\n", 10,“hello”)’ ruby 1.8.6 (2007-03-13 patchlevel 0) \[i386-freebsd6\] (hello ) machine2$ ruby -ve ‘printf("(%\*-s)\\n", 10,“hello”)’ ruby…

---

## [Online training for sap and net weaver](https://www.ruby-forum.com/t/online-training-for-sap-and-net-weaver/127783)

<div class="topic-metadata">

**Author:** [@madhu](https://www.ruby-forum.com/u/madhu)\
**Replies:** 0\
**Last updated:** [February 1, 2008, 9:25am UTC](https://www.ruby-forum.com/t/online-training-for-sap-and-net-weaver/127783 "2008-02-01T09:25:43Z")

</div>

Dear sir/madam, We introduce ourselves Hallmark Technologies, Offering Training in ALL areas of SAP by Real time consultants Offering ONLINE Training (server from US) Courses: ONLINE TRAINING AVAILABLE FOR THE FOLL…

---

## [Final Two Quizzes](https://www.ruby-forum.com/t/final-two-quizzes/127368)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 31\
**Last updated:** [February 1, 2008, 8:18am UTC](https://www.ruby-forum.com/t/final-two-quizzes/127368 "2008-02-01T08:18:39Z")

</div>

As most of you know, we have two Ruby Q. problems left (http://groups.google.com/group/comp.lang.ruby/msg/6f46393932c22e49 ). I haven’t picked them yet, so now is a great time to send me any terrific ideas you’ve bee…

---

## [Treetop Email Parser](https://www.ruby-forum.com/t/treetop-email-parser/127409)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 13\
**Last updated:** [February 1, 2008, 6:13am UTC](https://www.ruby-forum.com/t/treetop-email-parser/127409 "2008-02-01T06:13:35Z")

</div>

(I would post this to the treetop mailing list…except there doesn’t seem to be one.) Warming up to treetop, at lunch today I ported the official RFC2822 email address specification to treetop. (As a grammar that allow…

---

## [Weird binding error](https://www.ruby-forum.com/t/weird-binding-error/127718)

<div class="topic-metadata">

**Author:** [@pedz](https://www.ruby-forum.com/u/pedz)\
**Replies:** 2\
**Last updated:** [February 1, 2008, 5:41am UTC](https://www.ruby-forum.com/t/weird-binding-error/127718 "2008-02-01T05:41:52Z")

</div>

Below is code that represents the code I am working on. The line that reads temp.wrap\_with\_combined is the problem. I am not sure if this is a bug in my brain, Rails, or Ruby. And, I’m stumped as to how to continue to…

---

## [FxRuby](https://www.ruby-forum.com/t/fxruby/127670)

<div class="topic-metadata">

**Author:** [@lote](https://www.ruby-forum.com/u/lote)\
**Replies:** 6\
**Last updated:** [February 1, 2008, 4:47am UTC](https://www.ruby-forum.com/t/fxruby/127670 "2008-02-01T04:47:59Z")

</div>

Does anybody some experiance aout FxRuby ? i have Ruby 1.8.2-14 with FxRuby 1.2.2. i read something about it. but i see that is difficult implement it . Actually layaout manager a bit of different.

---

## [SOAP::RPC::StandaloneServer failed in the thread](https://www.ruby-forum.com/t/soap-standaloneserver-failed-in-the-thread/127765)

<div class="topic-metadata">

**Author:** [@cyl](https://www.ruby-forum.com/u/cyl)\
**Replies:** 0\
**Last updated:** [February 1, 2008, 3:35am UTC](https://www.ruby-forum.com/t/soap-standaloneserver-failed-in-the-thread/127765 "2008-02-01T03:35:51Z")

</div>

I wrote a simple soap server as below NS = ‘http://Test.com/Test’; class Server \< SOAP::RPC::StandaloneServer def on\_init t = TestClass.new add\_method(t, ‘echo’) end end svr = Server.new(‘TEST’,NS,‘0.0.0.0’,12321…

---

## [ZenTest 3.9.0 Released](https://www.ruby-forum.com/t/zentest-3-9-0-released/127676)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 7\
**Last updated:** [February 1, 2008, 2:57am UTC](https://www.ruby-forum.com/t/zentest-3-9-0-released/127676 "2008-02-01T02:57:45Z")

</div>

ZenTest version 3.9.0 has been released! http://www.zenspider.com/ZSS/Products/ZenTest/ http://rubyforge.org/projects/zentest/ removed\_email\_address@domain.invalid ZenTest provides 4 different tools and 1 library: zen…

---

## [How can I save the current browser title to a variable?](https://www.ruby-forum.com/t/how-can-i-save-the-current-browser-title-to-a-variable/127740)

<div class="topic-metadata">

**Author:** [@ddad01](https://www.ruby-forum.com/u/ddad01)\
**Replies:** 1\
**Last updated:** [February 1, 2008, 2:10am UTC](https://www.ruby-forum.com/t/how-can-i-save-the-current-browser-title-to-a-variable/127740 "2008-02-01T02:10:51Z")

</div>

I’m new to Ruby, but I cannot find a way to get the browser title. any help would be great. Thanks

---

## [\[ANN\] MiniExiftool 0.5.0 released](https://www.ruby-forum.com/t/ann-miniexiftool-0-5-0-released/127757)

<div class="topic-metadata">

**Author:** [@janfoeh](https://www.ruby-forum.com/u/janfoeh)\
**Replies:** 0\
**Last updated:** [February 1, 2008, 12:16am UTC](https://www.ruby-forum.com/t/ann-miniexiftool-0-5-0-released/127757 "2008-02-01T00:16:15Z")

</div>

MiniExiftool version 0.5.0 released! http://miniexiftool.rubyforge.org/ MiniExiftool is a wrapper library for the Exiftool command-line application (www.sno.phy.queensu.ca/~phil/exiftool/) written by Phil Harvay. One…

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

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