# Ruby

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

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

---

## [Ruby lib version (1.8.6) doesn't match executable version](https://www.ruby-forum.com/t/ruby-lib-version-1-8-6-doesnt-match-executable-version/118162)

<div class="topic-metadata">

**Author:** [@vince](https://www.ruby-forum.com/u/vince)\
**Replies:** 1\
**Last updated:** [October 24, 2007, 1:13pm UTC](https://www.ruby-forum.com/t/ruby-lib-version-1-8-6-doesnt-match-executable-version/118162 "2007-10-24T13:13:11Z")

</div>

I did a manual install of Ruby 1.8.6 from source. Now I’m getting an error that says: /usr/lib/ruby/1.8/x86\_64-linux/rbconfig.rb:7: ruby lib version (1.8.6) doesn’t match executable version (1.8.5) (RuntimeError) fro…

---

## [Unable to start webrick server with jruby script\\server](https://www.ruby-forum.com/t/unable-to-start-webrick-server-with-jruby-script-server/118164)

<div class="topic-metadata">

**Author:** [@sambo](https://www.ruby-forum.com/u/sambo)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 1:07pm UTC](https://www.ruby-forum.com/t/unable-to-start-webrick-server-with-jruby-script-server/118164 "2007-10-24T13:07:31Z")

</div>

Hi, I tried to run webrick server on jruby, but getting the following error. if anybody have answer, I would be greatful My environment is: rails 1.2.3 ruby 1.8.5 jruby 1.0.1 jdk1.4.2\_12 C:/Java/jruby-1.0.1/lib/r…

---

## [Terminology: class methods versus kernel methods](https://www.ruby-forum.com/t/terminology-class-methods-versus-kernel-methods/118112)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 8\
**Last updated:** [October 24, 2007, 12:02pm UTC](https://www.ruby-forum.com/t/terminology-class-methods-versus-kernel-methods/118112 "2007-10-24T12:02:20Z")

</div>

“One secret about kernel methods like print: they are actually class methods,” according to why’s poignant guide to ruby. This is frustrating for me, because I first thought “oh, that’s like a static class method, a l…

---

## [Anyone written ruby milters?](https://www.ruby-forum.com/t/anyone-written-ruby-milters/117817)

<div class="topic-metadata">

**Author:** [@jay-levitt](https://www.ruby-forum.com/u/jay-levitt)\
**Replies:** 2\
**Last updated:** [October 24, 2007, 10:55am UTC](https://www.ruby-forum.com/t/anyone-written-ruby-milters/117817 "2007-10-24T10:55:40Z")

</div>

I have an aging mailing-list handler that uses a combination of procmail, sendmail’s custom mailers, and hairy sendmail.cf rules, and I want to port it to a milter that I’ll write in Ruby. I’ve found two milter-rela…

---

## [Quick sockets question](https://www.ruby-forum.com/t/quick-sockets-question/118064)

<div class="topic-metadata">

**Author:** [@Vasyl\_S](https://www.ruby-forum.com/u/Vasyl_S)\
**Replies:** 1\
**Last updated:** [October 24, 2007, 10:52am UTC](https://www.ruby-forum.com/t/quick-sockets-question/118064 "2007-10-24T10:52:09Z")

</div>

Hi, I wonder if it is sufficient to use read/write methods on a TCP/ UNIXSocket object if all I need to do is just send the data to and fro? Does it handle partial reads/write situations internally? As far as I unde…

---

## [Stripping down One-Click Ruby Installer folder for deployment](https://www.ruby-forum.com/t/stripping-down-one-click-ruby-installer-folder-for-deployment/117924)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 7\
**Last updated:** [October 24, 2007, 9:52am UTC](https://www.ruby-forum.com/t/stripping-down-one-click-ruby-installer-folder-for-deployment/117924 "2007-10-24T09:52:10Z")

</div>

Hi, I’d like to deploy an client ruby application by copying the “c:\\ruby” folder to the target computers. It works fine, except that c:\\ruby is 177 MB big, and full of things that are not necessary at all on client …

---

## [Should \*most\* memory be release back to the system?](https://www.ruby-forum.com/t/should-most-memory-be-release-back-to-the-system/116940)

<div class="topic-metadata">

**Author:** [@blackie](https://www.ruby-forum.com/u/blackie)\
**Replies:** 49\
**Last updated:** [October 24, 2007, 8:34am UTC](https://www.ruby-forum.com/t/should-most-memory-be-release-back-to-the-system/116940 "2007-10-24T08:34:59Z")

</div>

If anyone can explain this I would appreciate it. I have an IT group knocking Ruby saying that it never releases memory back to the system (to be available to procs other than Ruby) so feeling somewhat defensive I wen…

---

## [Subject: multi\_rails 0.0.2 Released](https://www.ruby-forum.com/t/subject-multi-rails-0-0-2-released/118136)

<div class="topic-metadata">

**Author:** [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 5:49am UTC](https://www.ruby-forum.com/t/subject-multi-rails-0-0-2-released/118136 "2007-10-24T05:49:04Z")

</div>

multi\_rails version 0.0.2 has been released! http://multi-rails.rubyforge.org/ http://groups.google.com/group/multi\_rails MultiRails, by Relevance DESCRIPTION: MultiRails allows easy testing against multiple version…

---

## [REXML::Document#write: undefined local variable or method \`transitive'](https://www.ruby-forum.com/t/rexml-document-write-undefined-local-variable-or-method-transitive/118135)

<div class="topic-metadata">

**Author:** [@akira\_yamada\_S\_SSB](https://www.ruby-forum.com/u/akira_yamada_S_SSB)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 5:46am UTC](https://www.ruby-forum.com/t/rexml-document-write-undefined-local-variable-or-method-transitive/118135 "2007-10-24T05:46:44Z")

</div>

trunke$B$Ne(BREXMLe$B$,85$@$H;W$&$N$G$9$1$Ie(B REXML::Document.new("").each\_child{|e| e.write($stdout,1,true,true) e$B$J$I$GNc30$,\>e$,$j$^$9!#e(B e$B$I$3$Ge(Brequiree$B$9$k$H$$$$$N$+J,$+$j$^$;$s$,e(B e$B$H$j$"$($:$3…

---

## [Geoip moved to rubyforge](https://www.ruby-forum.com/t/geoip-moved-to-rubyforge/118134)

<div class="topic-metadata">

**Author:** [@Clifford\_H](https://www.ruby-forum.com/u/Clifford_H)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 5:00am UTC](https://www.ruby-forum.com/t/geoip-moved-to-rubyforge/118134 "2007-10-24T05:00:36Z")

</div>

The GeoIP gem, now two years old, has been moved to RubyForge. There are no functional changes, just some minor tweaks to the documentation. GeoIP searches a GeoIP database for a given host or IP address, and returns…

---

## [Tracking down an application](https://www.ruby-forum.com/t/tracking-down-an-application/118128)

<div class="topic-metadata">

**Author:** [@casey](https://www.ruby-forum.com/u/casey)\
**Replies:** 2\
**Last updated:** [October 24, 2007, 4:35am UTC](https://www.ruby-forum.com/t/tracking-down-an-application/118128 "2007-10-24T04:35:22Z")

</div>

Does anyone know what program DHH is using to manage his MySQL tables in this video: http://media.rubyonrails.org/video/rails\_take2\_with\_sound.mov ?

---

## [Yaml Parser](https://www.ruby-forum.com/t/yaml-parser/117724)

<div class="topic-metadata">

**Author:** [@adam](https://www.ruby-forum.com/u/adam)\
**Replies:** 12\
**Last updated:** [October 24, 2007, 4:23am UTC](https://www.ruby-forum.com/t/yaml-parser/117724 "2007-10-24T04:23:10Z")

</div>

Has anyone else started working on a Yaml parser? If so, how can I contribute?

---

## [Polyglot 0.1.0 Released](https://www.ruby-forum.com/t/polyglot-0-1-0-released/118129)

<div class="topic-metadata">

**Author:** [@Clifford\_H](https://www.ruby-forum.com/u/Clifford_H)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 3:41am UTC](https://www.ruby-forum.com/t/polyglot-0-1-0-released/118129 "2007-10-24T03:41:42Z")

</div>

Polyglot version 0.1.0 has been released! http://polyglot.rubyforge.org Allows custom language loaders for specified file extensions to be hooked into require. For anyone who’s ever needed to load non-Ruby file type…

---

## [PATCH for TMail to handle MS Outlook Emails](https://www.ruby-forum.com/t/patch-for-tmail-to-handle-ms-outlook-emails/117890)

<div class="topic-metadata">

**Author:** [@Mikel\_L](https://www.ruby-forum.com/u/Mikel_L)\
**Replies:** 3\
**Last updated:** [October 24, 2007, 3:10am UTC](https://www.ruby-forum.com/t/patch-for-tmail-to-handle-ms-outlook-emails/117890 "2007-10-24T03:10:44Z")

</div>

TMail handles the “content-type” header field per RFC 2045. Per the RFC you can not use /\[?/=\]/ in the boundary=field unless it is quoted, MS Outlook Express (at least) violates this rule. The fix is to check the boun…

---

## [How to obtain local encoding?](https://www.ruby-forum.com/t/how-to-obtain-local-encoding/117889)

<div class="topic-metadata">

**Author:** [@liwenqiu](https://www.ruby-forum.com/u/liwenqiu)\
**Replies:** 10\
**Last updated:** [October 24, 2007, 3:07am UTC](https://www.ruby-forum.com/t/how-to-obtain-local-encoding/117889 "2007-10-24T03:07:13Z")

</div>

hi,all: I have a problem, I don’t know how to find out what is the current local encoding by ruby script, My script must can be run on windows or linux platform. who can tell me how to do, thanks very much. …

---

## [Ruby 3D](https://www.ruby-forum.com/t/ruby-3d/117755)

<div class="topic-metadata">

**Author:** [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Replies:** 3\
**Last updated:** [October 24, 2007, 2:39am UTC](https://www.ruby-forum.com/t/ruby-3d/117755 "2007-10-24T02:39:46Z")

</div>

Hi, I know the answer but I try anyway : is there a well supported Ruby binding to a good 3D engine ? What I’ve found is a binding to irrlich which is rather old (2 years) and an obsolete binding to Ogre3D It’s quite…

---

## [How can I print the string in different color?](https://www.ruby-forum.com/t/how-can-i-print-the-string-in-different-color/118010)

<div class="topic-metadata">

**Author:** [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Replies:** 2\
**Last updated:** [October 24, 2007, 2:04am UTC](https://www.ruby-forum.com/t/how-can-i-print-the-string-in-different-color/118010 "2007-10-24T02:04:44Z")

</div>

Hai Friends, How can I print the string in different color in Ruby. For example,we can take c program,I c program we are having the printing foramts with lot of colors. by vellingiri

---

## [Windows - Get current logged user](https://www.ruby-forum.com/t/windows-get-current-logged-user/115791)

<div class="topic-metadata">

**Author:** [@rbermejo](https://www.ruby-forum.com/u/rbermejo)\
**Replies:** 13\
**Last updated:** [October 24, 2007, 1:15am UTC](https://www.ruby-forum.com/t/windows-get-current-logged-user/115791 "2007-10-24T01:15:39Z")

</div>

Hello /. I need to know how is the user who is currently logged to an specific machine. I’m able to log into the box using ‘net/telnet’ and then do whatever I need to get the user logged. My 1st try was to take a lo…

---

## [SVN reverted to revsion 44](https://www.ruby-forum.com/t/svn-reverted-to-revsion-44/118107)

<div class="topic-metadata">

**Author:** [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 10:40pm UTC](https://www.ruby-forum.com/t/svn-reverted-to-revsion-44/118107 "2007-10-23T22:40:43Z")

</div>

Thanks to the timely work of Tom C., the Rubyforge sysadmin, we’re back to where we were yesterday. Now, cross your fingers that I don’t screw things up again this time :slight\_smile: -John

---

## [Monitoring Excel varabiles](https://www.ruby-forum.com/t/monitoring-excel-varabiles/118097)

<div class="topic-metadata">

**Author:** [@nick](https://www.ruby-forum.com/u/nick)\
**Replies:** 1\
**Last updated:** [October 23, 2007, 10:25pm UTC](https://www.ruby-forum.com/t/monitoring-excel-varabiles/118097 "2007-10-23T22:25:32Z")

</div>

I am trying to monitor a cell in excel, however when the value of this cell changes it stops the programs and gives an error. I would like to know if there is a better way to do this so I can check it on every scan. W…

---

## [Ruby-ldap 0.9.7 build failure](https://www.ruby-forum.com/t/ruby-ldap-0-9-7-build-failure/118103)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 10:15pm UTC](https://www.ruby-forum.com/t/ruby-ldap-0-9-7-build-failure/118103 "2007-10-23T22:15:35Z")

</div>

Solaris 10 Sun Studio 12 ruby-ldap 0.9.7 djberge-/export/home/djberge/src/ruby/ruby-ldap-0.9.7-518\>ruby extconf.rb --with-ldap-dir=/opt/csw –with-openldap2 checking for ldap.h… yes checking for lber.h… yes checki…

---

## [Type mismatch with ruby-db2 when using set\_primary\_key](https://www.ruby-forum.com/t/type-mismatch-with-ruby-db2-when-using-set-primary-key/118101)

<div class="topic-metadata">

**Author:** [@teddio](https://www.ruby-forum.com/u/teddio)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 9:31pm UTC](https://www.ruby-forum.com/t/type-mismatch-with-ruby-db2-when-using-set-primary-key/118101 "2007-10-23T21:31:07Z")

</div>

I have successfully installed ruby-db2-0.4.4. I have successfully connected to DB2 and have displayed the one table that I generated a model for. My problem is that this table is part of a legacy app and so it does n…

---

## ["with" statement](https://www.ruby-forum.com/t/with-statement/117855)

<div class="topic-metadata">

**Author:** [@pedz](https://www.ruby-forum.com/u/pedz)\
**Replies:** 12\
**Last updated:** [October 23, 2007, 8:45pm UTC](https://www.ruby-forum.com/t/with-statement/117855 "2007-10-23T20:45:16Z")

</div>

Pascal has a with statement. (I’m showing my age). It would be nice instead of: \<td\>\<%= h relationship.parent\_id %\>\</td\> \<td\>\<%= h relationship.link\_type.pcln %\>\</td\> \<td\>\<%= h relationship.child\_id %\>\</td\> \<td\>\<%= h…

---

## [How to install gsl in windows OS](https://www.ruby-forum.com/t/how-to-install-gsl-in-windows-os/118056)

<div class="topic-metadata">

**Author:** [@smeitei](https://www.ruby-forum.com/u/smeitei)\
**Replies:** 4\
**Last updated:** [October 23, 2007, 6:39pm UTC](https://www.ruby-forum.com/t/how-to-install-gsl-in-windows-os/118056 "2007-10-23T18:39:53Z")

</div>

Help me in installing “gsl” in windows OS

---

## [Nth Root in Ruby](https://www.ruby-forum.com/t/nth-root-in-ruby/117954)

<div class="topic-metadata">

**Author:** [@jazcyk](https://www.ruby-forum.com/u/jazcyk)\
**Replies:** 3\
**Last updated:** [October 23, 2007, 6:36pm UTC](https://www.ruby-forum.com/t/nth-root-in-ruby/117954 "2007-10-23T18:36:57Z")

</div>

Hi, I have tried Googling, but am finding it difficult to track down an answer to my question: What’s the easiest way to calculate the Nth root of a number in Ruby, I’ve looked at the Math module but this doesn’t see…

---

## [Why "Kernel#fork" on windows](https://www.ruby-forum.com/t/why-kernel-fork-on-windows/118065)

<div class="topic-metadata">

**Author:** [@goal1860](https://www.ruby-forum.com/u/goal1860)\
**Replies:** 2\
**Last updated:** [October 23, 2007, 6:31pm UTC](https://www.ruby-forum.com/t/why-kernel-fork-on-windows/118065 "2007-10-23T18:31:42Z")

</div>

Kernel methods are usually able to be called directly, like gets, gsub, binding, etc. But why “fork” is not recognized? Instead only “Kernel#fork” is awared by interpreter?

---

## [Strange behavior with Sequel + RSS::Parser](https://www.ruby-forum.com/t/strange-behavior-with-sequel-rss-parser/118038)

<div class="topic-metadata">

**Author:** [@luispulidoman](https://www.ruby-forum.com/u/luispulidoman)\
**Replies:** 2\
**Last updated:** [October 23, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/strange-behavior-with-sequel-rss-parser/118038 "2007-10-23T18:24:03Z")

</div>

Hi I’m having a strange behavior when using RSS::Parser after requiring the sequel gem. After doing a require ‘sequel’, the number of news items is always 0. The script below is a small test which reads a rss feed wi…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/118067)

<div class="topic-metadata">

**Author:** [@fernan2](https://www.ruby-forum.com/u/fernan2)\
**Replies:** 0\
**Last updated:** [October 23, 2007, 6:09pm UTC](https://www.ruby-forum.com/t/no-subject/118067 "2007-10-23T18:09:25Z")

</div>

help help

---

## [Time stamp on jpg](https://www.ruby-forum.com/t/time-stamp-on-jpg/118055)

<div class="topic-metadata">

**Author:** [@nick](https://www.ruby-forum.com/u/nick)\
**Replies:** 3\
**Last updated:** [October 23, 2007, 6:01pm UTC](https://www.ruby-forum.com/t/time-stamp-on-jpg/118055 "2007-10-23T18:01:48Z")

</div>

I am trying to find the time that a jpg was created. I am using the File.atime(file) code. My problem is it will tell me the date that it was created but the time is 00:00:00, I was wanting to know if anyone else has …

---

## [Uh oh - I think I pooched the SVN repository](https://www.ruby-forum.com/t/uh-oh-i-think-i-pooched-the-svn-repository/118002)

<div class="topic-metadata">

**Author:** [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Replies:** 9\
**Last updated:** [October 23, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/uh-oh-i-think-i-pooched-the-svn-repository/118002 "2007-10-23T17:50:07Z")

</div>

The last two commits were pretty complex and I think something got screwed up in the SVN repository. I think we did some transforms that my layout transform script is not getting right. It looks like I need to rollbac…

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

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