# Ruby

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

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

---

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

<div class="topic-metadata">

**Author:** [@Hans\_Range](https://www.ruby-forum.com/u/Hans_Range)\
**Replies:** 0\
**Last updated:** [August 27, 2006, 4:18am UTC](https://www.ruby-forum.com/t/no-subject/66566 "2006-08-27T04:18:23Z")

</div>

unsubscribe

---

## [Ruby within Ruby](https://www.ruby-forum.com/t/ruby-within-ruby/66056)

<div class="topic-metadata">

**Author:** [@zuwiki](https://www.ruby-forum.com/u/zuwiki)\
**Replies:** 13\
**Last updated:** [August 26, 2006, 6:57pm UTC](https://www.ruby-forum.com/t/ruby-within-ruby/66056 "2006-08-26T18:57:01Z")

</div>

The following is a description of my situation. You may not need to read it, in which case, just skip to the part where it says “Enough of that,” but you probably will need to read this. I am trying to make an online …

---

## [James Edward Gray II \<james@grayproductions.net\>](https://www.ruby-forum.com/t/james-edward-gray-ii-james-grayproductions-net/66516)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 0\
**Last updated:** [August 26, 2006, 1:40pm UTC](https://www.ruby-forum.com/t/james-edward-gray-ii-james-grayproductions-net/66516 "2006-08-26T13:40:30Z")

</div>

At 1:51 AM +0900 8/26/06, James Edward G. II wrote: We look forward to your site design submission and will definitely evaluate the possibility of switching to it when it shows up. :slight\_smile: http://www.cfcl.c…

---

## [Re: ActiveRecord through Drb: problem with ids](https://www.ruby-forum.com/t/re-activerecord-through-drb-problem-with-ids/66493)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 1\
**Last updated:** [August 26, 2006, 1:40pm UTC](https://www.ruby-forum.com/t/re-activerecord-through-drb-problem-with-ids/66493 "2006-08-26T13:40:30Z")

</div>

removed\_email\_address@domain.invalid wrote: certain methods are treated specially by drb. it was a mistake for rails to override Object#id for exatly this kind of scenario - many peice of code require it. you ne…

---

## [Ruby-lang.org down?](https://www.ruby-forum.com/t/ruby-lang-org-down/66438)

<div class="topic-metadata">

**Author:** [@pool007](https://www.ruby-forum.com/u/pool007)\
**Replies:** 4\
**Last updated:** [August 26, 2006, 1:06pm UTC](https://www.ruby-forum.com/t/ruby-lang-org-down/66438 "2006-08-26T13:06:21Z")

</div>

It’s because of digg effect? Sincerely, Minkoo S.

---

## [Re: Ruby syslog extension not working](https://www.ruby-forum.com/t/re-ruby-syslog-extension-not-working/66509)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [August 26, 2006, 12:50pm UTC](https://www.ruby-forum.com/t/re-ruby-syslog-extension-not-working/66509 "2006-08-26T12:50:14Z")

</div>

error: There is no syslog on Windows. There is the EventLog, for which you can use win32-eventlog. However, it is not really designed for the general purpose logging that syslog is. It’s more or less intended t…

---

## [Creating/Installing a gem from a SVN repository?](https://www.ruby-forum.com/t/creating-installing-a-gem-from-a-svn-repository/66388)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 7\
**Last updated:** [August 26, 2006, 12:09pm UTC](https://www.ruby-forum.com/t/creating-installing-a-gem-from-a-svn-repository/66388 "2006-08-26T12:09:59Z")

</div>

Is there an easy way to create a Ruby gem, or install a Ruby gem, from an SVN repository? I’d like to get using the latest version of Markaby: http://code.whytheluckystiff.net/svn/markaby/ Thanks, Joe

---

## [.NET dll in Ruby](https://www.ruby-forum.com/t/net-dll-in-ruby/66441)

<div class="topic-metadata">

**Author:** [@pkspence](https://www.ruby-forum.com/u/pkspence)\
**Replies:** 10\
**Last updated:** [August 26, 2006, 11:51am UTC](https://www.ruby-forum.com/t/net-dll-in-ruby/66441 "2006-08-26T11:51:47Z")

</div>

I have a “COM enabled” C# .NET .dll. I need to instanciate it in some Ruby code. Has anyone done something like this? If so, how? It doesn’t seem to be as straight forward as a VB6 COM .dll.

---

## [Cerberus 0.2.2 released](https://www.ruby-forum.com/t/cerberus-0-2-2-released/66495)

<div class="topic-metadata">

**Author:** [@anatol](https://www.ruby-forum.com/u/anatol)\
**Replies:** 0\
**Last updated:** [August 26, 2006, 11:44am UTC](https://www.ruby-forum.com/t/cerberus-0-2-2-released/66495 "2006-08-26T11:44:44Z")

</div>

Hi, dear Rubyists. I am glad to announce 0.2.2 version of Cerberus (http://rubyforge.org/projects/cerberus/). You could download it from here http://rubyforge.org/frs/?group\_id=1794 or install using RubyGems (gem ins…

---

## [Code beautifiers, anyone?](https://www.ruby-forum.com/t/code-beautifiers-anyone/66270)

<div class="topic-metadata">

**Author:** [@Kyrre\_SSiso-8859-1](https://www.ruby-forum.com/u/Kyrre_SSiso-8859-1)\
**Replies:** 10\
**Last updated:** [August 26, 2006, 11:42am UTC](https://www.ruby-forum.com/t/code-beautifiers-anyone/66270 "2006-08-26T11:42:34Z")

</div>

Hello people, I’m looking for the best ways to create a line of code beautification (reformatting) scripts – one for C, one for Ruby, one for Bash and one for web development languages like XHTML, XML, CSS, PHP and Aj…

---

## [Ruby syslog extension not working](https://www.ruby-forum.com/t/ruby-syslog-extension-not-working/66469)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [August 26, 2006, 11:42am UTC](https://www.ruby-forum.com/t/ruby-syslog-extension-not-working/66469 "2006-08-26T11:42:27Z")

</div>

Should the syslog extenstion be automatically installed if you use the one-click installer? Whenever I require ‘syslog’ i get the following error: C:\\ruby\\src\\ruby-1.8.4\_2006-04-14\\ext\\syslog\>ruby test.rb c:/ruby/li…

---

## [RoR Developers (4), Orlando, FL | 50-85k | Relo OK](https://www.ruby-forum.com/t/ror-developers-4-orlando-fl-50-85k-relo-ok/66491)

<div class="topic-metadata">

**Author:** [@OSS](https://www.ruby-forum.com/u/OSS)\
**Replies:** 0\
**Last updated:** [August 26, 2006, 11:42am UTC](https://www.ruby-forum.com/t/ror-developers-4-orlando-fl-50-85k-relo-ok/66491 "2006-08-26T11:42:25Z")

</div>

RoR Developers (4), Orlando, FL | 50-85k | Relo OK My Orlando, FL “pay to blog” client is looking for 4 or more full time Ruby on Rails Developers. They offer competitive pay (50-85k), relocation assistance, 401(k) wi…

---

## [Rebuilding Ruby, keeping the libs?](https://www.ruby-forum.com/t/rebuilding-ruby-keeping-the-libs/66454)

<div class="topic-metadata">

**Author:** [@Julian\_SJulikS\_Tark](https://www.ruby-forum.com/u/Julian_SJulikS_Tark)\
**Replies:** 1\
**Last updated:** [August 26, 2006, 11:28am UTC](https://www.ruby-forum.com/t/rebuilding-ruby-keeping-the-libs/66454 "2006-08-26T11:28:17Z")

</div>

Maybe that has been asked already, but is it possible to rebuild Ruby without sweeping all of the installed gems? I have mine in /usr/local so it’s isolated from the old one. Is that even feasible to try? Or the gems/…

---

## [Hpricot Help](https://www.ruby-forum.com/t/hpricot-help/66487)

<div class="topic-metadata">

**Author:** [@Chih-Chao\_Lam](https://www.ruby-forum.com/u/Chih-Chao_Lam)\
**Replies:** 0\
**Last updated:** [August 26, 2006, 11:28am UTC](https://www.ruby-forum.com/t/hpricot-help/66487 "2006-08-26T11:28:16Z")

</div>

Hi, I’m playing around with Hpricot was am wondering if I’m using it wrongly or have I encountered a bug. Here’s an irb transcript that shows this: irb(main):001:0\> html = “\<div class=xyz’\>abc” =\> “\<div class=xyz’\>a…

---

## [Memory Leak Solved With Sync (no way)](https://www.ruby-forum.com/t/memory-leak-solved-with-sync-no-way/66457)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 0\
**Last updated:** [August 26, 2006, 10:53am UTC](https://www.ruby-forum.com/t/memory-leak-solved-with-sync-no-way/66457 "2006-08-26T10:53:49Z")

</div>

So I recently posted that there’s a memory leak in the below script: http://pastie.caboo.se/10194 With graphs and all. The general response was the following: That’s just how the OS accounts for memory (wrong since …

---

## [Making constructor private in Ruby - a la Singleton pattern](https://www.ruby-forum.com/t/making-constructor-private-in-ruby-a-la-singleton-pattern/66455)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 1\
**Last updated:** [August 25, 2006, 6:26pm UTC](https://www.ruby-forum.com/t/making-constructor-private-in-ruby-a-la-singleton-pattern/66455 "2006-08-25T18:26:39Z")

</div>

All, I’ve been doing singletons in Java for years, but I’m having trouble getting a similar scheme to work in Ruby. I want to make the create() method of an ActiveRecord object private so that it can’t be invoked by …

---

## [What's in the one step installer](https://www.ruby-forum.com/t/whats-in-the-one-step-installer/66451)

<div class="topic-metadata">

**Author:** [@Thaddeus\_L\_Olczyk](https://www.ruby-forum.com/u/Thaddeus_L_Olczyk)\
**Replies:** 1\
**Last updated:** [August 25, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/whats-in-the-one-step-installer/66451 "2006-08-25T17:59:19Z")

</div>

Can someone tell me exactly what is in the one step installer? Aside from the ruby installation of course.

---

## [Unless =~ vs. ! =~](https://www.ruby-forum.com/t/unless-vs/66446)

<div class="topic-metadata">

**Author:** [@mclow](https://www.ruby-forum.com/u/mclow)\
**Replies:** 5\
**Last updated:** [August 25, 2006, 5:27pm UTC](https://www.ruby-forum.com/t/unless-vs/66446 "2006-08-25T17:27:15Z")

</div>

Hi! Could someone please help me understanding why the next two lines of code are different? next unless line =~ /=/ next if !line =~ /=/ Thanks, Marco

---

## [Ruby 1.8.5 feature in English](https://www.ruby-forum.com/t/ruby-1-8-5-feature-in-english/65657)

<div class="topic-metadata">

**Author:** [@Masayoshi\_T](https://www.ruby-forum.com/u/Masayoshi_T)\
**Replies:** 2\
**Last updated:** [August 25, 2006, 4:55pm UTC](https://www.ruby-forum.com/t/ruby-1-8-5-feature-in-english/65657 "2006-08-25T16:55:10Z")

</div>

e$B9b66@,5A$G$9!#e(B \[ruby-dev:29299\]e$B$K$D$$$F$G$9$,!"8D?ME\*$K$Oe(BRubye$B$N5sF0$O$5$F$\*$-!“e(B e$B7Y9p$r=P$9$J$i$=$N;\]$r%”%J%&%s%9$G$-$l$P$h$$$N$G$O$J$$$+$He(B e$B;W$$$^$9!#e(B e$B$C$F!“$=$b$=$b%j%j!\<%9$N%”%J%&%s%…

---

## [Rifling Through Smalltalk's Drawers](https://www.ruby-forum.com/t/rifling-through-smalltalks-drawers/66377)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [August 25, 2006, 4:23pm UTC](https://www.ruby-forum.com/t/rifling-through-smalltalks-drawers/66377 "2006-08-25T16:23:01Z")

</div>

Dear Rubytalkers, I wrote a small bit of code called MethodShopping a little while back which as it turned out had just been done in Ruby a few days earlier! More importantly however is that both the name, MethodFinde…

---

## [Help needed with soap/wsdlDriver](https://www.ruby-forum.com/t/help-needed-with-soap-wsdldriver/66439)

<div class="topic-metadata">

**Author:** [@tbochan](https://www.ruby-forum.com/u/tbochan)\
**Replies:** 0\
**Last updated:** [August 25, 2006, 3:42pm UTC](https://www.ruby-forum.com/t/help-needed-with-soap-wsdldriver/66439 "2006-08-25T15:42:35Z")

</div>

Hi, Perhaps someone can tell me where I can get some help with the soap/wsdlDriver module ? I have posted my problem on this list before under the title SOAP/WSDL/BETFAIR (see below) but , responses have been scarce…

---

## [Writing objects to files](https://www.ruby-forum.com/t/writing-objects-to-files/66215)

<div class="topic-metadata">

**Author:** [@Radu\_S](https://www.ruby-forum.com/u/Radu_S)\
**Replies:** 10\
**Last updated:** [August 25, 2006, 3:26pm UTC](https://www.ruby-forum.com/t/writing-objects-to-files/66215 "2006-08-25T15:26:55Z")

</div>

Hi Is it possible to write a ruby object (like a hash for example) to a file, and then read it and use it accordingly ? Thanks, Radu S.

---

## [A webhosting script?](https://www.ruby-forum.com/t/a-webhosting-script/66434)

<div class="topic-metadata">

**Author:** [@Kyrre\_SSiso-8859-1](https://www.ruby-forum.com/u/Kyrre_SSiso-8859-1)\
**Replies:** 0\
**Last updated:** [August 25, 2006, 3:14pm UTC](https://www.ruby-forum.com/t/a-webhosting-script/66434 "2006-08-25T15:14:54Z")

</div>

Hello! Does anybody run a webhosting business, where they’ve written a simple Ruby script to add new users and set up their domains in BIND, virtual hosts in Apache, MySQL databases and so on all in one go? I am look…

---

## [File compare and remove lines](https://www.ruby-forum.com/t/file-compare-and-remove-lines/66041)

<div class="topic-metadata">

**Author:** [@mattclarkson](https://www.ruby-forum.com/u/mattclarkson)\
**Replies:** 19\
**Last updated:** [August 25, 2006, 2:54pm UTC](https://www.ruby-forum.com/t/file-compare-and-remove-lines/66041 "2006-08-25T14:54:52Z")

</div>

Here is my issue: I have two files - call them big.txt and small.txt. My goal is to have a list file and remove any lines in the big file that exist. Big.txt is a tab del file with the following info 11 Fred Fli…

---

## [cURL in ruby? Faster than Net::HTTP?](https://www.ruby-forum.com/t/curl-in-ruby-faster-than-net-http/66078)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 18\
**Last updated:** [August 25, 2006, 2:46pm UTC](https://www.ruby-forum.com/t/curl-in-ruby-faster-than-net-http/66078 "2006-08-25T14:46:51Z")

</div>

I’ve found a couple of packages that claim to integrate the curl library into ruby. Which one is the standard library? Also the reason I am asking is because I did some tests and came to find out that curl is quite a …

---

## [What's the Ruby Way to hide class helpers?](https://www.ruby-forum.com/t/whats-the-ruby-way-to-hide-class-helpers/66390)

<div class="topic-metadata">

**Author:** [@jay-levitt](https://www.ruby-forum.com/u/jay-levitt)\
**Replies:** 2\
**Last updated:** [August 25, 2006, 2:20pm UTC](https://www.ruby-forum.com/t/whats-the-ruby-way-to-hide-class-helpers/66390 "2006-08-25T14:20:46Z")

</div>

Start with: class C def self.class\_callme internal\_helper end def instance\_callme C.internal\_helper end def self.internal\_helper puts “I’m not needed by the outside world.” end end My first instinct was to ma…

---

## [Test/wsdl/document/echo.rb](https://www.ruby-forum.com/t/test-wsdl-document-echo-rb/65756)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 2\
**Last updated:** [August 25, 2006, 1:40pm UTC](https://www.ruby-forum.com/t/test-wsdl-document-echo-rb/65756 "2006-08-25T13:40:42Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B test-alle$B$r\<B9T$9$k$?$S$Ke(Btest/wsdl/document/echo.rbe$B$,99?7$5$le(B e$B$F!"$=$N$;$$$G%U%!%$%k$N2~9T%3!\<%I$,JQ$o$C$Fe(B(mswin32e$B$J$N$Ge(B)e$B!“e(B e$B\<!2s$Ne(Bcvs …

---

## [Why is my http call failing?](https://www.ruby-forum.com/t/why-is-my-http-call-failing/65584)

<div class="topic-metadata">

**Author:** [@Thaddeus\_L\_Olczyk](https://www.ruby-forum.com/u/Thaddeus_L_Olczyk)\
**Replies:** 13\
**Last updated:** [August 25, 2006, 1:02pm UTC](https://www.ruby-forum.com/t/why-is-my-http-call-failing/65584 "2006-08-25T13:02:38Z")

</div>

The code is simple: Net::HTTP.start(“code.whytheluckystiff.net”,80) { |http| print(http.head(‘/yaml’)) } The error I get is that an EINVAL exception was generated. Using telnet to preform the same request, everythin…

---

## [Seeking for a ruby spider robot example](https://www.ruby-forum.com/t/seeking-for-a-ruby-spider-robot-example/66169)

<div class="topic-metadata">

**Author:** [@Haofei](https://www.ruby-forum.com/u/Haofei)\
**Replies:** 3\
**Last updated:** [August 25, 2006, 12:44pm UTC](https://www.ruby-forum.com/t/seeking-for-a-ruby-spider-robot-example/66169 "2006-08-25T12:44:02Z")

</div>

Hi, i want to write a little spider to do some web search but have no idea how to start it. is there any example or something like that? thanks :slight\_smile: yuesefa

---

## [META: Ruby Talk Noise/Signal](https://www.ruby-forum.com/t/meta-ruby-talk-noise-signal/66267)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 18\
**Last updated:** [August 25, 2006, 11:54am UTC](https://www.ruby-forum.com/t/meta-ruby-talk-noise-signal/66267 "2006-08-25T11:54:30Z")

</div>

Dear Fellow Ruby T.ers, Short of creating a new list, is there means by which we can collectively reduce the noise/signal? For instance, the Freecycle mailing list and for-sale newsgroups use a prepending of a class …

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

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