# Ruby

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

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

---

## [Less than one week left for July Ruby Project Spotlight subm](https://www.ruby-forum.com/t/less-than-one-week-left-for-july-ruby-project-spotlight-subm/110246)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 4:36pm UTC](https://www.ruby-forum.com/t/less-than-one-week-left-for-july-ruby-project-spotlight-subm/110246 "2007-07-24T16:36:46Z")

</div>

Just a reminder for those considering submitting a project for the O’Reilly Ruby Blog “Ruby Project Spotlight” series, you have until Sunday to email me your code samples. There are details here: I plan to keep the …

---

## [Segmentation fault?!](https://www.ruby-forum.com/t/segmentation-fault/110242)

<div class="topic-metadata">

**Author:** [@lasastard](https://www.ruby-forum.com/u/lasastard)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 4:19pm UTC](https://www.ruby-forum.com/t/segmentation-fault/110242 "2007-07-24T16:19:03Z")

</div>

Hi everyone, could anyone please enlighten me as to what ruby wants to tell me by "\[BUG\] Segmentation fault ruby 1.8.5 (2006-08-25) \[i486-linux\] Aborted(core dumped) " ? The script I am running is a textparser, th…

---

## [Using Ruby to generate AVR C-code](https://www.ruby-forum.com/t/using-ruby-to-generate-avr-c-code/110239)

<div class="topic-metadata">

**Author:** [@Christian\_WattengSS](https://www.ruby-forum.com/u/Christian_WattengSS)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 3:46pm UTC](https://www.ruby-forum.com/t/using-ruby-to-generate-avr-c-code/110239 "2007-07-24T15:46:52Z")

</div>

I found a message on the net, http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/65582 that talks about generating c-code and asm-code for AVR microcontrollers. However, this is the only I have ever seen of …

---

## [Inputting part of array into Excel](https://www.ruby-forum.com/t/inputting-part-of-array-into-excel/110226)

<div class="topic-metadata">

**Author:** [@qwerty](https://www.ruby-forum.com/u/qwerty)\
**Replies:** 2\
**Last updated:** [July 24, 2007, 3:30pm UTC](https://www.ruby-forum.com/t/inputting-part-of-array-into-excel/110226 "2007-07-24T15:30:10Z")

</div>

Newby Excel question I am trying to input data from a column, iterate through the column, do some tests and then output the results into an adjacent column. For example I have a basic script below, which reads in an a…

---

## [Large binary trees & stack level too deep](https://www.ruby-forum.com/t/large-binary-trees-stack-level-too-deep/110165)

<div class="topic-metadata">

**Author:** [@kennethkalmer](https://www.ruby-forum.com/u/kennethkalmer)\
**Replies:** 2\
**Last updated:** [July 24, 2007, 3:28pm UTC](https://www.ruby-forum.com/t/large-binary-trees-stack-level-too-deep/110165 "2007-07-24T15:28:20Z")

</div>

Hi All This is my first post to the list, although I’ve been an avid reader for over a year now. I’ll save everyone the usual Ruby is great and rocks my world (and thanks Matz) lines since it is self-explanatory. I’m…

---

## [Svn+http on RubyForge](https://www.ruby-forum.com/t/svn-http-on-rubyforge/110003)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 8\
**Last updated:** [July 24, 2007, 3:22pm UTC](https://www.ruby-forum.com/t/svn-http-on-rubyforge/110003 "2007-07-24T15:22:56Z")

</div>

Hi all - Just wanted to let folks know that RubyForge now supports svn+http for read-only access to the svn repositories. For example: ==================== $ svn checkout http://mongrel.rubyforge.org/svn/trunk/ mon…

---

## [Finding positions in a string](https://www.ruby-forum.com/t/finding-positions-in-a-string/110173)

<div class="topic-metadata">

**Author:** [@bwv549](https://www.ruby-forum.com/u/bwv549)\
**Replies:** 7\
**Last updated:** [July 24, 2007, 11:06am UTC](https://www.ruby-forum.com/t/finding-positions-in-a-string/110173 "2007-07-24T11:06:23Z")

</div>

I have a long string and I need to know the starting position of all substrings matching a particular sequence. Most importantly, it needs to be fast. Secondly, it would be nice if it was somewhat concise. Here’s th…

---

## [Telnet issue](https://www.ruby-forum.com/t/telnet-issue/110212)

<div class="topic-metadata">

**Author:** [@sirtyman](https://www.ruby-forum.com/u/sirtyman)\
**Replies:** 2\
**Last updated:** [July 24, 2007, 10:37am UTC](https://www.ruby-forum.com/t/telnet-issue/110212 "2007-07-24T10:37:30Z")

</div>

hi guys, I’ve got issue with following: ######################################################### begin t.cmd('String' =\> "echo -e '#{buffer}' \> #{data\['cfgwlan'\]}.tmp", ‘Timeout’ =\> 10, ‘Match’ =\> “#{data\[‘match’\]}…

---

## [Need help to compile: Ruby 1.9](https://www.ruby-forum.com/t/need-help-to-compile-ruby-1-9/110216)

<div class="topic-metadata">

**Author:** [@girishc](https://www.ruby-forum.com/u/girishc)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 10:02am UTC](https://www.ruby-forum.com/t/need-help-to-compile-ruby-1-9/110216 "2007-07-24T10:02:12Z")

</div>

Hello All, Please note that I am following up this issue for my friend who had posted a similar query couple of days ago. I apologize for posting the same query but I am kind of stuck with it and there is no place els…

---

## [\*.rubyforge.org sites disappearing from google?](https://www.ruby-forum.com/t/rubyforge-org-sites-disappearing-from-google/110203)

<div class="topic-metadata">

**Author:** [@Leonard\_C](https://www.ruby-forum.com/u/Leonard_C)\
**Replies:** 5\
**Last updated:** [July 24, 2007, 9:02am UTC](https://www.ruby-forum.com/t/rubyforge-org-sites-disappearing-from-google/110203 "2007-07-24T09:02:39Z")

</div>

Has anyone noticed that projects with homepages hosted on rubyforge have disappeared from the google index? When trying to google rspec, mongrel, mocha, fastercsv, their respective \*.rubyforge.org pages fail to appear…

---

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

<div class="topic-metadata">

**Author:** [@hyunsoo](https://www.ruby-forum.com/u/hyunsoo)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 8:47am UTC](https://www.ruby-forum.com/t/no-subject/110211 "2007-07-24T08:47:33Z")

</div>

unsubscribe

---

## [A = -(1) : warning: empty expression](https://www.ruby-forum.com/t/a-1-warning-empty-expression/110197)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 1\
**Last updated:** [July 24, 2007, 7:41am UTC](https://www.ruby-forum.com/t/a-1-warning-empty-expression/110197 "2007-07-24T07:41:38Z")

</div>

e$B0J2\<$N$h$&$K!"e(B-(1) e$B$Ge(B warning: empty expression e$B$H$J$j$^$9!#e(B % ./ruby -ve ‘a = -(1)’ ruby 1.9.0 (2007-07-23 patchlevel 0) \[i686-linux\] -e:1: warning: empty expression

---

## [Newbie Question: irb](https://www.ruby-forum.com/t/newbie-question-irb/110184)

<div class="topic-metadata">

**Author:** [@ghoti143](https://www.ruby-forum.com/u/ghoti143)\
**Replies:** 2\
**Last updated:** [July 24, 2007, 5:46am UTC](https://www.ruby-forum.com/t/newbie-question-irb/110184 "2007-07-24T05:46:02Z")

</div>

How can I access the previous result of an evaluation in the irb debugger. For example: 1 + 2 3 \<-- I want to access this result 5 + {some expression which is ‘3’} 8 ================= In lisp it would b…

---

## [ZenTest 3.6.1 Released](https://www.ruby-forum.com/t/zentest-3-6-1-released/110198)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 4:41am UTC](https://www.ruby-forum.com/t/zentest-3-6-1-released/110198 "2007-07-24T04:41:32Z")

</div>

ZenTest version 3.6.1 has been released! http://www.zenspider.com/ZSS/Products/ZenTest/ http://rubyforge.org/projects/zentest/ removed\_email\_address@domain.invalid ZenTest provides 4 different tools and 1 library: zen…

---

## [Variable Generation](https://www.ruby-forum.com/t/variable-generation/110176)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 5\
**Last updated:** [July 24, 2007, 4:19am UTC](https://www.ruby-forum.com/t/variable-generation/110176 "2007-07-24T04:19:12Z")

</div>

yes, I mean spontaneously generated variables. Assume we have an array: array = %w(yea cool awesome stuff) Now, I’m looking to make a variable corresponding to the item. so that: yea = “yea” cool = “cool” awesome =…

---

## [Hoe 1.2.2 Released](https://www.ruby-forum.com/t/hoe-1-2-2-released/110195)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 4:08am UTC](https://www.ruby-forum.com/t/hoe-1-2-2-released/110195 "2007-07-24T04:08:34Z")

</div>

hoe version 1.2.2 has been released! http://rubyforge.org/projects/seattlerb/ http://seattlerb.rubyforge.org/hoe/ removed\_email\_address@domain.invalid DESCRIPTION: Hoe is a simple rake/rubygems helper for project Rak…

---

## [Singapore.rb meeting for July 2007](https://www.ruby-forum.com/t/singapore-rb-meeting-for-july-2007/110193)

<div class="topic-metadata">

**Author:** [@Douglas\_T](https://www.ruby-forum.com/u/Douglas_T)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 4:04am UTC](https://www.ruby-forum.com/t/singapore-rb-meeting-for-july-2007/110193 "2007-07-24T04:04:20Z")

</div>

Hi Rubyists, Please take note of the details for the next singapore.rb meeting in July 2007. It will be held on the 26th of July at the Geylang East Community Library. We will be using the Aljunied and Serai rooms on …

---

## [Rubyforge 0.4.3 Released](https://www.ruby-forum.com/t/rubyforge-0-4-3-released/110192)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [July 24, 2007, 3:08am UTC](https://www.ruby-forum.com/t/rubyforge-0-4-3-released/110192 "2007-07-24T03:08:58Z")

</div>

rubyforge version 0.4.3 has been released! http://rubyforge.org/projects/codeforpeople A script which automates a limited set of rubyforge operations. Run ‘rubyforge help’ for complete usage. Setup: For first time u…

---

## [Syntax bug, in 1.8.5? return not (some expr) \<-- syntax err](https://www.ruby-forum.com/t/syntax-bug-in-1-8-5-return-not-some-expr-syntax-err/110062)

<div class="topic-metadata">

**Author:** [@Good\_Night\_M](https://www.ruby-forum.com/u/Good_Night_M)\
**Replies:** 5\
**Last updated:** [July 24, 2007, 12:37am UTC](https://www.ruby-forum.com/t/syntax-bug-in-1-8-5-return-not-some-expr-syntax-err/110062 "2007-07-24T00:37:44Z")

</div>

Well, it’s all in the subject, to me it looks like a parsing bug: class MyRect def intersects\_good(other) return (not ((other.x1 \< self.x0 or self.x1 \< other.x0) and (other.y1 \< self.y0 or self.y1 \< other.y0))) end …

---

## [Corrupt image Error with RMagick, was: Validating an Image f](https://www.ruby-forum.com/t/corrupt-image-error-with-rmagick-was-validating-an-image-f/110182)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 1\
**Last updated:** [July 24, 2007, 12:31am UTC](https://www.ruby-forum.com/t/corrupt-image-error-with-rmagick-was-validating-an-image-f/110182 "2007-07-24T00:31:22Z")

</div>

On Jul 18, 2007, at 7:28 PM, Tim H. wrote: in clear examples I’ll see what I can do to fix it. You can always open a documentation bug in the RMagick bug tracker on RubyForge. – RMagick OS X Installer \[http://rubyfo…

---

## [Watir checker being run twice?](https://www.ruby-forum.com/t/watir-checker-being-run-twice/110141)

<div class="topic-metadata">

**Author:** [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Replies:** 10\
**Last updated:** [July 23, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/watir-checker-being-run-twice/110141 "2007-07-23T23:04:26Z")

</div>

Hey all. Short version: the Proc I pass to Watir’s add\_checker is run twice on each page load Long version: I’m trying to get decent logging out of my watir scripts, without an insane amount of extra code. I settle…

---

## [MiniExiftool 0.4.0 released](https://www.ruby-forum.com/t/miniexiftool-0-4-0-released/110171)

<div class="topic-metadata">

**Author:** [@janfoeh](https://www.ruby-forum.com/u/janfoeh)\
**Replies:** 0\
**Last updated:** [July 23, 2007, 10:43pm UTC](https://www.ruby-forum.com/t/miniexiftool-0-4-0-released/110171 "2007-07-23T22:43:10Z")

</div>

MiniExiftool version 0.4.0 released! http://miniexiftool.rubyforge.org/ MiniExiftool is a wrapper library for the Exiftool command-line application (www.sno.phy.queensu.ca/~phil/exiftool/) written by Phil Harvay. One…

---

## ["require" in unit test not returning true or false](https://www.ruby-forum.com/t/require-in-unit-test-not-returning-true-or-false/110080)

<div class="topic-metadata">

**Author:** [@Jesper\_RSSSSnn-Jens](https://www.ruby-forum.com/u/Jesper_RSSSSnn-Jens)\
**Replies:** 5\
**Last updated:** [July 23, 2007, 10:43pm UTC](https://www.ruby-forum.com/t/require-in-unit-test-not-returning-true-or-false/110080 "2007-07-23T22:43:10Z")

</div>

I have a test file in my project to test dependencies to ruby gems, arranged like this: class DependenciesTest \< Test::Unit::TestCase def test\_hpricot\_should\_exist actual = require ‘hpricot’ assert\_equal(true, actua…

---

## [MiniExiftool 0.4.0 released](https://www.ruby-forum.com/t/miniexiftool-0-4-0-released/110168)

<div class="topic-metadata">

**Author:** [@janfoeh](https://www.ruby-forum.com/u/janfoeh)\
**Replies:** 0\
**Last updated:** [July 23, 2007, 10:16pm UTC](https://www.ruby-forum.com/t/miniexiftool-0-4-0-released/110168 "2007-07-23T22:16:31Z")

</div>

MiniExiftool version 0.3.0 released! http://miniexiftool.rubyforge.org/ MiniExiftool is a wrapper library for the Exiftool command-line application (www.sno.phy.queensu.ca/~phil/exiftool/) written by Phil Harvay. One…

---

## [Is\_ruby\_native\_thread()](https://www.ruby-forum.com/t/is-ruby-native-thread/108858)

<div class="topic-metadata">

**Author:** [@Masahiro\_SSSSSBSr0](https://www.ruby-forum.com/u/Masahiro_SSSSSBSr0)\
**Replies:** 15\
**Last updated:** [July 23, 2007, 10:14pm UTC](https://www.ruby-forum.com/t/is-ruby-native-thread/108858 "2007-07-23T22:14:21Z")

</div>

e$B\<r0f$G$9!#e(B 1.8 e$B$Ne(B is\_ruby\_native\_thread() e$B$O8=:$N%M%$%F%#%V%9%l%C%I$,e(B Rubye$B$N%M%$%F%#%V%9%l%C%I$G$"$k$+H\]$+$rJV$7$F$$$^$7$?$,!"e(B 1.9 e$B$G$O8=:$N%M%$%F%#%V%9%l%C%I$K$h$i$:\>o$Ke(BQtruee$B$rJV$7$F…

---

## [Overriding delegated methods](https://www.ruby-forum.com/t/overriding-delegated-methods/110042)

<div class="topic-metadata">

**Author:** [@mindtriggerz](https://www.ruby-forum.com/u/mindtriggerz)\
**Replies:** 5\
**Last updated:** [July 23, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/overriding-delegated-methods/110042 "2007-07-23T22:04:39Z")

</div>

I’m trying to use SimpleDelegator, but am having a problem overring a method. Here’s a boiled-down version: $ cat delegator\_test.rb #!/usr/bin/env ruby require ‘delegate’ class A def foo bar() #self.bar() end d…

---

## [List tests with test/unit](https://www.ruby-forum.com/t/list-tests-with-test-unit/110160)

<div class="topic-metadata">

**Author:** [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Replies:** 1\
**Last updated:** [July 23, 2007, 9:54pm UTC](https://www.ruby-forum.com/t/list-tests-with-test-unit/110160 "2007-07-23T21:54:03Z")

</div>

Test::Unit is quite useful. I have a test class TC\_BasicAcceptanceTest with the following tests: test\_001\_firstTest test\_002\_secondTest test\_003\_thirdTest … You get the picture. Now, the ruby bat.rb -n is really…

---

## [HTTP.get returns String?](https://www.ruby-forum.com/t/http-get-returns-string/110154)

<div class="topic-metadata">

**Author:** [@Hal\_F](https://www.ruby-forum.com/u/Hal_F)\
**Replies:** 1\
**Last updated:** [July 23, 2007, 9:13pm UTC](https://www.ruby-forum.com/t/http-get-returns-string/110154 "2007-07-23T21:13:32Z")

</div>

This is returning a String for me – I thought it returned an HTTPResponse object? This is ruby 1.8.6 (2007-03-13 patchlevel 0) \[x86\_64-linux\] Thanks, Hal

---

## [+:x doesn't raise exception](https://www.ruby-forum.com/t/x-doesnt-raise-exception/109866)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 3\
**Last updated:** [July 23, 2007, 7:57pm UTC](https://www.ruby-forum.com/t/x-doesnt-raise-exception/109866 "2007-07-23T19:57:12Z")

</div>

e$B1sF#$H?=$7$^$9!#e(B Symbol#+@ e$B$de(B Regexp#+@ e$B$,$J$$$N$K0J2\<$,Nc30$K$J$i$J$$$N$Oe(B e$B;EMM$G$7$g$&$+!#e(B $ ./ruby -ve ‘p(+:x)’ ruby 1.8.6 (2007-07-19 patchlevel 5000) \[i686-linux\] :x $ ./ruby -ve ‘p(+//)…

---

## [Using expect.rb to change a user's password in UNIX](https://www.ruby-forum.com/t/using-expect-rb-to-change-a-users-password-in-unix/110095)

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 4\
**Last updated:** [July 23, 2007, 7:09pm UTC](https://www.ruby-forum.com/t/using-expect-rb-to-change-a-users-password-in-unix/110095 "2007-07-23T19:09:08Z")

</div>

Hello World, Today, I used a Korn Shell script and the UNIX version of expect to change a user password remotely. I would like to use the ruby.rb library to do the same. For instance, when you type, in UNIX, passwd…

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

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