# Ruby

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

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

---

## [Now what](https://www.ruby-forum.com/t/now-what/93397)

<div class="topic-metadata">

**Author:** [@shadow](https://www.ruby-forum.com/u/shadow)\
**Replies:** 5\
**Last updated:** [April 1, 2006, 6:55pm UTC](https://www.ruby-forum.com/t/now-what/93397 "2006-04-01T18:55:56Z")

</div>

I’ve gotten through the Programming Ruby book and I have good idea of how Ruby works; but I am stuck with what to do next. I mean, I know I have to learn Ruby before I get into Rails (i.e. Ruby is the engine of the c…

---

## [Questions about Tk - Newbie](https://www.ruby-forum.com/t/questions-about-tk-newbie/56540)

<div class="topic-metadata">

**Author:** [@braas](https://www.ruby-forum.com/u/braas)\
**Replies:** 6\
**Last updated:** [April 1, 2006, 6:30pm UTC](https://www.ruby-forum.com/t/questions-about-tk-newbie/56540 "2006-04-01T18:30:59Z")

</div>

Hey I’ve just started to learn my first GUI toolkit today. Tk :slight\_smile: Well, I surfed around for some tutorials for a while but I only found one that looked good. Could you link me some good tutorials? I escpec…

---

## [Question about 'how it looks at things'](https://www.ruby-forum.com/t/question-about-how-it-looks-at-things/56575)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [April 1, 2006, 3:29pm UTC](https://www.ruby-forum.com/t/question-about-how-it-looks-at-things/56575 "2006-04-01T15:29:44Z")

</div>

Hi gang, Okay, this is referring to the ‘Learn to Program’ thread a little bit. I think I need to know ‘how’ Ruby looks at a script and how it does it…at least I think that’s what I want to know. In other words, tak…

---

## [Static and Dynamic Analysis](https://www.ruby-forum.com/t/static-and-dynamic-analysis/93378)

<div class="topic-metadata">

**Author:** [@Miles\_Monroe](https://www.ruby-forum.com/u/Miles_Monroe)\
**Replies:** 3\
**Last updated:** [April 1, 2006, 3:26pm UTC](https://www.ruby-forum.com/t/static-and-dynamic-analysis/93378 "2006-04-01T15:26:43Z")

</div>

Are there any static and/or dynamic analysis tools for Ruby? FxCop for Ruby? Thanks.

---

## [Re: Learn to Program, by Chris Pine](https://www.ruby-forum.com/t/re-learn-to-program-by-chris-pine/93390)

<div class="topic-metadata">

**Author:** [@William\_SBillS\_Froe](https://www.ruby-forum.com/u/William_SBillS_Froe)\
**Replies:** 0\
**Last updated:** [April 1, 2006, 7:17am UTC](https://www.ruby-forum.com/t/re-learn-to-program-by-chris-pine/93390 "2006-04-01T07:17:00Z")

</div>

First off, thanks to Dave for providing the explanation that should have been in place of just my solution. I also recommend putting the “beer = beer - 1” at the end of the loop but that won’t immediately allow you to…

---

## [Rubynuby == so many libraries, so little time](https://www.ruby-forum.com/t/rubynuby-so-many-libraries-so-little-time/102916)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 3\
**Last updated:** [April 1, 2006, 5:55am UTC](https://www.ruby-forum.com/t/rubynuby-so-many-libraries-so-little-time/102916 "2006-04-01T05:55:04Z")

</div>

Reading this forum while trying to study the pickaxe book and teach this old dog some new tricks, I am at once awed and dazed by the huge number of library’s available to the would be ruby programmer. I was just wonde…

---

## [Rubynuby == so many libraries, so little time](https://www.ruby-forum.com/t/rubynuby-so-many-libraries-so-little-time/56562)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 0\
**Last updated:** [April 1, 2006, 4:56am UTC](https://www.ruby-forum.com/t/rubynuby-so-many-libraries-so-little-time/56562 "2006-04-01T04:56:53Z")

</div>

Reading this forum while trying to study the pickaxe book and teach this old dog some new tricks, I am at once awed and dazed by the huge number of library’s available to the would be ruby programmer. I was just wonde…

---

## [Trying to get stat, Win32API to work](https://www.ruby-forum.com/t/trying-to-get-stat-win32api-to-work/93375)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 2\
**Last updated:** [April 1, 2006, 4:27am UTC](https://www.ruby-forum.com/t/trying-to-get-stat-win32api-to-work/93375 "2006-04-01T04:27:06Z")

</div>

Hi all, Ruby 1.8.4 Windows XP I’m trying to make a pure Ruby version of File::Stat. Something seems to go wrong around the time I get rdev. I think I just need another set of eyes to see what I’m doing wrong here. …

---

## [Re: Learn to Program, by Chris Pine](https://www.ruby-forum.com/t/re-learn-to-program-by-chris-pine/93382)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 1, 2006, 4:14am UTC](https://www.ruby-forum.com/t/re-learn-to-program-by-chris-pine/93382 "2006-04-01T04:14:49Z")

</div>

Dave wrote: JB wrote: I too wish the author had put examples, say on some pages in the back or something. beer = 99 while beer \>= 0 beer = beer - 1 end OK, now we’ve got the basic structure of the program …

---

## [Question on blocks](https://www.ruby-forum.com/t/question-on-blocks/56558)

<div class="topic-metadata">

**Author:** [@reversejt](https://www.ruby-forum.com/u/reversejt)\
**Replies:** 4\
**Last updated:** [April 1, 2006, 4:05am UTC](https://www.ruby-forum.com/t/question-on-blocks/56558 "2006-04-01T04:05:47Z")

</div>

I am new to ruby from java and had a question on blocks. Can a block be applied to a writeable attribute or setter? I keep getting errors so I am assuming no but I wanted to double check in case my syntax is incorre…

---

## [Illegal Immigration, the Non-Issue of the Week?](https://www.ruby-forum.com/t/illegal-immigration-the-non-issue-of-the-week/93337)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [April 1, 2006, 2:10am UTC](https://www.ruby-forum.com/t/illegal-immigration-the-non-issue-of-the-week/93337 "2006-04-01T02:10:20Z")

</div>

The way our politicians rushed to talk about illegal immigration this week, maybe they thought it came with a free lunch. They won’t do anything about it, but it will get them some money. The Expert provides the deta…

---

## [Re: ruby syntax](https://www.ruby-forum.com/t/re-ruby-syntax/56450)

<div class="topic-metadata">

**Author:** [@vSnainar](https://www.ruby-forum.com/u/vSnainar)\
**Replies:** 1\
**Last updated:** [April 1, 2006, 1:49am UTC](https://www.ruby-forum.com/t/re-ruby-syntax/56450 "2006-04-01T01:49:13Z")

</div>

Hi! I wanted to write this : infile = File.new("foo") infile.each do .... but typed in infile.read do ... ---- and it ran with no results - and no error messages . After a f…

---

## [Commonly used email library](https://www.ruby-forum.com/t/commonly-used-email-library/56537)

<div class="topic-metadata">

**Author:** [@sin\_kanti](https://www.ruby-forum.com/u/sin_kanti)\
**Replies:** 6\
**Last updated:** [April 1, 2006, 1:24am UTC](https://www.ruby-forum.com/t/commonly-used-email-library/56537 "2006-04-01T01:24:59Z")

</div>

Hi all, I search RAA for email library and found many email libraries out there. I don’t know that which one that i should start with. My need is just to send email to a group which their email address kept in a flat…

---

## [Integration using ruby](https://www.ruby-forum.com/t/integration-using-ruby/56334)

<div class="topic-metadata">

**Author:** [@jeetendra](https://www.ruby-forum.com/u/jeetendra)\
**Replies:** 4\
**Last updated:** [April 1, 2006, 12:54am UTC](https://www.ruby-forum.com/t/integration-using-ruby/56334 "2006-04-01T00:54:32Z")

</div>

Hi, I need to find out how I could use Ruby to integrate existing applications so that I could for example … automate certain procedures. I am relatively new to the language. As a part of exploring new technologies m…

---

## [Static and Dynamic Analysis](https://www.ruby-forum.com/t/static-and-dynamic-analysis/56546)

<div class="topic-metadata">

**Author:** [@Miles\_Monroe](https://www.ruby-forum.com/u/Miles_Monroe)\
**Replies:** 0\
**Last updated:** [April 1, 2006, 12:39am UTC](https://www.ruby-forum.com/t/static-and-dynamic-analysis/56546 "2006-04-01T00:39:09Z")

</div>

Are there any static and/or dynamic analysis tools for Ruby? FxCop for Ruby? Thanks.

---

## [Horizontal lines not working](https://www.ruby-forum.com/t/horizontal-lines-not-working/79932)

<div class="topic-metadata">

**Author:** [@Joel\_VanderWerf](https://www.ruby-forum.com/u/Joel_VanderWerf)\
**Replies:** 1\
**Last updated:** [April 1, 2006, 12:20am UTC](https://www.ruby-forum.com/t/horizontal-lines-not-working/79932 "2006-04-01T00:20:59Z")

</div>

RDoc’s horizontal line feature seems to have broken recently (maybe since 1.8.4?. $ cat README = Title Should get a horizontal line after this paragraph. This text is not shown! $ rdoc README …

---

## [Best tools for compiling Ruby (Windows)?](https://www.ruby-forum.com/t/best-tools-for-compiling-ruby-windows/76425)

<div class="topic-metadata">

**Author:** [@Glenn\_S](https://www.ruby-forum.com/u/Glenn_S)\
**Replies:** 21\
**Last updated:** [April 1, 2006, 12:20am UTC](https://www.ruby-forum.com/t/best-tools-for-compiling-ruby-windows/76425 "2006-04-01T00:20:59Z")

</div>

Hi I’d like to figure out how I can download and compile the latest version of Ruby on Windows. I know I can get Curt’s one-click installer, but I’d quite like the ability to compile it for myself. Question is, wh…

---

## [Sockets and threads](https://www.ruby-forum.com/t/sockets-and-threads/56464)

<div class="topic-metadata">

**Author:** [@Dominik\_Werder](https://www.ruby-forum.com/u/Dominik_Werder)\
**Replies:** 2\
**Last updated:** [March 31, 2006, 11:40pm UTC](https://www.ruby-forum.com/t/sockets-and-threads/56464 "2006-03-31T23:40:57Z")

</div>

Hello, I observed that even if every thread in a program creates it’s own Socket, but all to the same Server, then this is not thread-safe. It is the same situation as if every thread shared the same Socket without a…

---

## [Can activesupport gem be used in "standalone" fashion?](https://www.ruby-forum.com/t/can-activesupport-gem-be-used-in-standalone-fashion/56528)

<div class="topic-metadata">

**Author:** [@john\_peter](https://www.ruby-forum.com/u/john_peter)\
**Replies:** 4\
**Last updated:** [March 31, 2006, 11:04pm UTC](https://www.ruby-forum.com/t/can-activesupport-gem-be-used-in-standalone-fashion/56528 "2006-03-31T23:04:20Z")

</div>

i’m using ruby 1.8.2, rubygem 0.8.10, rails 1.0.0 where activesupport version = 1.2.5 when i try to run this in RADRail, i get a NoMethodError: require ‘rubygems’ require\_gem “activesupport” print Time.now + 2.days …

---

## [Know can I know how much object has been created?](https://www.ruby-forum.com/t/know-can-i-know-how-much-object-has-been-created/93371)

<div class="topic-metadata">

**Author:** [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Replies:** 2\
**Last updated:** [March 31, 2006, 10:15pm UTC](https://www.ruby-forum.com/t/know-can-i-know-how-much-object-has-been-created/93371 "2006-03-31T22:15:23Z")

</div>

Hi, We have an application which is very time and ressource consuming, so we would like to know how to monitoring the number of object created and the size of memory used by ruby? is there any API that we can use or …

---

## [Ri for stdlib](https://www.ruby-forum.com/t/ri-for-stdlib/93349)

<div class="topic-metadata">

**Author:** [@pool007](https://www.ruby-forum.com/u/pool007)\
**Replies:** 5\
**Last updated:** [March 31, 2006, 9:29pm UTC](https://www.ruby-forum.com/t/ri-for-stdlib/93349 "2006-03-31T21:29:37Z")

</div>

Hi group. I installed stable release of ruby ‘ruby 1.8.4 (2006-03-29) \[i686-linux\]’ in my linux box. But, when I try to run ri on stdlib, say Socket, it says ‘Nothing known about Socket.’ Running ‘ri Resolv’ resulted…

---

## [Re: know can I know how much object has been created?](https://www.ruby-forum.com/t/re-know-can-i-know-how-much-object-has-been-created/93372)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [March 31, 2006, 9:17pm UTC](https://www.ruby-forum.com/t/re-know-can-i-know-how-much-object-has-been-created/93372 "2006-03-31T21:17:22Z")

</div>

consuming, so we would like to know how to monitoring the number of object created and the size of memory used by ruby? is there any API that we can use or where can I find the documentation about this??? Perhaps s…

---

## [Re: TrueClass/FalseClass vs. Boolean](https://www.ruby-forum.com/t/re-trueclass-falseclass-vs-boolean/93370)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [March 31, 2006, 9:14pm UTC](https://www.ruby-forum.com/t/re-trueclass-falseclass-vs-boolean/93370 "2006-03-31T21:14:19Z")

</div>

Wouldn’t maybe or true be true? Maybe. :stuck\_out\_tongue: Dan

---

## [Compiling QtRuby](https://www.ruby-forum.com/t/compiling-qtruby/89958)

<div class="topic-metadata">

**Author:** [@hector](https://www.ruby-forum.com/u/hector)\
**Replies:** 1\
**Last updated:** [March 31, 2006, 9:01pm UTC](https://www.ruby-forum.com/t/compiling-qtruby/89958 "2006-03-31T21:01:56Z")

</div>

I’ve been trying to compile Qt Ruby without success. I’ve got Qt 4.1.1 installed and it tested fine. I was able to run the demos without a problem. When I try to compile qt4-qtruby-1.4.3 I get this: -c -o qtrubyin…

---

## [Pandora 0.4.2 Release](https://www.ruby-forum.com/t/pandora-0-4-2-release/56519)

<div class="topic-metadata">

**Author:** [@Julian\_ISKamil](https://www.ruby-forum.com/u/Julian_ISKamil)\
**Replies:** 0\
**Last updated:** [March 31, 2006, 8:56pm UTC](https://www.ruby-forum.com/t/pandora-0-4-2-release/56519 "2006-03-31T20:56:00Z")

</div>

I am pleased to announce that Pandora 0.4.2 is now available to the general public. Since the last beta release, the code has been updated to include new features that allow a Pandora Administrator to export a book in…

---

## [Unpack signed short in network (big-endian) byte order](https://www.ruby-forum.com/t/unpack-signed-short-in-network-big-endian-byte-order/90069)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 9\
**Last updated:** [March 31, 2006, 8:49pm UTC](https://www.ruby-forum.com/t/unpack-signed-short-in-network-big-endian-byte-order/90069 "2006-03-31T20:49:49Z")

</div>

Is there any particular reason why there is no format specifier in the String.unpack method for unpacking a signed short in network byte order? There seems only to be one for unsigned, which can then be converted to s…

---

## [Setting the Return-Path in TMail?](https://www.ruby-forum.com/t/setting-the-return-path-in-tmail/56514)

<div class="topic-metadata">

**Author:** [@sbraford](https://www.ruby-forum.com/u/sbraford)\
**Replies:** 0\
**Last updated:** [March 31, 2006, 8:34pm UTC](https://www.ruby-forum.com/t/setting-the-return-path-in-tmail/56514 "2006-03-31T20:34:01Z")

</div>

Hello, I was wondering if it’s possible to set the return-path in TMail? I didn’t see any way on here on how to do that: http://www.railsmanual.org/class/TMail::Mail Here’s a theoretical scenario: You offer a host…

---

## [Upgrade to 1.8.4](https://www.ruby-forum.com/t/upgrade-to-1-8-4/93365)

<div class="topic-metadata">

**Author:** [@stuartbrand](https://www.ruby-forum.com/u/stuartbrand)\
**Replies:** 1\
**Last updated:** [March 31, 2006, 8:16pm UTC](https://www.ruby-forum.com/t/upgrade-to-1-8-4/93365 "2006-03-31T20:16:08Z")

</div>

I’m running Ubuntu 5.10 and currently have ruby 1.8.2 installed. I would like to upgrade to 1.8.4 but there doesn’t seem to be an available deb package for 1.8.4. Can someone give me some pointers on upgrading using t…

---

## [Digital signing of Ruby scripts](https://www.ruby-forum.com/t/digital-signing-of-ruby-scripts/56309)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 10\
**Last updated:** [March 31, 2006, 7:45pm UTC](https://www.ruby-forum.com/t/digital-signing-of-ruby-scripts/56309 "2006-03-31T19:45:11Z")

</div>

A primary scenario for my RubyCLR bridge is to enable folks to build rich client applications on top of the .NET libraries. One potential blocking issue is dealing with users tampering with .rb scripts on the client. …

---

## [How to interator over two arrays?](https://www.ruby-forum.com/t/how-to-interator-over-two-arrays/56218)

<div class="topic-metadata">

**Author:** [@brez](https://www.ruby-forum.com/u/brez)\
**Replies:** 9\
**Last updated:** [March 31, 2006, 7:41pm UTC](https://www.ruby-forum.com/t/how-to-interator-over-two-arrays/56218 "2006-03-31T19:41:48Z")

</div>

Let me start by saying I really like Ruby iterators - anyhow I’ve been taking every opportunity to use the single line syntax like: StopWord.find(:all).each{ |x| @stop\_words \<\< x.stopword } yea! But I came across one…

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

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