# Ruby

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

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

---

## [Publishing to rubyforge - is there a command line tool that](https://www.ruby-forum.com/t/publishing-to-rubyforge-is-there-a-command-line-tool-that/58138)

<div class="topic-metadata">

**Author:** [@jbell38](https://www.ruby-forum.com/u/jbell38)\
**Replies:** 4\
**Last updated:** [April 19, 2006, 4:10pm UTC](https://www.ruby-forum.com/t/publishing-to-rubyforge-is-there-a-command-line-tool-that/58138 "2006-04-19T16:10:10Z")

</div>

I was trying to use the rake contrib task for publishing to Rubyforge, but it seems to use a command line component to do the work (which I don’t seem to have :slight\_smile: I believe this was contributed by Florian …

---

## [Sponsoring the Sponsors of the Summer of Code](https://www.ruby-forum.com/t/sponsoring-the-sponsors-of-the-summer-of-code/58070)

<div class="topic-metadata">

**Author:** [@agorilla](https://www.ruby-forum.com/u/agorilla)\
**Replies:** 3\
**Last updated:** [April 19, 2006, 3:48pm UTC](https://www.ruby-forum.com/t/sponsoring-the-sponsors-of-the-summer-of-code/58070 "2006-04-19T15:48:30Z")

</div>

I know that the folks at Ruby Central (David Black, Chad F., Rich Kilmer, et al) had a big impact on Ruby being added to Google’s ‘Summer of Code’. They tried last year, but they made it happen this year. Based on t…

---

## [Is anyone doing serious dev using the one-click Ruby?](https://www.ruby-forum.com/t/is-anyone-doing-serious-dev-using-the-one-click-ruby/58119)

<div class="topic-metadata">

**Author:** [@davidjrice](https://www.ruby-forum.com/u/davidjrice)\
**Replies:** 7\
**Last updated:** [April 19, 2006, 3:35pm UTC](https://www.ruby-forum.com/t/is-anyone-doing-serious-dev-using-the-one-click-ruby/58119 "2006-04-19T15:35:58Z")

</div>

I’m getting started with Rails on Windows and really like the convenience of the one-click Ruby installer but the stable releases are too few and far between – only about once a year it seems – which means you get stu…

---

## [String#clear](https://www.ruby-forum.com/t/string-clear/94040)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 6\
**Last updated:** [April 19, 2006, 9:42am UTC](https://www.ruby-forum.com/t/string-clear/94040 "2006-04-19T09:42:10Z")

</div>

Today I was using an Array and a String to track some info in my unit tests. I needed to clear them in the #teardown routine. My first thought was: \[@some\_arr, @some\_str\].each { |var| var.clear } I was surprised wh…

---

## [Runtime Revolution](https://www.ruby-forum.com/t/runtime-revolution/58168)

<div class="topic-metadata">

**Author:** [@russ](https://www.ruby-forum.com/u/russ)\
**Replies:** 0\
**Last updated:** [April 19, 2006, 8:18am UTC](https://www.ruby-forum.com/t/runtime-revolution/58168 "2006-04-19T08:18:45Z")

</div>

Has anyone tried using Ruby with Runtime’s Revolution– http://www.runrev.com --? Or maybe built a conversion library so that you can drive Revolution objects with Ruby? It seems like that would be a sweeeet combina…

---

## [Apt-cgi-1.0](https://www.ruby-forum.com/t/apt-cgi-1-0/94053)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [April 19, 2006, 7:05am UTC](https://www.ruby-forum.com/t/apt-cgi-1-0/94053 "2006-04-19T07:05:00Z")

</div>

Hi, == Abstract w3m local CGI of APT. Package names are hyperlinked, so you can navigate freely. ((\<apt-sary|URL:http://www.rubyist.net/~rubikitch/computer/apt-sary/\>)) makes it much faster. === Examples w3m apt:g…

---

## [TRUGhat 2006:1](https://www.ruby-forum.com/t/trughat-2006-1/94048)

<div class="topic-metadata">

**Author:** [@austin](https://www.ruby-forum.com/u/austin)\
**Replies:** 0\
**Last updated:** [April 19, 2006, 4:59am UTC](https://www.ruby-forum.com/t/trughat-2006-1/94048 "2006-04-19T04:59:43Z")

</div>

The Toronto Ruby U.'s Group (TRUG) is pleased to announce TRUGhat 2006:1. TRUGhat: \[T\]oronto \[R\]uby \[U\]ser's \[G\]roup \[ha\]cka\[t\]hon TRUGhat is TRUG’s hackathon\[1\] or codefest. In a hackathon, a group of people get tog…

---

## [Open4-0.3.0](https://www.ruby-forum.com/t/open4-0-3-0/94047)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [April 19, 2006, 4:53am UTC](https://www.ruby-forum.com/t/open4-0-3-0/94047 "2006-04-19T04:53:34Z")

</div>

URIS http://rubyforge.org/frs/?group\_id=1024 http://www.codeforpeople.com/lib/ruby/ SYNOPSIS open child process with handles on pid, stdin, stdout, and stderr HISTORY 0.3.0 : - bug fix from jordan breeding. gener…

---

## [Non-interactive gem install impossible?](https://www.ruby-forum.com/t/non-interactive-gem-install-impossible/93961)

<div class="topic-metadata">

**Author:** [@sgware](https://www.ruby-forum.com/u/sgware)\
**Replies:** 9\
**Last updated:** [April 19, 2006, 2:50am UTC](https://www.ruby-forum.com/t/non-interactive-gem-install-impossible/93961 "2006-04-19T02:50:57Z")

</div>

As you know, “gem install mongrel -y” presents this: Select which gem to install for your platform (i686-linux) mongrel 0.3.12.4 (ruby) mongrel 0.3.12.4 (mswin32) mongrel 0.3.12.3 (mswin32) mongrel 0.3.12.3 (ruby) … …

---

## [RI documentation for RubyGems](https://www.ruby-forum.com/t/ri-documentation-for-rubygems/94038)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 6\
**Last updated:** [April 19, 2006, 2:21am UTC](https://www.ruby-forum.com/t/ri-documentation-for-rubygems/94038 "2006-04-19T02:21:46Z")

</div>

Can anyone explain how the RI documentation for RubyGems may be: generated subsequently accessed via RI? Any info. is appreciated - my research tells me that this is/may be working but it’s unclear. Sounds lik…

---

## [Librend 0.5](https://www.ruby-forum.com/t/librend-0-5/94043)

<div class="topic-metadata">

**Author:** [@Ilmari\_H](https://www.ruby-forum.com/u/Ilmari_H)\
**Replies:** 0\
**Last updated:** [April 18, 2006, 11:53pm UTC](https://www.ruby-forum.com/t/librend-0-5/94043 "2006-04-18T23:53:14Z")

</div>

Librend is a real-time graphics library for Ruby. It provides a scenegraph canvas for drawing 3D, 2D and vector graphics with an event-driven API. Wiki: http://librend.rubyforge.org/ Project page: http://rubyforge.or…

---

## [\[ANN} Komodo 3.5.1 -- a professional Ruby IDE](https://www.ruby-forum.com/t/ann-komodo-3-5-1-a-professional-ruby-ide/49253)

<div class="topic-metadata">

**Author:** [@curt.hibbs](https://www.ruby-forum.com/u/curt.hibbs)\
**Replies:** 72\
**Last updated:** [April 18, 2006, 11:25pm UTC](https://www.ruby-forum.com/t/ann-komodo-3-5-1-a-professional-ruby-ide/49253 "2006-04-18T23:25:45Z")

</div>

Yesterday, ActiveState released Komodo 3.5.1http://www.activestate.com/Products/Komodo/, an IDE for dynamic languages. This version fully supports Ruby on all platforms (the previous version was not available on Windo…

---

## [Google Summer of Code update](https://www.ruby-forum.com/t/google-summer-of-code-update/94021)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 12\
**Last updated:** [April 18, 2006, 10:51pm UTC](https://www.ruby-forum.com/t/google-summer-of-code-update/94021 "2006-04-18T22:51:43Z")

</div>

Hi – I’ve just (20 minutes ago) returned from Canada on Rails (plus a couple of days of just Canada), and happy to see a Summer of Code buzz. In the next day or two I’m going to set up a roadmap for Ruby Central’s S…

---

## [OT: Drifting off topic to debugger utility](https://www.ruby-forum.com/t/ot-drifting-off-topic-to-debugger-utility/58145)

<div class="topic-metadata">

**Author:** [@patrickharlan](https://www.ruby-forum.com/u/patrickharlan)\
**Replies:** 0\
**Last updated:** [April 18, 2006, 10:42pm UTC](https://www.ruby-forum.com/t/ot-drifting-off-topic-to-debugger-utility/58145 "2006-04-18T22:42:26Z")

</div>

On 4/18/06, M. Edward (Ed) Borasky removed\_email\_address@domain.invalid wrote: James M. wrote: http://linuxcapacityplanning.com I will vote in on the rarely use a debugger camp. The single exception (and this is…

---

## [Re: ruby-ldap on Windows (built)](https://www.ruby-forum.com/t/re-ruby-ldap-on-windows-built/94039)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [April 18, 2006, 9:40pm UTC](https://www.ruby-forum.com/t/re-ruby-ldap-on-windows-built/94039 "2006-04-18T21:40:24Z")

</div>

From: removed\_email\_address@domain.invalid The biggest problem is that the win directory creates the wldap32.lib file - however, I discovered that this .lib is a known bad library, and so I dropped in the one …

---

## [Re: ruby-ldap on Windows (built)](https://www.ruby-forum.com/t/re-ruby-ldap-on-windows-built/58125)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 1\
**Last updated:** [April 18, 2006, 9:15pm UTC](https://www.ruby-forum.com/t/re-ruby-ldap-on-windows-built/58125 "2006-04-18T21:15:43Z")

</div>

\-----Original Message----- From: removed\_email\_address@domain.invalid \[mailto:removed\_email\_address@domain.invalid\] On Behalf Of Chris S. Sent: Tuesday, April 18, 2006 10:28 AM To: ruby-talk ML Subject: ruby-ldap o…

---

## [Ruby Central's Google Summer of Code page](https://www.ruby-forum.com/t/ruby-centrals-google-summer-of-code-page/94033)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [April 18, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/ruby-centrals-google-summer-of-code-page/94033 "2006-04-18T19:57:37Z")

</div>

Hi – We’ve now got a Summer of Code page up and running. I’ve pretty much just slapped the ideas from this list onto the page in “raw” form. Let me know if you have more ideas! Also, let me know if you spot anythin…

---

## [Visual web scraping with Ruby](https://www.ruby-forum.com/t/visual-web-scraping-with-ruby/58126)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 1\
**Last updated:** [April 18, 2006, 7:11pm UTC](https://www.ruby-forum.com/t/visual-web-scraping-with-ruby/58126 "2006-04-18T19:11:39Z")

</div>

Hello all, Does anybody have an idea about this stuff? Wikipedia site: Look at the end: “The Ruby On Rails platform makes it possible to perform web scraping visually. The built in AJAX engine can partially refres…

---

## [Re: IO not closed by GC](https://www.ruby-forum.com/t/re-io-not-closed-by-gc/58013)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 3\
**Last updated:** [April 18, 2006, 7:05pm UTC](https://www.ruby-forum.com/t/re-io-not-closed-by-gc/58013 "2006-04-18T19:05:29Z")

</div>

But you do not even know when GC will be run, so in your case it might not even have kicked in. On the other hand, IO.popen has a nice block form that gurantees that an underlying IO object will be closed properly. Yo…

---

## [Re: IO not closed by GC](https://www.ruby-forum.com/t/re-io-not-closed-by-gc/94004)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 2\
**Last updated:** [April 18, 2006, 6:59pm UTC](https://www.ruby-forum.com/t/re-io-not-closed-by-gc/94004 "2006-04-18T18:59:20Z")

</div>

Hi, Giles I must relunctantly admit that I did not get your question. Are you asking about GC in general or how GC.start operates in particular? Assuming the latter, here’s my rather naïve take on it. Garbage collect…

---

## [Anybody working on GEDCOM data?](https://www.ruby-forum.com/t/anybody-working-on-gedcom-data/58087)

<div class="topic-metadata">

**Author:** [@wybodekker](https://www.ruby-forum.com/u/wybodekker)\
**Replies:** 4\
**Last updated:** [April 18, 2006, 5:48pm UTC](https://www.ruby-forum.com/t/anybody-working-on-gedcom-data/58087 "2006-04-18T17:48:43Z")

</div>

Is anybody working on GEDCOM-formatted genealogy data? (thinking of making a GEDCOM editor)

---

## ["Ruby for Rails" now available in PDF!](https://www.ruby-forum.com/t/ruby-for-rails-now-available-in-pdf/57893)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 21\
**Last updated:** [April 18, 2006, 5:17pm UTC](https://www.ruby-forum.com/t/ruby-for-rails-now-available-in-pdf/57893 "2006-04-18T17:17:24Z")

</div>

Hi everyone – Writing from Canada (just finished attending Canada on Rails, which was a big success), to let you know that my book “Ruby for Rails: Ruby techniques for Rails developers” has now been released in PDF by …

---

## [Setting Up Ruby/Postgresql on Linux](https://www.ruby-forum.com/t/setting-up-ruby-postgresql-on-linux/58066)

<div class="topic-metadata">

**Author:** [@coolboarderguy](https://www.ruby-forum.com/u/coolboarderguy)\
**Replies:** 2\
**Last updated:** [April 18, 2006, 5:01pm UTC](https://www.ruby-forum.com/t/setting-up-ruby-postgresql-on-linux/58066 "2006-04-18T17:01:15Z")

</div>

Hi All, I’m wondering if this is the right place or not, so please be gentle. I am involved in a small project, non-programmer, and am required to set up ruby/postgresql on my Linux box, CentOS 3-4. I’ve installed the…

---

## [Mentors for Google Summer of Code: how to apply](https://www.ruby-forum.com/t/mentors-for-google-summer-of-code-how-to-apply/94032)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [April 18, 2006, 4:08pm UTC](https://www.ruby-forum.com/t/mentors-for-google-summer-of-code-how-to-apply/94032 "2006-04-18T16:08:58Z")

</div>

Hi – I’ve tracked down the info about applying to be a mentor. There’s a URL you have to go to, which Google is keeping off their website to try to avoid spam applications. I’m emailing this URL to the people who ha…

---

## [Re: RSA Encryption Decryption](https://www.ruby-forum.com/t/re-rsa-encryption-decryption/58104)

<div class="topic-metadata">

**Author:** [@Shannon\_F](https://www.ruby-forum.com/u/Shannon_F)\
**Replies:** 0\
**Last updated:** [April 18, 2006, 3:56pm UTC](https://www.ruby-forum.com/t/re-rsa-encryption-decryption/58104 "2006-04-18T15:56:40Z")

</div>

Try mine :slight\_smile: You may use OpenSSL to generate key and use this program to do rsa. It’s speed is quite ok for 2048 bit encryption. Shannon

---

## [Split words with two columns](https://www.ruby-forum.com/t/split-words-with-two-columns/58098)

<div class="topic-metadata">

**Author:** [@dani](https://www.ruby-forum.com/u/dani)\
**Replies:** 2\
**Last updated:** [April 18, 2006, 2:54pm UTC](https://www.ruby-forum.com/t/split-words-with-two-columns/58098 "2006-04-18T14:54:29Z")

</div>

Hi everyone, I need a little support. I have this script: outfile = ARGV.shift lines = ARGF.readlines marked\_up\_lines = lines.map do |line| words = line.split ‘’ + words\[1\] + ‘’ + “\\n” end File.open(outfile,‘w’) d…

---

## [Net::Smtp error](https://www.ruby-forum.com/t/net-smtp-error/58099)

<div class="topic-metadata">

**Author:** [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Replies:** 0\
**Last updated:** [April 18, 2006, 2:17pm UTC](https://www.ruby-forum.com/t/net-smtp-error/58099 "2006-04-18T14:17:04Z")

</div>

I’m using: ruby 1.8.4 (2005-12-24) \[i386-freebsd5\] I’m getting an error that I don’t understand when using Net::Smtp. This code works for most messages I’ve tried: Net::SMTP.start(@smtp\_server, @smtp\_port, @helo\_dom…

---

## [1.instance\_eval "C, D = \*\[1,2\]" $B$G(Bsegv](https://www.ruby-forum.com/t/1-instance-eval-c-d-1-2-b-g-bsegv/58095)

<div class="topic-metadata">

**Author:** [@akira\_yamada\_S\_SSB](https://www.ruby-forum.com/u/akira_yamada_S_SSB)\
**Replies:** 0\
**Last updated:** [April 18, 2006, 1:30pm UTC](https://www.ruby-forum.com/t/1-instance-eval-c-d-1-2-b-g-bsegv/58095 "2006-04-18T13:30:28Z")

</div>

\[ruby-dev:28178\]e$B$Ne(Bautoloade$B$8$c$J$$$\[$&$N:F8=%3!\<%Ie(B ko1@atdot:~/tmp/ruby\_head/build$ ./ruby19 -e ’ 1.instance\_eval %{ C, D = \*\[1,2\] } ’ (eval):2: \[BUG\] Segmentation fault ruby 1.9.0 (2005-12-29) \[i686-…

---

## [How i can get value in string with pattern](https://www.ruby-forum.com/t/how-i-can-get-value-in-string-with-pattern/58086)

<div class="topic-metadata">

**Author:** [@Jakov](https://www.ruby-forum.com/u/Jakov)\
**Replies:** 3\
**Last updated:** [April 18, 2006, 12:17pm UTC](https://www.ruby-forum.com/t/how-i-can-get-value-in-string-with-pattern/58086 "2006-04-18T12:17:10Z")

</div>

how i can get value in string with pattern or regular experssion I have this string: “Who is this (//mystring//)”.gsub(?, “”) How i can get ‘mystring’ if it’s conclude in mystring.

---

## [RSA Encryption Decryption](https://www.ruby-forum.com/t/rsa-encryption-decryption/58083)

<div class="topic-metadata">

**Author:** [@name\_pipe](https://www.ruby-forum.com/u/name_pipe)\
**Replies:** 2\
**Last updated:** [April 18, 2006, 11:36am UTC](https://www.ruby-forum.com/t/rsa-encryption-decryption/58083 "2006-04-18T11:36:10Z")

</div>

Hi, I would like to know how can we do encryption and decryption using public and private keys in ruby. Does ruby any RSA libraries for the same. A small example would be quite helpful. Thanks

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

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