# Ruby

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

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

---

## [Ask for some experience](https://www.ruby-forum.com/t/ask-for-some-experience/47966)

<div class="topic-metadata">

**Author:** [@joe-black](https://www.ruby-forum.com/u/joe-black)\
**Replies:** 4\
**Last updated:** [November 16, 2005, 10:08am UTC](https://www.ruby-forum.com/t/ask-for-some-experience/47966 "2005-11-16T10:08:01Z")

</div>

hello everyone. any one like to share some experience about ruby string just like java: trim(), split(), or indexOf() all regards

---

## [Re: HTTP IO?](https://www.ruby-forum.com/t/re-http-io/102500)

<div class="topic-metadata">

**Author:** [@daniels](https://www.ruby-forum.com/u/daniels)\
**Replies:** 1\
**Last updated:** [November 16, 2005, 9:28am UTC](https://www.ruby-forum.com/t/re-http-io/102500 "2005-11-16T09:28:54Z")

</div>

the … implies the missing code. Grab the whole thing from: http://rubyforge.org/cgi-bin/viewcvs.cgi/mouseHole/lib/net/httpio.rb?cvsroot=mousehole The read and close method should work the same as the read and close me…

---

## [Re: HTTP IO?](https://www.ruby-forum.com/t/re-http-io/102498)

<div class="topic-metadata">

**Author:** [@daniels](https://www.ruby-forum.com/u/daniels)\
**Replies:** 2\
**Last updated:** [November 16, 2005, 7:55am UTC](https://www.ruby-forum.com/t/re-http-io/102498 "2005-11-16T07:55:30Z")

</div>

Well, I’d advise reading http://redhanded.hobix.com/inspect/theStoryOfStreamingHttpThroughMouseho leWithSubsequentAdventuresInContinuationsAndDuckTyping.html And using the code there for the HTTPIO object. It’s what w…

---

## [Rake Hates Me Today](https://www.ruby-forum.com/t/rake-hates-me-today/48226)

<div class="topic-metadata">

**Author:** [@james](https://www.ruby-forum.com/u/james)\
**Replies:** 4\
**Last updated:** [November 16, 2005, 7:28am UTC](https://www.ruby-forum.com/t/rake-hates-me-today/48226 "2005-11-16T07:28:18Z")

</div>

I’m trying to package up a new gem to release, but Rake and I just can’t seem to get along today. In my Rakefile I have: Rake::GemPackageTask.new(spec) do |pkg| pkg.need\_zip = true pkg.need\_tar = true end When I …

---

## [Baffled by error](https://www.ruby-forum.com/t/baffled-by-error/48024)

<div class="topic-metadata">

**Author:** [@candiazoo](https://www.ruby-forum.com/u/candiazoo)\
**Replies:** 1\
**Last updated:** [November 16, 2005, 4:24am UTC](https://www.ruby-forum.com/t/baffled-by-error/48024 "2005-11-16T04:24:28Z")

</div>

I am playing around… I am a ruby newbie. I am encountering an error I can’t figure out. Probably something very silly I am doing wrong… I have a class called “Artist” (I’ll attach it below) that tries to open an SQ…

---

## [Idea: screensaver lib for Ruby](https://www.ruby-forum.com/t/idea-screensaver-lib-for-ruby/48017)

<div class="topic-metadata">

**Author:** [@rubyhacker](https://www.ruby-forum.com/u/rubyhacker)\
**Replies:** 1\
**Last updated:** [November 16, 2005, 2:24am UTC](https://www.ruby-forum.com/t/idea-screensaver-lib-for-ruby/48017 "2005-11-16T02:24:06Z")

</div>

I’m a fan of screensavers, as maybe you are also. I think it would be cool to have a lib for writing screensavers in Ruby. I’m ignorant of the details, though. I’ve always wondered how screensavers are installed and …

---

## [RubyGems skips rdoc!](https://www.ruby-forum.com/t/rubygems-skips-rdoc/48019)

<div class="topic-metadata">

**Author:** [@listrecv](https://www.ruby-forum.com/u/listrecv)\
**Replies:** 0\
**Last updated:** [November 16, 2005, 12:53am UTC](https://www.ruby-forum.com/t/rubygems-skips-rdoc/48019 "2005-11-16T00:53:47Z")

</div>

Some RubyGems seem to be set to tell gem to not do the rdoc, even if I explicilty type gem rdoc \[name\]. Is there anyway I can force it? I’d really like rdoc’s on some gems…

---

## [Ruby-feedparser : RSS/Atom feed parser](https://www.ruby-forum.com/t/ruby-feedparser-rss-atom-feed-parser/48020)

<div class="topic-metadata">

**Author:** [@lucas](https://www.ruby-forum.com/u/lucas)\
**Replies:** 0\
**Last updated:** [November 16, 2005, 12:26am UTC](https://www.ruby-forum.com/t/ruby-feedparser-rss-atom-feed-parser/48020 "2005-11-16T00:26:41Z")

</div>

Hi, Ruby-feedparser is an ATOM/RSS feed parser. It was initially developed for Feed2Imap, but is now a standalone library. Ruby-feedparser is : based on REXML built for robustness : most feeds are not valid, a parse…

---

## [Reading a signed byte in network byte order](https://www.ruby-forum.com/t/reading-a-signed-byte-in-network-byte-order/48105)

<div class="topic-metadata">

**Author:** [@robert.evans](https://www.ruby-forum.com/u/robert.evans)\
**Replies:** 7\
**Last updated:** [November 16, 2005, 12:17am UTC](https://www.ruby-forum.com/t/reading-a-signed-byte-in-network-byte-order/48105 "2005-11-16T00:17:40Z")

</div>

Hi, In trying to read 4 bytes as a signed integer from an IO in big- endian order, is there already a utility to do this in Ruby? I notice unpack has lots of combinations already, but seemingly not one for this. Mayb…

---

## [ZenProfile](https://www.ruby-forum.com/t/zenprofile/102470)

<div class="topic-metadata">

**Author:** [@dale.martenson](https://www.ruby-forum.com/u/dale.martenson)\
**Replies:** 1\
**Last updated:** [November 16, 2005, 12:05am UTC](https://www.ruby-forum.com/t/zenprofile/102470 "2005-11-16T00:05:36Z")

</div>

How do I use ZenProfile? I thought Ryan D.’ presentation at the Ruby Conference was great. It was one of the best of the conference, but I was bum to see that much of the cool usage information from the presentation w…

---

## [Ruby-growl 1.0.1](https://www.ruby-forum.com/t/ruby-growl-1-0-1/48015)

<div class="topic-metadata">

**Author:** [@drbrain](https://www.ruby-forum.com/u/drbrain)\
**Replies:** 0\
**Last updated:** [November 15, 2005, 11:56pm UTC](https://www.ruby-forum.com/t/ruby-growl-1-0-1/48015 "2005-11-15T23:56:34Z")

</div>

The 1.0.1 release of ruby-growl allows ruby-growl to work on Tiger’s Ruby 1.8.2. Special thanks to Aslak Hellesoy for pointing out the problem and Daniel B. for informing me that Array#pack is broken on Tiger. ruby-g…

---

## [Re: toplevel namespace justification](https://www.ruby-forum.com/t/re-toplevel-namespace-justification/102487)

<div class="topic-metadata">

**Author:** [@Stephen.L.Molitor](https://www.ruby-forum.com/u/Stephen.L.Molitor)\
**Replies:** 0\
**Last updated:** [November 15, 2005, 11:50pm UTC](https://www.ruby-forum.com/t/re-toplevel-namespace-justification/102487 "2005-11-15T23:50:33Z")

</div>

So what about the alternate possibility of “requiring into” an arbitrary namespace? Related to that, will 1.9 / 2.0 have the ability to extend or modify core classes but only within one’s own ‘namespace’ (however ‘n…

---

## [Toplevel namespace justification](https://www.ruby-forum.com/t/toplevel-namespace-justification/48001)

<div class="topic-metadata">

**Author:** [@transfire](https://www.ruby-forum.com/u/transfire)\
**Replies:** 6\
**Last updated:** [November 15, 2005, 11:44pm UTC](https://www.ruby-forum.com/t/toplevel-namespace-justification/48001 "2005-11-15T23:44:32Z")

</div>

When is using the toplevel constant namespace justified? (Other then for creating your own namespace obviously) Should it essentially NEVER be used? Or is there some cases where it is reasonable? For instance some cla…

---

## [Win32ole questions](https://www.ruby-forum.com/t/win32ole-questions/48216)

<div class="topic-metadata">

**Author:** [@itsme213](https://www.ruby-forum.com/u/itsme213)\
**Replies:** 2\
**Last updated:** [November 15, 2005, 11:35pm UTC](https://www.ruby-forum.com/t/win32ole-questions/48216 "2005-11-15T23:35:29Z")

</div>

Starting without any Powerpoint or Word tasks running: after I do: p1 = WIN32OLE.new “Powerpoint.Application” p2 = WIN32OLE.new “Powerpoint.Application” w1 = WIN32OLE.new “Word.Application” w2 = WIN32OLE.new “Word.Ap…

---

## [Nihongo Benkyo 0.3](https://www.ruby-forum.com/t/nihongo-benkyo-0-3/48014)

<div class="topic-metadata">

**Author:** [@mblondel](https://www.ruby-forum.com/u/mblondel)\
**Replies:** 0\
**Last updated:** [November 15, 2005, 11:20pm UTC](https://www.ruby-forum.com/t/nihongo-benkyo-0-3/48014 "2005-11-15T23:20:26Z")

</div>

Hi all, I’m pleased to announce that Nihongo Benkyo 0.3 has finally been released! Highlights Support for Windows, in addition to Linux. View further details about a result. Kanji dictionary. History and go back/for…

---

## [Unique Ruby position in SC - USA](https://www.ruby-forum.com/t/unique-ruby-position-in-sc-usa/48009)

<div class="topic-metadata">

**Author:** [@gil](https://www.ruby-forum.com/u/gil)\
**Replies:** 0\
**Last updated:** [November 15, 2005, 10:44pm UTC](https://www.ruby-forum.com/t/unique-ruby-position-in-sc-usa/48009 "2005-11-15T22:44:18Z")

</div>

Hello Ruby users, I read a posting that said that it would be OK to post unique Ruby positions on this group so here goes. I am working on a unique position that involves Ruby. If you have a preference for Ruby but a…

---

## [Re: toplevel namespace justification](https://www.ruby-forum.com/t/re-toplevel-namespace-justification/48008)

<div class="topic-metadata">

**Author:** [@Daniel.Berger](https://www.ruby-forum.com/u/Daniel.Berger)\
**Replies:** 1\
**Last updated:** [November 15, 2005, 10:35pm UTC](https://www.ruby-forum.com/t/re-toplevel-namespace-justification/48008 "2005-11-15T22:35:14Z")

</div>

\-----Original Message----- From: Trans \[mailto:removed\_email\_address@domain.invalid\] Sent: Tuesday, November 15, 2005 1:07 PM To: ruby-talk ML Subject: toplevel namespace justification When is using the toplevel co…

---

## [Red: The Ruby Journal, a professional periodical for Ruby de](https://www.ruby-forum.com/t/red-the-ruby-journal-a-professional-periodical-for-ruby-de/48000)

<div class="topic-metadata">

**Author:** [@jupp](https://www.ruby-forum.com/u/jupp)\
**Replies:** 0\
**Last updated:** [November 15, 2005, 9:04pm UTC](https://www.ruby-forum.com/t/red-the-ruby-journal-a-professional-periodical-for-ruby-de/48000 "2005-11-15T21:04:27Z")

</div>

Hi! Sorry about that, GMX (my mail provider) sometimes fails to communicate that the message has been sent and wanderlust (my mail user agent) then assumes that the message has not been sent and leaves it in the mail…

---

## [Gems on AIX](https://www.ruby-forum.com/t/gems-on-aix/102481)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 2\
**Last updated:** [November 15, 2005, 8:58pm UTC](https://www.ruby-forum.com/t/gems-on-aix/102481 "2005-11-15T20:58:25Z")

</div>

I’m attempting to build rubygems on AIX. It’s failing with: /afs/austin/u/mattlaw/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in require\_\_': No such file to load -- zlib (LoadError) from /afs/austin/u/ma…

---

## [Comp.lang.ruby FAQ](https://www.ruby-forum.com/t/comp-lang-ruby-faq/47987)

<div class="topic-metadata">

**Author:** [@hal9000](https://www.ruby-forum.com/u/hal9000)\
**Replies:** 0\
**Last updated:** [November 15, 2005, 7:30pm UTC](https://www.ruby-forum.com/t/comp-lang-ruby-faq/47987 "2005-11-15T19:30:48Z")

</div>

RUBY NEWSGROUP FAQ – Welcome to comp.lang.ruby! (Revised 2005-4-14) This FAQ contains information for those who want to: learn more about Ruby, and want to post to comp.lang.ruby or to the ruby-lang mail list, or wan…

---

## [Database Transactions](https://www.ruby-forum.com/t/database-transactions/48624)

<div class="topic-metadata">

**Author:** [@listrecv](https://www.ruby-forum.com/u/listrecv)\
**Replies:** 5\
**Last updated:** [November 15, 2005, 6:27pm UTC](https://www.ruby-forum.com/t/database-transactions/48624 "2005-11-15T18:27:32Z")

</div>

ActiveRecord’s standard procedure for transactions is to send a block, and throw an exception to roll it back ( http://api.rubyonrails.com/classes/ActiveRecord/Transactions/ClassMethods.html ). I found this rather un…

---

## [Ferret 0.2.1 (port of Apache Lucene to pure ruby)](https://www.ruby-forum.com/t/ferret-0-2-1-port-of-apache-lucene-to-pure-ruby/47828)

<div class="topic-metadata">

**Author:** [@dbalmain.ml](https://www.ruby-forum.com/u/dbalmain.ml)\
**Replies:** 6\
**Last updated:** [November 15, 2005, 6:24pm UTC](https://www.ruby-forum.com/t/ferret-0-2-1-port-of-apache-lucene-to-pure-ruby/47828 "2005-11-15T18:24:32Z")

</div>

Hi Folks, I’ve just released version 0.2.1. Since my last announcement there have been quit a few changes, mostly to the Index::Index interface. We also have a great new logo thanks to Jan P… You can check it all out…

---

## [Test (please ignore)](https://www.ruby-forum.com/t/test-please-ignore/50953)

<div class="topic-metadata">

**Author:** [@andreas](https://www.ruby-forum.com/u/andreas)\
**Replies:** 4\
**Last updated:** [November 15, 2005, 6:00pm UTC](https://www.ruby-forum.com/t/test-please-ignore/50953 "2005-11-15T18:00:27Z")

</div>

Testing the gateway. …

---

## [Has anyone written an extconf.rb that depends on a Mac OS Fr](https://www.ruby-forum.com/t/has-anyone-written-an-extconf-rb-that-depends-on-a-mac-os-fr/47935)

<div class="topic-metadata">

**Author:** [@duane.johnson](https://www.ruby-forum.com/u/duane.johnson)\
**Replies:** 4\
**Last updated:** [November 15, 2005, 5:00pm UTC](https://www.ruby-forum.com/t/has-anyone-written-an-extconf-rb-that-depends-on-a-mac-os-fr/47935 "2005-11-15T17:00:12Z")

</div>

I once built a game with Ruby/SDL \[1\] called Tadpoles \[2\]. (SDL is a powerful cross-platform Simple DirectMedia Library that’s ideal for making fast graphics as in 2-D games). That was back in my Linux days. When I …

---

## [Rctool-1.1.0](https://www.ruby-forum.com/t/rctool-1-1-0/102471)

<div class="topic-metadata">

**Author:** [@rubikitch](https://www.ruby-forum.com/u/rubikitch)\
**Replies:** 0\
**Last updated:** [November 15, 2005, 4:57pm UTC](https://www.ruby-forum.com/t/rctool-1-1-0/102471 "2005-11-15T16:57:11Z")

</div>

Hi, == Abstract RCtool is a small tool which makes/updates rcfiles automatically. There is a rcfile in software each. For example, it is .zshrc in zsh, .emacs in Emacs and so on. Please think about the scene which i…

---

## [Ruby/GD2 1.0](https://www.ruby-forum.com/t/ruby-gd2-1-0/95965)

<div class="topic-metadata">

**Author:** [@rob](https://www.ruby-forum.com/u/rob)\
**Replies:** 5\
**Last updated:** [November 15, 2005, 4:33pm UTC](https://www.ruby-forum.com/t/ruby-gd2-1-0/95965 "2005-11-15T16:33:05Z")

</div>

Greetings, I’ve taken some of the suggestions here and made improvements to my Ruby/GD2 library. First, the gem: ftp://ftp.mars.org/pub/ruby/gd2-1.0.gem Some of the changes: I took Matz’s feelings to heart and r…

---

## [Find.find does not find orphaned links?](https://www.ruby-forum.com/t/find-find-does-not-find-orphaned-links/47955)

<div class="topic-metadata">

**Author:** [@wybo](https://www.ruby-forum.com/u/wybo)\
**Replies:** 1\
**Last updated:** [November 15, 2005, 3:50pm UTC](https://www.ruby-forum.com/t/find-find-does-not-find-orphaned-links/47955 "2005-11-15T15:50:50Z")

</div>

Find.find does not seem to find orphaned links: Downloads\>ln -s /nonexistent Downloads\>ls -l total 0 lrwxrwxrwx 1 wybo users 12 Nov 15 14:15 nonexistent -\> /nonexistent Downloads\>irb irb(main):001:0\> require ‘find…

---

## [Module\_function question](https://www.ruby-forum.com/t/module-function-question/48159)

<div class="topic-metadata">

**Author:** [@carmineaskme](https://www.ruby-forum.com/u/carmineaskme)\
**Replies:** 3\
**Last updated:** [November 15, 2005, 3:32pm UTC](https://www.ruby-forum.com/t/module-function-question/48159 "2005-11-15T15:32:45Z")

</div>

Hi to everyone, let’s say I’ve the following astonishing module: module Mod # contained in the file “mymodule.rb” CONST = 1974 def initialize() @initialized\_value=892 end def metodo1() puts “this is metodo1” e…

---

## [Unexpected behaviour in Pathname?](https://www.ruby-forum.com/t/unexpected-behaviour-in-pathname/47960)

<div class="topic-metadata">

**Author:** [@M.B.Smillie](https://www.ruby-forum.com/u/M.B.Smillie)\
**Replies:** 6\
**Last updated:** [November 15, 2005, 3:30pm UTC](https://www.ruby-forum.com/t/unexpected-behaviour-in-pathname/47960 "2005-11-15T15:30:29Z")

</div>

I’m writing a quick script to selectively process some files, and I found a bit of odd behaviour using Pathname#each and #each\_entry, which is best illustrated, rather than explained: irb(main):001:0\> require ‘pathnam…

---

## [User's Guide](https://www.ruby-forum.com/t/users-guide/102469)

<div class="topic-metadata">

**Author:** [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Replies:** 0\
**Last updated:** [November 15, 2005, 3:20pm UTC](https://www.ruby-forum.com/t/users-guide/102469 "2005-11-15T15:20:22Z")

</div>

After a long period of neglect, the old User’s Guide has received a new coat of (CSS) “paint” and a little touching-up of content. I’m mentioning it here for the sake of those who have been mirroring it. http://www.r…

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

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