# Ruby

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

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

---

## [Euruko 2006](https://www.ruby-forum.com/t/euruko-2006/95636)

<div class="topic-metadata">

**Author:** [@Stephan\_KSSS\_mper](https://www.ruby-forum.com/u/Stephan_KSSS_mper)\
**Replies:** 16\
**Last updated:** [June 28, 2006, 7:51pm UTC](https://www.ruby-forum.com/t/euruko-2006/95636 "2006-06-28T19:51:50Z")

</div>

Hi, after reading about RubyConf and the two RailsConfs, I thought that it might be time to start thinking about a (the) European Ruby Conference again… Just a thought. I certainly wouldn’t mind if it happens in Muni…

---

## [RAA and web services?](https://www.ruby-forum.com/t/raa-and-web-services/96433)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 0\
**Last updated:** [June 28, 2006, 7:35pm UTC](https://www.ruby-forum.com/t/raa-and-web-services/96433 "2006-06-28T19:35:54Z")

</div>

Does the RAA have any sort of web service backend? I saw hints that it might be added at some point but nothing definite. Thanks, Dan This communication is the property of Qwest and may contain confidential or pr…

---

## [RMagick 1.12.0](https://www.ruby-forum.com/t/rmagick-1-12-0/95514)

<div class="topic-metadata">

**Author:** [@tim-hunter](https://www.ruby-forum.com/u/tim-hunter)\
**Replies:** 7\
**Last updated:** [June 28, 2006, 7:30pm UTC](https://www.ruby-forum.com/t/rmagick-1-12-0/95514 "2006-06-28T19:30:52Z")

</div>

I’ve just uploaded RMagick 1.12.0 to RubyForge. This version fixes an API incompatibility with the Image#level method that I introduced in version 1.11.0. Thanks to Al Evans for reporting it and helping me find a fix. …

---

## [KirbyBase 2.6](https://www.ruby-forum.com/t/kirbybase-2-6/96430)

<div class="topic-metadata">

**Author:** [@Jamey\_C](https://www.ruby-forum.com/u/Jamey_C)\
**Replies:** 0\
**Last updated:** [June 28, 2006, 7:30pm UTC](https://www.ruby-forum.com/t/kirbybase-2-6/96430 "2006-06-28T19:30:14Z")

</div>

I would like to announce version 2.6 of KirbyBase, a small, pure-Ruby database management system that stores its data in plain-text files. You can download the latest version from here: http://rubyforge.org/projects/k…

---

## [Re: remove all illegal chars form string](https://www.ruby-forum.com/t/re-remove-all-illegal-chars-form-string/96418)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 28, 2006, 7:21pm UTC](https://www.ruby-forum.com/t/re-remove-all-illegal-chars-form-string/96418 "2006-06-28T19:21:45Z")

</div>

For your specific example, you can do this, a=“exam@p (mailto:exam@p) Le3|Â§” a.gsub!(/\[^A-Za-z0-9\]/,‘’) p a You can also eliminate elements you specify in an Array : class Array def eliminate\_chars\_from\_this\_ar…

---

## [KirbyBase 2.6](https://www.ruby-forum.com/t/kirbybase-2-6/96414)

<div class="topic-metadata">

**Author:** [@Jamey\_C](https://www.ruby-forum.com/u/Jamey_C)\
**Replies:** 0\
**Last updated:** [June 28, 2006, 7:04pm UTC](https://www.ruby-forum.com/t/kirbybase-2-6/96414 "2006-06-28T19:04:47Z")

</div>

I would like to announce version 2.6 of KirbyBase, a small, pure-Ruby database management system that stores its data in plain-text files. You can download the latest version from here: http://rubyforge.org/projects/k…

---

## [Fwd: Please Forward: Ruby Quiz Submission](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/229084)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [June 28, 2006, 6:00pm UTC](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/229084 "2006-06-28T18:00:57Z")

</div>

Begin forwarded message:

---

## [Parse log file and fill a database](https://www.ruby-forum.com/t/parse-log-file-and-fill-a-database/96405)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 0\
**Last updated:** [June 28, 2006, 5:41pm UTC](https://www.ruby-forum.com/t/parse-log-file-and-fill-a-database/96405 "2006-06-28T17:41:53Z")

</div>

Hello. I’m starting with ruby. I have Ã log file in which I managed to introduce some tags in order to extract informations more easily. i.e. : blabla uninteresting text … \<SOURCE\_IP\_ADRESS\>123.456.789.123\</SOURC…

---

## [Ruby Weekly News 19th - 25th June 2006](https://www.ruby-forum.com/t/ruby-weekly-news-19th-25th-june-2006/96369)

<div class="topic-metadata">

**Author:** [@weliwarmer](https://www.ruby-forum.com/u/weliwarmer)\
**Replies:** 0\
**Last updated:** [June 28, 2006, 12:48pm UTC](https://www.ruby-forum.com/t/ruby-weekly-news-19th-25th-june-2006/96369 "2006-06-28T12:48:40Z")

</div>

http://www.rubyweeklynews.org/20060625.html Use the link above for a nicer version of this newsletter that’s formatted for the web, including links to threads and other sites. You can also subscribe to a newsletter-o…

---

## [Capistrano Command Wories](https://www.ruby-forum.com/t/capistrano-command-wories/96337)

<div class="topic-metadata">

**Author:** [@Luke\_Amdor](https://www.ruby-forum.com/u/Luke_Amdor)\
**Replies:** 0\
**Last updated:** [June 28, 2006, 5:35am UTC](https://www.ruby-forum.com/t/capistrano-command-wories/96337 "2006-06-28T05:35:53Z")

</div>

Hey all, I have a problem that I cannot wrap my head around. I have a capistrano task to kill my lighttpd process and restart it. Here is the subtask, stop\_lighttpd, that fails: task :stop\_lighttpd, :roles =\> :web do …

---

## [Fwd: Please forward: Ruby Quiz submission (v2.0)](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission-v2-0/96336)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [June 28, 2006, 5:20am UTC](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission-v2-0/96336 "2006-06-28T05:20:42Z")

</div>

Begin forwarded message:

---

## [Why Include and Require?](https://www.ruby-forum.com/t/why-include-and-require/96335)

<div class="topic-metadata">

**Author:** [@coolboarderguy](https://www.ruby-forum.com/u/coolboarderguy)\
**Replies:** 2\
**Last updated:** [June 28, 2006, 4:53am UTC](https://www.ruby-forum.com/t/why-include-and-require/96335 "2006-06-28T04:53:08Z")

</div>

HI All, with our volunteer teacher absent last night, our class was left to ponder things for ourselves. We were looking at a ruby equivalent for cp and came upon something that we all didn’t understand. In the belo…

---

## [Re: newbie doesn't understand why's example](https://www.ruby-forum.com/t/re-newbie-doesnt-understand-whys-example/96315)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 0\
**Last updated:** [June 28, 2006, 3:13am UTC](https://www.ruby-forum.com/t/re-newbie-doesnt-understand-whys-example/96315 "2006-06-28T03:13:05Z")

</div>

fr dave: all of you, have all been some help here…but i’m still confused and i’m not trying split hairs here but what’s in the syntax of end.join(sep) or foo=foo.join(sep) that ruby doesn’t recursively recall arraymine’…

---

## [Gems.rubyforge.org/yaml corrupt?](https://www.ruby-forum.com/t/gems-rubyforge-org-yaml-corrupt/96309)

<div class="topic-metadata">

**Author:** [@Jason\_Dusek](https://www.ruby-forum.com/u/Jason_Dusek)\
**Replies:** 3\
**Last updated:** [June 28, 2006, 3:00am UTC](https://www.ruby-forum.com/t/gems-rubyforge-org-yaml-corrupt/96309 "2006-06-28T03:00:47Z")

</div>

i sent this query to removed\_email\_address@domain.invalid, but now that i think about i probably should have sent it here. when i try to install something with gem, like this: gem install postgresql i get a ‘syntax e…

---

## [Ruby Reports 0.4.11](https://www.ruby-forum.com/t/ruby-reports-0-4-11/96311)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [June 28, 2006, 2:41am UTC](https://www.ruby-forum.com/t/ruby-reports-0-4-11/96311 "2006-06-28T02:41:28Z")

</div>

== Ruport 0.4.11 == The “Mr. Sparkle” 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, database interac…

---

## [Fileutils.rb:1245:in \`initialize': Is a directory - /home/ak](https://www.ruby-forum.com/t/fileutils-rbin-initialize-is-a-directory-home-ak/96267)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 1\
**Last updated:** [June 28, 2006, 1:49am UTC](https://www.ruby-forum.com/t/fileutils-rbin-initialize-is-a-directory-home-ak/96267 "2006-06-28T01:49:10Z")

</div>

e$B0J2\<$N$h$&$K!"e(Binstall e$B$,\<:GT$7$^$9!#e(B … ./miniruby …/…/ruby/ext/extmk.rb --dest-dir=“” --make=“make” –mflags=“” --make-flags=“” --extout=“.ext” --extension --extstatic – install cp -r --remove-destinati…

---

## [How to wrap methods of WIN32OLE objects](https://www.ruby-forum.com/t/how-to-wrap-methods-of-win32ole-objects/96262)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 4\
**Last updated:** [June 28, 2006, 12:50am UTC](https://www.ruby-forum.com/t/how-to-wrap-methods-of-win32ole-objects/96262 "2006-06-28T00:50:39Z")

</div>

I am doing screen-scraping with Explorer: WIN32OLE.new(‘InternetExplorer.Application’) When you ask explorer to send some request and the method returns it may need yet some time to complete building the DOM etc., and…

---

## [Where is HTML::XMLParser?](https://www.ruby-forum.com/t/where-is-html-xmlparser/96163)

<div class="topic-metadata">

**Author:** [@xmg-eric](https://www.ruby-forum.com/u/xmg-eric)\
**Replies:** 3\
**Last updated:** [June 28, 2006, 12:19am UTC](https://www.ruby-forum.com/t/where-is-html-xmlparser/96163 "2006-06-28T00:19:29Z")

</div>

I’ve seen it mentioned as maybe being in REXML, NET, or MECHANIZE, but have not managed to find in any of those. Most likely, I’ve missed it. Anyone know how to find it? And can anyone compare with HTree? (I like H…

---

## [URI::InvalidURIError when using curly brackets](https://www.ruby-forum.com/t/uri-invalidurierror-when-using-curly-brackets/96283)

<div class="topic-metadata">

**Author:** [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Replies:** 4\
**Last updated:** [June 28, 2006, 12:16am UTC](https://www.ruby-forum.com/t/uri-invalidurierror-when-using-curly-brackets/96283 "2006-06-28T00:16:19Z")

</div>

I’ve been experimenting using open-uri to retrieve HTML from various sites and have spent the past couple of days searching for an answer to my problem. One page I’ve been trying to access contains a GUID in the query…

---

## [Re: Ruby and Java equality usage](https://www.ruby-forum.com/t/re-ruby-and-java-equality-usage/96251)

<div class="topic-metadata">

**Author:** [@MolitorS\_Stephen\_L](https://www.ruby-forum.com/u/MolitorS_Stephen_L)\
**Replies:** 4\
**Last updated:** [June 27, 2006, 11:38pm UTC](https://www.ruby-forum.com/t/re-ruby-and-java-equality-usage/96251 "2006-06-27T23:38:17Z")

</div>

“J” == Jacob F. removed\_email\_address@domain.invalid writes: So the primary reason eql? is separate from == is that eql? needs to be sure to follow hash. So now my question is: why isn’t the default impleme…

---

## [Re: Ruby and Java equality usage](https://www.ruby-forum.com/t/re-ruby-and-java-equality-usage/96274)

<div class="topic-metadata">

**Author:** [@MolitorS\_Stephen\_L](https://www.ruby-forum.com/u/MolitorS_Stephen_L)\
**Replies:** 2\
**Last updated:** [June 27, 2006, 11:10pm UTC](https://www.ruby-forum.com/t/re-ruby-and-java-equality-usage/96274 "2006-06-27T23:10:14Z")

</div>

Jacob F. wrote: Is it true then that a.eql?(b) only if a.hash == b.hash? Yes. But not necessarily the vice versa. If a.eql?(b) is true, then a.hash == b.hash must also be true. And if a.hash != b.hash, th…

---

## [Gem update problem with mysql](https://www.ruby-forum.com/t/gem-update-problem-with-mysql/96282)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 0\
**Last updated:** [June 27, 2006, 10:22pm UTC](https://www.ruby-forum.com/t/gem-update-problem-with-mysql/96282 "2006-06-27T22:22:55Z")

</div>

Every time I run gem update, it prompts me to install mysql. Even after doing an uninstall and install again, I get the same thing every time. This is with the latest version of ruby and gems. gem update --debug Ex…

---

## [Define External Superclass in a extension](https://www.ruby-forum.com/t/define-external-superclass-in-a-extension/96270)

<div class="topic-metadata">

**Author:** [@Ceaser\_Larry](https://www.ruby-forum.com/u/Ceaser_Larry)\
**Replies:** 2\
**Last updated:** [June 27, 2006, 10:16pm UTC](https://www.ruby-forum.com/t/define-external-superclass-in-a-extension/96270 "2006-06-27T22:16:37Z")

</div>

I’m trying to learn how to create a ruby extension. I’ve read the pick axe book but I’m running into a problem understanding how to get a reference to classes defined outside the ruby.h header. My problem is how do I …

---

## [Re: Speaking of eql? (was: Ruby and Java equality usage)](https://www.ruby-forum.com/t/re-speaking-of-eql-was-ruby-and-java-equality-usage/96254)

<div class="topic-metadata">

**Author:** [@MolitorS\_Stephen\_L](https://www.ruby-forum.com/u/MolitorS_Stephen_L)\
**Replies:** 2\
**Last updated:** [June 27, 2006, 8:26pm UTC](https://www.ruby-forum.com/t/re-speaking-of-eql-was-ruby-and-java-equality-usage/96254 "2006-06-27T20:26:20Z")

</div>

“Robert D.” removed\_email\_address@domain.invalid writes: Note something that’s peripherally related to == and eql? is the method “hash”, which subclasses MUST override if they override eql? or == so that the …

---

## [European Rubyists](https://www.ruby-forum.com/t/european-rubyists/96243)

<div class="topic-metadata">

**Author:** [@austin](https://www.ruby-forum.com/u/austin)\
**Replies:** 1\
**Last updated:** [June 27, 2006, 8:03pm UTC](https://www.ruby-forum.com/t/european-rubyists/96243 "2006-06-27T20:03:52Z")

</div>

As I’ve detailed in my blog, I am going to Europe on vacation in the near future and would like the opportunity to meet up with European Rubyists. http://www.halostatue.ca/2006/06/23/rubyists-in-london-germany-amsterd…

---

## [Newbie doesn't understand why's example](https://www.ruby-forum.com/t/newbie-doesnt-understand-whys-example/96224)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 11\
**Last updated:** [June 27, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/newbie-doesnt-understand-whys-example/96224 "2006-06-27T19:15:11Z")

</div>

in why’s poignant guide to ruby… class ArrayMine \< Array Build a string from this array, formatting each entry then joining them together. def join( sep = $, format = “%s” ) collect do |item| sprintf( format, item ) …

---

## [Ruby and Java equality usage](https://www.ruby-forum.com/t/ruby-and-java-equality-usage/96106)

<div class="topic-metadata">

**Author:** [@Alexandru\_P](https://www.ruby-forum.com/u/Alexandru_P)\
**Replies:** 31\
**Last updated:** [June 27, 2006, 6:34pm UTC](https://www.ruby-forum.com/t/ruby-and-java-equality-usage/96106 "2006-06-27T18:34:54Z")

</div>

Hi! I have posted a quick (reminder like) entry about how equality is handled by Ruby and Java: However, I feel I have missed to explain correctly why eql? and == are both needed (and I’ve been reading through Ruby…

---

## [When \*a](https://www.ruby-forum.com/t/when-a/96056)

<div class="topic-metadata">

**Author:** [@Minero\_A](https://www.ruby-forum.com/u/Minero_A)\
**Replies:** 6\
**Last updated:** [June 27, 2006, 5:52pm UTC](https://www.ruby-forum.com/t/when-a/96056 "2006-06-27T17:52:51Z")

</div>

e$B@DLZ$G$9!#e(B e$B\<!$N$h$&$K!"e(Bwhen \*a e$B$,F0:n$7$J$/$J$C$F$$$^$9!#e(B ~/c/refe % cat t case “string” when \*\[/s/\] puts “OK” else puts “NG” end ~/c/refe % ruby-1.8.4 -v t ruby 1.8.4 (2005-12-24) \[x86\_64-lin…

---

## [Re: Win32 Extension Issues Wanted!](https://www.ruby-forum.com/t/re-win32-extension-issues-wanted/96230)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 1\
**Last updated:** [June 27, 2006, 4:28pm UTC](https://www.ruby-forum.com/t/re-win32-extension-issues-wanted/96230 "2006-06-27T16:28:08Z")

</div>

\-----Original Message----- From: Park H. \[mailto:removed\_email\_address@domain.invalid\] Sent: Tuesday, June 27, 2006 7:12 AM To: ruby-talk ML Subject: Re: Win32 Extension Issues Wanted! Note that Heesob had an i…

---

## [Re: newbie doesn't understand why's example](https://www.ruby-forum.com/t/re-newbie-doesnt-understand-whys-example/96233)

<div class="topic-metadata">

**Author:** [@kivle](https://www.ruby-forum.com/u/kivle)\
**Replies:** 0\
**Last updated:** [June 27, 2006, 3:57pm UTC](https://www.ruby-forum.com/t/re-newbie-doesnt-understand-whys-example/96233 "2006-06-27T15:57:50Z")

</div>

This one got me a bit also at first, but it’s like others have said. Maybe this will make it clearer: class Array Build a string from this array, formatting each entry then joining them together. def join( sep = $, fo…

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

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