# Ruby

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

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

---

## [Ruby "Add-ons" Dictionary and Pronunciation guide please](https://www.ruby-forum.com/t/ruby-add-ons-dictionary-and-pronunciation-guide-please/115813)

<div class="topic-metadata">

**Author:** [@toadkicker](https://www.ruby-forum.com/u/toadkicker)\
**Replies:** 5\
**Last updated:** [September 28, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/ruby-add-ons-dictionary-and-pronunciation-guide-please/115813 "2007-09-28T23:11:12Z")

</div>

Rubinius, Watir, RSpec, hpricot, YARV, YAML, rubygems, rake, rinda, erb, irb, IronRuby, jruby, webistrano, attachment\_fu, rubyscript2exe, cplusruby, dike, GOD, mongrel, scrubyt, PDF::Writer, curses, rexml, fire, dcov,…

---

## [File.Open](https://www.ruby-forum.com/t/file-open/115714)

<div class="topic-metadata">

**Author:** [@lmcdougall](https://www.ruby-forum.com/u/lmcdougall)\
**Replies:** 9\
**Last updated:** [September 28, 2007, 10:44pm UTC](https://www.ruby-forum.com/t/file-open/115714 "2007-09-28T22:44:16Z")

</div>

Hi, I am new to Ruby and come form C language. Can someone pint out for me my mistake please. It seem not to find the file ever no regardless of the path. class Scan attr\_reader :filename, :alpha\_count, :digit\_count…

---

## [Ruby in Practice now in early access (MEAP/beta book/whatever you call it...)](https://www.ruby-forum.com/t/ruby-in-practice-now-in-early-access-meap-beta-book-whatever-you-call-it/115830)

<div class="topic-metadata">

**Author:** [@Jeremy\_McAnally](https://www.ruby-forum.com/u/Jeremy_McAnally)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 10:16pm UTC](https://www.ruby-forum.com/t/ruby-in-practice-now-in-early-access-meap-beta-book-whatever-you-call-it/115830 "2007-09-28T22:16:02Z")

</div>

Howdy all, My book, Ruby in Practice, went into early access this morning. You can get more information at: Ruby in Practice Ruby in Practice shows you detailed strategies and specific Ruby techniques you can use i…

---

## [\[m17n\] String#encode](https://www.ruby-forum.com/t/m17n-string-encode/113923)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 6\
**Last updated:** [September 28, 2007, 9:31pm UTC](https://www.ruby-forum.com/t/m17n-string-encode/113923 "2007-09-28T21:31:59Z")

</div>

e$B$J$+$@$G$9!#e(B String#encodee$B$r$?$a$7$K\<BAu$7$F$\_$^$7$?!#e(B e$B$J$\<$+e(B"sjis"e$B$GEPO?$5$l$F$$$k$N$Ke(B"Shift\_JIS"e$B$H=P$F$-$?$j$9$k$N$G!“e(B e$BJLL\>$rIU$1$i$l$k$h$&$K$7$Fe(Brb\_enc\_name()e$B$K$”$o$;$F$\_$^$7$?…

---

## [Sleep for lesser of two values](https://www.ruby-forum.com/t/sleep-for-lesser-of-two-values/115826)

<div class="topic-metadata">

**Author:** [@eclubb](https://www.ruby-forum.com/u/eclubb)\
**Replies:** 3\
**Last updated:** [September 28, 2007, 9:20pm UTC](https://www.ruby-forum.com/t/sleep-for-lesser-of-two-values/115826 "2007-09-28T21:20:51Z")

</div>

I have a loop that runs for a variable amount of time, as defined by @duration. I need to re-execute the command every 15 seconds for the length of @duration, which is a float and can have any value. Can anyone thin…

---

## [Can we have these two added to ERb?](https://www.ruby-forum.com/t/can-we-have-these-two-added-to-erb/115810)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 10\
**Last updated:** [September 28, 2007, 9:06pm UTC](https://www.ruby-forum.com/t/can-we-have-these-two-added-to-erb/115810 "2007-09-28T21:06:11Z")

</div>

I like Ruby tremendously… and currently having some headache with the “$” and “;” in PHP, like $i = $j; in every single line, vs Ruby’s simplicity i = j maybe the $i is so that outputting the variable is easy in pr…

---

## [Sending an email with a link](https://www.ruby-forum.com/t/sending-an-email-with-a-link/115820)

<div class="topic-metadata">

**Author:** [@outtaluck](https://www.ruby-forum.com/u/outtaluck)\
**Replies:** 2\
**Last updated:** [September 28, 2007, 8:35pm UTC](https://www.ruby-forum.com/t/sending-an-email-with-a-link/115820 "2007-09-28T20:35:50Z")

</div>

Hi all, I am trying to send an e-mail with a link in it. I can send e-mails without any problems but can not figure out how to include a link in the body. I’ve been trying to use action\_mailer in Rails but it’s a st…

---

## [A cautionary tale](https://www.ruby-forum.com/t/a-cautionary-tale/115772)

<div class="topic-metadata">

**Author:** [@sijomo](https://www.ruby-forum.com/u/sijomo)\
**Replies:** 5\
**Last updated:** [September 28, 2007, 8:32pm UTC](https://www.ruby-forum.com/t/a-cautionary-tale/115772 "2007-09-28T20:32:40Z")

</div>

Hi All, I’ve been on this list since 2005 and have always wondered why none of my (few) post have had responses. Were the questions I was asking really that misguided / boring / obvious? As I’ve got more and more fam…

---

## [Problems- eruby and apache](https://www.ruby-forum.com/t/problems-eruby-and-apache/115816)

<div class="topic-metadata">

**Author:** [@wibblecp](https://www.ruby-forum.com/u/wibblecp)\
**Replies:** 1\
**Last updated:** [September 28, 2007, 7:06pm UTC](https://www.ruby-forum.com/t/problems-eruby-and-apache/115816 "2007-09-28T19:06:15Z")

</div>

Hi everyone, I am really newbie in ruby wonderful world I am trying to use the useful eruby in my demo project Reading all around the net, I have to set some rows in my apache2.conf or http.conf file AddType applicati…

---

## [How to use getname()?](https://www.ruby-forum.com/t/how-to-use-getname/115783)

<div class="topic-metadata">

**Author:** [@kazaam](https://www.ruby-forum.com/u/kazaam)\
**Replies:** 2\
**Last updated:** [September 28, 2007, 6:30pm UTC](https://www.ruby-forum.com/t/how-to-use-getname/115783 "2007-09-28T18:30:31Z")

</div>

I seem to stupid but how can I use getname?!? My aim is getting the domain or subdomain behind an IP-address. I required socket and tried then: hostname = getname(IP) but this doesn’t work. I also can’t get wiser by …

---

## [Hoping ERb will become the server scripting language](https://www.ruby-forum.com/t/hoping-erb-will-become-the-server-scripting-language/115802)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 2\
**Last updated:** [September 28, 2007, 5:59pm UTC](https://www.ruby-forum.com/t/hoping-erb-will-become-the-server-scripting-language/115802 "2007-09-28T17:59:29Z")

</div>

i am hoping ERb will become the scripting language of choice when it comes to server-side scripting… how about LAMRP XAMRPP

---

## [Passing method name to method?](https://www.ruby-forum.com/t/passing-method-name-to-method/115804)

<div class="topic-metadata">

**Author:** [@arfon](https://www.ruby-forum.com/u/arfon)\
**Replies:** 3\
**Last updated:** [September 28, 2007, 5:38pm UTC](https://www.ruby-forum.com/t/passing-method-name-to-method/115804 "2007-09-28T17:38:44Z")

</div>

Hi, sorry if this isn’t phrased quite as it should be! I want to have a generic ‘find’ method that can check to see if an object’s attribute is true or false. Basically I want to pass the method name (param) to the li…

---

## [Advice For Ruby Beginners 1](https://www.ruby-forum.com/t/advice-for-ruby-beginners-1/115799)

<div class="topic-metadata">

**Author:** [@Victor\_SZverokS\_She](https://www.ruby-forum.com/u/Victor_SZverokS_She)\
**Replies:** 1\
**Last updated:** [September 28, 2007, 5:04pm UTC](https://www.ruby-forum.com/t/advice-for-ruby-beginners-1/115799 "2007-09-28T17:04:18Z")

</div>

ïÂÎÁÒÕÖÉÌ ÉÎÔÅÒ×ØÀ Ó ÒÕÂÉ-ÇÕÒÁÍÉ (ÍÎÏÖÅÓÔ×ÅÎÎÏÅ ÏÔ “ÇÕÒÕ”, Á ÎÅ ÁË×ÁÒÉÕÍÎÙÍÉ ÒÙÂËÁÍÉ), ×ÚÑÔÏÅ ÓÁÊÔÏÍ RubyLearning.com ðÏÌÁÇÁÀ, ÏÄÉÎ ÉÚ ÐÒÉÓÕÔÓÔ×ÕÀÝÉÈ ÚÄÅÓØ ÕÞÁÓÔÎÉËÏ× ÉÎÔÅÒ×ØÀ ÍÏÖÅÔ ÎÅÍÎÏÇÏ ÂÏÌØÛÅ ÒÁÓÓËÁÚÁÔØ Ï ÔÏÍ, …

---

## [Method origin?](https://www.ruby-forum.com/t/method-origin/115737)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 4\
**Last updated:** [September 28, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/method-origin/115737 "2007-09-28T16:50:15Z")

</div>

Guys, In a deep inheritance tree, is there an easy way to determine the origin or source (module, class) of a method? Thanks, John

---

## [RefactorMyCode.com to help you... refactor your code!](https://www.ruby-forum.com/t/refactormycode-com-to-help-you-refactor-your-code/115748)

<div class="topic-metadata">

**Author:** [@macournoyer](https://www.ruby-forum.com/u/macournoyer)\
**Replies:** 1\
**Last updated:** [September 28, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/refactormycode-com-to-help-you-refactor-your-code/115748 "2007-09-28T16:47:54Z")

</div>

Hey all, I made a site to share some code and help ppl refactor other ppls code! http://refactormycode.com/ I hope you find this useful and fun! Any feedback is greatly appreciated!

---

## [Repost: minitar - how to extract only one file from a tar archive as an object](https://www.ruby-forum.com/t/repost-minitar-how-to-extract-only-one-file-from-a-tar-archive-as-an-object/115773)

<div class="topic-metadata">

**Author:** [@sijomo](https://www.ruby-forum.com/u/sijomo)\
**Replies:** 3\
**Last updated:** [September 28, 2007, 4:45pm UTC](https://www.ruby-forum.com/t/repost-minitar-how-to-extract-only-one-file-from-a-tar-archive-as-an-object/115773 "2007-09-28T16:45:32Z")

</div>

trying again… :wink: SM ---------- Forwarded message ---------- From: Simon M. removed\_email\_address@domain.invalid Date: Sep 27, 2007 4:16 PM Subject: minitar - how to extract only one file from a tar archive as a…

---

## [Pgp encryption using Ruby](https://www.ruby-forum.com/t/pgp-encryption-using-ruby/115795)

<div class="topic-metadata">

**Author:** [@southtowestco](https://www.ruby-forum.com/u/southtowestco)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 4:45pm UTC](https://www.ruby-forum.com/t/pgp-encryption-using-ruby/115795 "2007-09-28T16:45:32Z")

</div>

Hi, Is there anyway to use a pgp ecryption software script and if so can someone point me towards an example?

---

## [Dcom components setup](https://www.ruby-forum.com/t/dcom-components-setup/115794)

<div class="topic-metadata">

**Author:** [@southtowestco](https://www.ruby-forum.com/u/southtowestco)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 4:44pm UTC](https://www.ruby-forum.com/t/dcom-components-setup/115794 "2007-09-28T16:44:20Z")

</div>

Hi, I am new to Ruby and am looking for a way to create a dcoms microsoft component using ruby is this possible?

---

## [Memory consumption on ext/dl build](https://www.ruby-forum.com/t/memory-consumption-on-ext-dl-build/115793)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 4:25pm UTC](https://www.ruby-forum.com/t/memory-consumption-on-ext-dl-build/115793 "2007-09-28T16:25:35Z")

</div>

Ruby 1.9 e$B$N%S%k%I!&%$%s%9%H!\<%k$GF0:n$9$k3F%W%m%;%9$N%a%b$je(B e$B\>CHq$rD4$Y$k$H!"e(Bext/dl e$B$K$\*$1$ke(B dl.o e$B$N%3%s%Q%$%k$,L\\N)$C$Fe(B e$BBg$-$$$3$H$,$o$+$j$^$9!#e(B e$B\<j85$N4D6-$G$Oe(B gcc e$B$,e(B 200Mbyt…

---

## [Problem in Java Integration](https://www.ruby-forum.com/t/problem-in-java-integration/115792)

<div class="topic-metadata">

**Author:** [@Tiago\_BrazSSSSo](https://www.ruby-forum.com/u/Tiago_BrazSSSSo)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 3:56pm UTC](https://www.ruby-forum.com/t/problem-in-java-integration/115792 "2007-09-28T15:56:51Z")

</div>

Hi, i found a problem in ruby-java integration. If we declare a class (see code example) inside a class, if in ruby we try to instantiate this defined class we need to pass n (number of constructores args ) + 1 ( ni…

---

## [Webistrano 1.1](https://www.ruby-forum.com/t/webistrano-1-1/115787)

<div class="topic-metadata">

**Author:** [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 3:19pm UTC](https://www.ruby-forum.com/t/webistrano-1-1/115787 "2007-09-28T15:19:21Z")

</div>

Webistrano is a Web UI for managing Capistrano deployments. It lets you manage projects and their stages like test, production, and staging with different settings. It took a little longer because we got some feedback…

---

## [Diving inside IronRuby](https://www.ruby-forum.com/t/diving-inside-ironruby/115786)

<div class="topic-metadata">

**Author:** [@bantic](https://www.ruby-forum.com/u/bantic)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 3:19pm UTC](https://www.ruby-forum.com/t/diving-inside-ironruby/115786 "2007-09-28T15:19:21Z")

</div>

Howdy all, Last night I decided to write up what happens when you execute a block of code using IronRuby. Being that I’m not on the IronRuby team, and I can only know what I see in the code, I’m betting I got stuff wr…

---

## [Break apart a string by kind of characters](https://www.ruby-forum.com/t/break-apart-a-string-by-kind-of-characters/115690)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 9\
**Last updated:** [September 28, 2007, 3:08pm UTC](https://www.ruby-forum.com/t/break-apart-a-string-by-kind-of-characters/115690 "2007-09-28T15:08:12Z")

</div>

Hi all, I’ve an interesting problem. Imagine the following string: ‘a1000aa’ I want to break it apart like so: \[ ‘a’, ‘1000’, ‘aa’ \] I did a search on the forums and came up with this regex: ‘a1000aa’.scan(/((.)\\2\*)…

---

## [Uri::ldaps](https://www.ruby-forum.com/t/uri-ldaps/115782)

<div class="topic-metadata">

**Author:** [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 2:23pm UTC](https://www.ruby-forum.com/t/uri-ldaps/115782 "2007-09-28T14:23:07Z")

</div>

e$B?\\F#$G$9!#e(B URI::LDAPe$B$,$"$k$N$Ge(BURI::HTTP/URI::HTTPSe$B$N$h$&$K!"e(BURI::LDAPSe$B$be(B e$B%5%\]!\<%H$7$F$b$i$($k$H4r$7$$$G$9!#e(B Index: lib/uri/ldaps.rb — lib/uri/ldaps.rb (e$B%j%S%8%g%se(B 0) +++ lib/uri…

---

## [Can we use ruby for web application development?](https://www.ruby-forum.com/t/can-we-use-ruby-for-web-application-development/115770)

<div class="topic-metadata">

**Author:** [@funfeast](https://www.ruby-forum.com/u/funfeast)\
**Replies:** 3\
**Last updated:** [September 28, 2007, 1:37pm UTC](https://www.ruby-forum.com/t/can-we-use-ruby-for-web-application-development/115770 "2007-09-28T13:37:26Z")

</div>

Dear all, Thanks for answering my first question about ruby tutorials. I am new to programming, ruby and web development too. People use php or .net or few other languages for web application/e-com sites. Can we use r…

---

## [Simple regexp question](https://www.ruby-forum.com/t/simple-regexp-question/115746)

<div class="topic-metadata">

**Author:** [@ak756](https://www.ruby-forum.com/u/ak756)\
**Replies:** 4\
**Last updated:** [September 28, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/simple-regexp-question/115746 "2007-09-28T13:23:58Z")

</div>

Hi I have a .txt file which contains one line data as “George”,33,“engineer, r&d department, this company”,“234-7554-344” I use name,age,memo,tel=File.open(filename).split(’,’) to collect values but get wrong value f…

---

## [Ruby 1.9 $B$G(B ruby 1.9 $B$O%3%s%Q%$%k$G$-$J$+$C$?(B](https://www.ruby-forum.com/t/ruby-1-9-b-g-b-ruby-1-9-b-o-3-s-q-k-g-j-c-b/115764)

<div class="topic-metadata">

**Author:** [@drenovac](https://www.ruby-forum.com/u/drenovac)\
**Replies:** 3\
**Last updated:** [September 28, 2007, 1:18pm UTC](https://www.ruby-forum.com/t/ruby-1-9-b-g-b-ruby-1-9-b-o-3-s-q-k-g-j-c-b/115764 "2007-09-28T13:18:42Z")

</div>

e$B3’$5$s!"$3$s$K$A$O!#e(B e$B:#D+e(B ruby-core e$B$G!"&K$J$I$rJQ?t$K;H$&$K$O:G?7$Ne(B 1.9 e$B$N%P!\<%8%g%s$,e(B e$BI,MW$H8@$o$l!"Fs=54V$V$j$Ke(B svn -up e$B$7$^$7$?!#e(B e$B$=$3$+$i%3%s%Q%$%k$7$?$i!"\<!$N$H$3$m$G0z$C$…

---

## [What is mean by thread scheduler in Ruby?](https://www.ruby-forum.com/t/what-is-mean-by-thread-scheduler-in-ruby/115757)

<div class="topic-metadata">

**Author:** [@vellingiri](https://www.ruby-forum.com/u/vellingiri)\
**Replies:** 2\
**Last updated:** [September 28, 2007, 12:57pm UTC](https://www.ruby-forum.com/t/what-is-mean-by-thread-scheduler-in-ruby/115757 "2007-09-28T12:57:02Z")

</div>

what is mean by thread scheduler in Ruby?with example? Please Any one help me? by Vellingiri

---

## [Fwd: how to do "do" blocks](https://www.ruby-forum.com/t/fwd-how-to-do-do-blocks/115777)

<div class="topic-metadata">

**Author:** [@sijomo](https://www.ruby-forum.com/u/sijomo)\
**Replies:** 0\
**Last updated:** [September 28, 2007, 12:54pm UTC](https://www.ruby-forum.com/t/fwd-how-to-do-do-blocks/115777 "2007-09-28T12:54:41Z")

</div>

I posted this earlier, but it didn’t get through… (see my other post “Ac Cautionary Tale”). hehe SM ---------- Forwarded message ---------- From: Simon M. removed\_email\_address@domain.invalid Date: Sep 28, 2007 10:…

---

## [I need some help building ruby 1.8.6 with mingw](https://www.ruby-forum.com/t/i-need-some-help-building-ruby-1-8-6-with-mingw/115718)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [September 28, 2007, 12:05pm UTC](https://www.ruby-forum.com/t/i-need-some-help-building-ruby-1-8-6-with-mingw/115718 "2007-09-28T12:05:57Z")

</div>

Hi all, I’m building the most recent ruby 1.8.6 stable snapshot (build level 5000) with mingw32. Everything’s fine, it builds without an error, but the socket extension is not built. Not even if I manually add the ri…

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

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